Is it possible to use T-SQL alone? Which queries would you write against system tables?
Use restore history in the restorehistory table msdb database.
Select from MAX (restore_date) msdb.dbo.restorehistory WHERE destination_database_name = 'SomeDB'
Comments
Post a Comment