Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8399955
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T21:26:29+00:00 2026-06-09T21:26:29+00:00

This article describes how to run a standard report to display recent DDL changes.

  • 0

This article describes how to run a standard report to display recent DDL changes.

If the data is captured, it’s probably in a table somewhere. I would like to Trace this location so I can construct my own reports.

Is this possible?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T21:26:30+00:00Added an answer on June 9, 2026 at 9:26 pm

    Option #1

    select * FROM sys.traces where is_default = 1 ;
    

    This query contains path column. Copy the path of your trace file and now use the below query

    SELECT * FROM fn_trace_gettable('Path Column value from sys.traces', default)
    

    Which Table(Object) is modified and Who Modified ?

    select ObjectName, LoginName 
    from ::fn_trace_gettable( 'Path Column value from sys.traces', default)
    where EventClass in (46,47,164) and EventSubclass = 0  
                                    and DatabaseID = db_id() ;             
    
    
    select ObjectName,       
    ObjectID,       
    DatabaseName,       
    StartTime,       
    EventClass,       
    EventSubClass,       
    ObjectType,       
    ServerName,       
    LoginName,       
    NTUserName,       
    ApplicationName  
    from ::fn_trace_gettable( 'Trace File Path', default )            
    where EventClass in (46,47,164) and EventSubclass = 0  and DatabaseID = db_id();
    

    Option #2

    SQL Server – Auditing Schema Changes using DDL Triggers

    This approach will tell which column was added, or what command was used to add

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

According this article , generic JPA DAO(Data Access Object) is a pretty nice pattern.
I am looking into adding accessibility support to a WPF application. This article describes
I am looking into adding accessibility support to a WPF application. This article describes
This article describes an approach to OOP I find interesting: What if objects exist
This article describes a great pattern called 'Domain Events': http://www.udidahan.com/2009/06/14/domain-events-salvation/ One major flaw with
This article describes how to view memory allocation stacktrace in Java VisualVM: http://rejeev.blogspot.de/2009/04/analyzing-memory-leak-in-java.html In
This article describes selecting it for .NET 3.5 under VS2008. How does one select
I just read this article on tdwtf.com . Generally, it describes an archiving bot
This article describes a way, in C#, to allow the addition of arbitrary value
The bottom of this article describes how using GetOrAdd may cause (if I understand

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.