Unix Technical Forum

Track changes made to SQL Server

This is a discussion on Track changes made to SQL Server within the SQL Server forums, part of the Microsoft SQL Server category; --> "Erland Sommarskog" <esquel@sommarskog.se> wrote in message news:Xns9A5EED43C918FYazorman@127.0.0.1... > John Sheppard (nospam@spamspam.com) writes: >> hmm, ok, I've found out about ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #21 (permalink)  
Old 03-17-2008, 07:12 AM
John Sheppard
 
Posts: n/a
Default Re: Track changes made to SQL Server


"Erland Sommarskog" <esquel@sommarskog.se> wrote in message
news:Xns9A5EED43C918FYazorman@127.0.0.1...
> John Sheppard (nospam@spamspam.com) writes:
>> hmm, ok, I've found out about DDL triggers. These are the go...much
>> easier
>> than profiler...

>
> True, you could set them up and siphon off everything into a table,
> and you don't have to damn yourself for not running profiler.
>
> I don't remember on the top of my head if the XML returned by the
> eventdata() function includes the statement that fired the trigger,
> but if it does, it's a walk in the park.
>
> Still, keep in mind that you must have a reference database so that
> you can test the script however you compose it!
>
> --
> Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
>
> Books Online for SQL Server 2005 at
> http://www.microsoft.com/technet/pro...ads/books.mspx
> Books Online for SQL Server 2000 at
> http://www.microsoft.com/sql/prodinf...ons/books.mspx


They do...I just have to figure out which events to put on the trigger and I
think its all good to go..

Thanks heaps for all your help man...
Much appreciated
John

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:04 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com