Count number of trans log backups and find out hanging jobs

  • Guys,

    How can I find out "automatically" [i.e. via a query] how many times a transaction log was backed up for a specific database within the last 24 hours?

    Also, how can I find out which jobs are hanging?

    Thank you!

  • SELECT * FROM msdb.dbo.[backupset] WHERE database_name = 'databasename' AND TYPE = 'l'

  • Thanks a lot for the information!

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply