Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 How to Identify a Restored Databas?

Author  Topic 

Aiby
Yak Posting Veteran

71 Posts

Posted - 2010-08-25 : 17:12:52
Is there any way to identify the whether a Database is restored by any user ?

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2010-08-25 : 17:19:04
[code]
SELECT restore_date, user_name
FROM msdb.dbo.restorehistory
WHERE destination_database_name = 'DATABASE NAME HERE'[/code]
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2010-08-26 : 05:43:55
I expect Russell's is fine, but if you need it there is a more detailed query here:

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=54300#268882
Go to Top of Page
   

- Advertisement -