Audit Script

  • Im new at sql...

    We have a sql server 2000. SQL Profiler is not running on this server.

    I need to info on/audit all scripts that were run (successfull or not) that was run for last month (august 2010)on all databases... Somebody/Anybody please assist.

  • imraanm (9/23/2010)


    Im new at sql...

    We have a sql server 2000. SQL Profiler is not running on this server.

    I need to info on/audit all scripts that were run (successfull or not) that was run for last month (august 2010)on all databases... Somebody/Anybody please assist.

    What were in that script which you have run last month(Aug 2010).

    If you have run any sps,table,view,trigger etc.. script you can use the following query to get

    Select * from sysobjects where month(crdate)=8 and YEAR(crdate)=2010

    If you have inserted any datas in the tables it is not possible unless you have datetime column in the table you inserted.

    Thanks

    Parthi

    Thanks
    Parthi

  • Parthi hi,

    THank you for the reply. I have tried the script, and still not luck. Doesn't display the desired info.

    Perhaps if you have a script to audit all the log_in to that database for August 2010, from there i can maybe 'dig' for more data?

  • imraanm (9/27/2010)


    Parthi hi,

    THank you for the reply. I have tried the script, and still not luck. Doesn't display the desired info.

    Perhaps if you have a script to audit all the log_in to that database for August 2010, from there i can maybe 'dig' for more data?

    Doesn't display the desired info. What is the desire info ?

    What do u need actually briefly explain.

    I think u have to use 3rd party tool like Red Gate to know what datas are begin inserted in the DB.

    Thanks
    Parthi

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply