Viewing post 1 (of 1 total)
DECLARE @dbname sysname, @days int
SET @dbname = NULL --substitute for whatever database name you want
SET @days = -30 --previous number of days, script will default to 30
SELECT
rsh.destination_database_name AS [Database],
...
August 10, 2012 at 4:39 am
#1524313