Groups | Blog | Home
all groups > sql server (alternate) > august 2004 >

sql server (alternate) : SQL Server table changes log


s_laha NO[at]SPAM rediffmail.com
8/13/2004 5:27:48 AM
Hi,

How can I find out when a particular table structure (design) was last
modified?

I want to find out whether the creation and modification date of the
table are same, to find out if anyone has ran a DDL statement against
the table!

regards,

Simon Hayes
8/13/2004 6:39:06 PM

[quoted text, click to view]

MSSQL only stores the create date, not the modification date for objects, so
there's no real way to find this out (unless the object was dropped and
recreated, of course). If you have transaction log backups, you could use a
third-party tool to search in the log for changes:

http://www.lumigent.com/products/le_sql.html

If you want to monitor DDL statements in future, you could use a trace - see
sp_trace_create in Books Online.

Simon

AddThis Social Bookmark Button