查询备份日期和备份设备名,用于检查某日的备份是否执行。
SELECT b.backup_finish_date,a.physical_device_name FROM dbo.backupmediafamily a INNER JOIN dbo.backupset b ON a.media_set_id=b.media_set_id ORDER BY 1;
原文地址:http://blog.51cto.com/ultrasql/2070108
时间: 2024-10-11 06:53:15
查询备份日期和备份设备名,用于检查某日的备份是否执行。
SELECT b.backup_finish_date,a.physical_device_name FROM dbo.backupmediafamily a INNER JOIN dbo.backupset b ON a.media_set_id=b.media_set_id ORDER BY 1;
原文地址:http://blog.51cto.com/ultrasql/2070108