CheckRestoreHistory.sql
SELECT TOP 10 *
FROM msdb.dbo.restorehistory
ORDER BY restore_date DESC
上記クエリではトップ10のみ確認していますが、全件表示も可能です。
「これいつのデータだっけ」なんて時にお使いください。
More than 5 years have passed since last update.
SELECT TOP 10 *
FROM msdb.dbo.restorehistory
ORDER BY restore_date DESC
上記クエリではトップ10のみ確認していますが、全件表示も可能です。
「これいつのデータだっけ」なんて時にお使いください。
Register as a new user and use Qiita more conveniently