Its not a Holty original, a colleague of mine came up with it recently but its a hero when you need it.USE MSDB;SELECT destination_database_name as DBRestored ,restore_date as RestoreDate ,b.database_name as SourceDB ,physical_name as SourceFile ,backup_start_date as BackupDate ,h.user_name as RestoredByFROM RestoreHistory h with (nolock)INNER JOIN BackupSet b with (nolock) on h.backup_set_id = b.backup_set_idINNER JOIN BackupFile f with (nolock)on f.backup_set_id = b.backup_set_idORDER BY DBRestored ASC,RestoreDate DESCGO
---------------------------------------------------------------------------------http://www.mannyroadend.co.uk The official unofficial website of Bury Football Clubhttp://www.hollowtreewebdesign.co.uk - a web design company in its infancy