Q&A for cartographers, geographers and GIS professionals
select min(create_date) [earliest date (UTC)] , max(create_date) [latest date (UTC)] , getdate() [query did run on (UTC)] , coalesce((select name from sys.databases where name like '%_Temp'), 'None') [Currently restoring] from sys.databases where database_id > 5