dbTalk Databases Forums  

How to find out when a database was last updated

microsoft.public.sqlserver.server microsoft.public.sqlserver.server


Discuss How to find out when a database was last updated in the microsoft.public.sqlserver.server forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Me
 
Posts: n/a

Default How to find out when a database was last updated - 12-07-2005 , 05:10 PM






I want to find out when a database was last updated.

I checked in IE, it shows the creation time and the time last backup was
taken.

I looked at the timestamp of the database, that doesn't seem to reflect the
correct date and time, in my case it is showing the date of 12/4/2005 11:00am
whereas I know for sure that the database is being updated since after that.

That was the time I took last backup of this database.

Thank you in advance,
-Me


Reply With Quote
  #2  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: How to find out when a database was last updated - 12-07-2005 , 06:28 PM






Unless you have a trace running you can't. Trace is your best bet to see
if and when a db is being accessed. You can also potentially use some of
the third party Log viewer tools.

--
Andrew J. Kelly SQL MVP


"Me" <Me (AT) discussions (DOT) microsoft.com> wrote

Quote:
I want to find out when a database was last updated.

I checked in IE, it shows the creation time and the time last backup was
taken.

I looked at the timestamp of the database, that doesn't seem to reflect
the
correct date and time, in my case it is showing the date of 12/4/2005
11:00am
whereas I know for sure that the database is being updated since after
that.

That was the time I took last backup of this database.

Thank you in advance,
-Me




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.