March 11, 2009 at 5:31 am
Hi,
How to capture ddl changes in sql server 2000.
Regards,
Priya
March 11, 2009 at 6:37 am
Profiler or a server-side trace.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 11, 2009 at 6:52 am
Hi,
I need to stroe all the ddl changes in a table(need to capture who has done the changes and when).
I can do this in sql 2005 using ddl triggers. Is that anything similar to that in sql 2000?
Regards,
Priya
March 11, 2009 at 7:07 am
definately use some of the log trolling tools out there...i think RedGates SQL Log Rescue for SQL 2000 is/was free, so something like that or profiler are your best bets.
i hesitate to say it, because you could seriously pork your system, but it's possible to put a trigger on the tables in the master database(sysobjects,sysdatabases,syscolumns, etc). I did it on a dev server to prove it could be done....If your trigger fails because it was written poorly, oir for any other reason(permissions, etc), well...i'd guess you'd have to rebuild master.
that's mostly for info purpsoes, stick with the suggested solutions.
Lowell
March 23, 2009 at 4:24 am
Hi Gail,
Server Side Trace in Sql server 2000 has not captured the objects which is created. Am i missing something 🙁 ?
Regards,
Priya
March 23, 2009 at 5:39 am
Sathiya priya (3/23/2009)
Server Side Trace in Sql server 2000 has not captured the objects which is created. Am i missing something 🙁 ?
What events are you tracing, what filters do you have defined and what objects were created that didn't appear in the trace?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 25, 2009 at 5:53 am
Hi Gail,
I am trying to capture Create / alter / drop for tables. Trace is capturing the data for alter and drop. But when i try to create the table it doesnt. There is no filter condition.
Regs,
Priya
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply