Can this only be done using T-SQL? What query could you write against system tables?
Use the restore_date field in the restorehistory table in the msdb database.
MSDN - restorehistory
SELECT MAX(restore_date) FROM msdb.dbo.restorehistory WHERE destination_database_name = 'SomeDB'
Source: https://habr.com/ru/post/1755247/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1755242/delphi-2007-and-windows-7-debugger-fails-to-stop-host-application&usg=ALkJrhiyoxSwDzsmPTDN0bA0nurO4BoIdwHow to check if OleInitialize has already been called? - delphihttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1755244/are-there-any-advantages-to-using-the-vbnet-like-operator-vs-a-regex&usg=ALkJrhjr42lRUXDXsxWC-Bb6WwtIUPvJDACan I use a custom slider to manage a volume? - iosFacebook Connect & HTTP Cookies - How Can I Overcome This Race Condition - race-conditionConnect a QT application using C ++ to capture the text name of the application - c ++How to create a network on an 8-dimensional sphere - randomHow to start an application (TestComplete) as an administrator from the command line - powershellThe sum of the specific values โโof the culture in xslt - xmlhow to show sales summary in rdlc of four sql tables using sql - c #All Articles