|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Tuesday, April 23, 2013 10:13 AM
Points: 58,
Visits: 71
|
|
| Can the same thing be accomplished in Microsoft Access?
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Wednesday, May 08, 2013 6:36 PM
Points: 221,
Visits: 273
|
|
nice script...i just added it to my DBA dashboard ...i already had another but this is better
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Friday, May 03, 2013 10:15 AM
Points: 241,
Visits: 523
|
|
| How could we modify the code to include the growth of the log file?
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Wednesday, February 20, 2013 4:14 AM
Points: 198,
Visits: 588
|
|
In the interim you could:
select BackupDate = convert(varchar(10),backup_start_date, 111), SizeInGigs= CAST(round(backup_size/1073741824,4) AS decimal(18,4)), backup_size AS [Raw backup_size], CASE TYPE WHEN 'D' THEN 'Full' WHEN 'F' THEN 'Filegroup' WHEN 'I' THEN 'Differential' WHEN 'L' THEN 'Log' ELSE 'Unknown' END AS Type from msdb..backupset where database_name = 'ROOMBOOKING' --and type = 'D' order by backup_start_date DESC
|
|
|
|