January 11, 2013 at 7:04 am
I want to setup an auduting system witout buying any 3rd party tools where in i am looking to get details about all databases in the server and last accessed date. Also i want to make sure any backup jobs that access the database for backing up the database should not be considered.
January 29, 2013 at 6:25 pm
If you need to do this, I would start by firing up profiler and picking the events you are interested in.
Run the trace in the gui and perform a few of actions you are monitoring for to see if they show up in the trace. You will have to stop the trace, change the properties of it and restart the trace to make sure you get all the information you are looking for. Then script out the trace as a SQL script. You will want to put the results to series of several files rolling over a file when it gets to big.
Create some procedure to start the trace and have the procedure run on start up.
RAR or zip the files up on a daily basis.
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply