How can we help you today? How can we help you today?

How to get this kind of information programmatically?

When I hover my mouse over a sqb file, I can get some information. See the following image:

zhDlRCe.png

How can I get this kind of information programmatically?

Thanks!
ogrishman
0

Comments

1 comment

  • petey
    You can get most of the details using this:
    EXEC master..sqlbackup '-sql "RESTORE SQBHEADERONLY FROM DISK = [<your backup file name>]"'
    
    petey
    0

Add comment

Please sign in to leave a comment.