May 19, 2011 at 3:53 am
Hi,
My manager asked me to track the Backend db correction
Ho to track the changes in the Db
example
suppose if i did not go to the office for 2 days
our developer team made changes & applied to Production Db on that days
How DBA will track the changes or audit .
Please reply
Thanks in advance
May 19, 2011 at 4:07 am
Look the default trace in BOL you may get an idea.
Note : It not has each and every changes.
Muthukkumaran Kaliyamoorthy
https://www.sqlserverblogforum.com/
May 19, 2011 at 4:13 am
You could set up a server side trace to log the information you want.
May 19, 2011 at 6:40 am
what if you are in the office those two days?
do you have anything in place to track it when you ARE there?
(Is you making changes to the database behind my back, Bobby Bouche?)
you still need to review the default trace, or set up a larger trace to track changesespecially if you need to tracl DML or login info, as previously suggested.
Lowell
May 20, 2011 at 6:46 am
jamessdba (5/19/2011)
Hi,My manager asked me to track the Backend db correction
Ho to track the changes in the Db
example
suppose if i did not go to the office for 2 days
our developer team made changes & applied to Production Db on that days
How DBA will track the changes or audit .
Please reply
Thanks in advance
1) WHY are you allowing your developer team access to your production db?? THAT is your first and biggest mistake here. If they don't have access you won't NEED to track those changes.
2) You can use DDL triggers to audit object creation, drop, alters.
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
May 20, 2011 at 9:55 am
Check EVENT DATA
http://msdn.microsoft.com/en-us/library/ms173781(v=SQL.90).aspx
http://msdn.microsoft.com/en-us/library/ms187909(v=SQL.90).aspx
Check DDL trigger
http://msdn.microsoft.com/en-us/library/ms190989(v=SQL.90).aspx
Regards,
Syed Jahanzaib Bin Hassan
BSCS | MCTS | MCITP | OCA | OCP | OCE | SCJP | IBMCDBA
My Blog
www.aureus-salah.com
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply