Copy Code --Replace DatabaseName below with the name of the database you want to check. USE MSDB SELECT TOP 1 * FROM RESTOREHISTORY WITH (nolock) WHERE (DESTINATION_DATABASE_NAME = 'DatabaseName') ORDER BY RESTORE_DATE DESC