dbTalk Databases Forums  

who changed my table ?

microsoft.public.sqlserver.server microsoft.public.sqlserver.server


Discuss who changed my table ? in the microsoft.public.sqlserver.server forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dog is love
 
Posts: n/a

Default who changed my table ? - 10-20-2011 , 02:13 AM






....is there an easy way to see this in the database or do I need to
set up some kind of auditing mechanism ?

Reply With Quote
  #2  
Old   
Hugo Kornelis
 
Posts: n/a

Default Re: who changed my table ? - 10-20-2011 , 03:02 AM






On Thu, 20 Oct 2011 00:13:01 -0700 (PDT), Dog is love
<michaelnewportyahoo.com (AT) gmail (DOT) com> wrote:

Quote:
...is there an easy way to see this in the database or do I need to
set up some kind of auditing mechanism ?
You'll need to set up auditing.
--
Hugo Kornelis, SQL Server MVP
My SQL Server blog: http://sqlblog.com/blogs/hugo_kornelis

Reply With Quote
  #3  
Old   
Dog is love
 
Posts: n/a

Default Re: who changed my table ? - 10-20-2011 , 06:53 AM



On 20 Okt., 10:02, Hugo Kornelis
<h... (AT) perFact (DOT) REMOVETHIS.info.INVALID> wrote:
Quote:
On Thu, 20 Oct 2011 00:13:01 -0700 (PDT), Dog is love

michaelnewportyahoo.... (AT) gmail (DOT) com> wrote:
...is there an easy way to see this in the database or do I need to
set up some kind of auditing mechanism ?

You'll need to set up auditing.
--
Hugo Kornelis, SQL Server MVP
My SQL Server blog:http://sqlblog.com/blogs/hugo_kornelis
thanks

Reply With Quote
  #4  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: who changed my table ? - 10-20-2011 , 04:21 PM



Dog is love (michaelnewportyahoo.com (AT) gmail (DOT) com) writes:
Quote:
....is there an easy way to see this in the database or do I need to
set up some kind of auditing mechanism ?
There is nothing built in. The auditing mechanism that comes closest at
hand in this case is a DDL trigger.
--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.