x

How to find when was a database last time accessed in sql 2000?

Hi,
Is there a way to find when was a database last time accessed/used in sql 2000?
and by whom?

Thanks
more ▼

asked Nov 17 '11 at 07:43 AM in Default

srivivek gravatar image

srivivek
519 39 42 43

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

1 answer: sort voted first
Accessed? Nope. No easy way. Unless you already have an events trace set up, or you're logging logins to the server, there's no real way to know that out of the box. Same applies to 2005, 2008, 2008R2 & 2012. You have to set up specific auditing/monitoring to know that.
more ▼

answered Nov 17 '11 at 08:18 AM

Grant Fritchey gravatar image

Grant Fritchey ♦♦
91k 19 21 74

(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.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

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

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x235
x28
x1
x1

asked: Nov 17 '11 at 07:43 AM

Seen: 1419 times

Last Updated: Nov 17 '11 at 07:43 AM