Re: Is there a way to tell what file a database was restored from?
- From: Ekrem Önsoy <ekrem@xxxxxxxxxxxx>
- Date: Wed, 14 May 2008 11:00:19 +0300
Hello Michael,
Try this query:
select destination_database_name, destination_phys_name from restorehistory
inner join restorefile
on restorehistory.restore_history_id = restorefile.restore_history_id
I wrote it like that, however you can obtain other information about the restores if you "select * from restorehistory" table
--
Ekrem Önsoy
"Michael Howes" <Michael.Howes@xxxxxxxxxxx> wrote in message news:uILTrYTtIHA.1768@xxxxxxxxxxxxxxxxxxxxxxx
If I'm looking at a database in SQL Server 2005 is there a way to find out the file name of the file the person restored the database from?
thanks
mike
.
- References:
- Is there a way to tell what file a database was restored from?
- From: Michael Howes
- Is there a way to tell what file a database was restored from?
- Prev by Date: Re: Install SQLS2k after SQLS2k5?
- Next by Date: Re: SQL Server Upgrade MSP Error: 29538 on KB934458 Upgrade
- Previous by thread: Is there a way to tell what file a database was restored from?
- Next by thread: Management Studio
- Index(es):