|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Monday, June 25, 2007 3:29 AM
Points: 1,
Visits: 1
|
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Wednesday, May 15, 2013 1:18 PM
Points: 10,
Visits: 664
|
|
As the stored procedure is written, only backup sets with names are returned.
To return data for all databases except tempdb, the WHERE clause should be:
WHERE k.database_name <> 'tempdb'
Also, the @Days parameter isn't used in the stored procedure as posted. @Days can be eliminated from the script.
|
|
|
|