x
login about faq Site discussion (meta-askssc)

SQL 2000 audit SP, VIEWS and Functions

Hi!

I was looking for some script or something to do an audition of all SPs, VIEWs and Functions in a DB in SQL 2000. (UPDATE, DELETE, INSERT -> USER, HOSTNAME, DATE, TIME) I know that for the tables we can use some triggers but i couldn't find some information for the other objects.

Do you know how can I audit this objects? I need it really asap.

Thanks a lot for your answer's!!!

Regards,

Maripili

more ▼

asked Apr 15 '12 at 06:42 PM in Default

Maripili gravatar image

Maripili
394 15 30 35

(comments are locked)
10|1200 characters needed characters left

1 answer: sort newest

For that I guess you have two choices. C2-level Auditing and Server side Traces. I would prefer Server side traces because you can choose exactly which events to audit and what information about each event to record. But there are some important considerations to keep in mind for both. I would recommend this article from Technet to help your cause according to your environment and needs.

more ▼

answered Apr 16 '12 at 07:36 AM

Usman Butt gravatar image

Usman Butt
13.8k 6 8 14

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x454
x33

asked: Apr 15 '12 at 06:42 PM

Seen: 432 times

Last Updated: Apr 16 '12 at 07:36 AM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.