Comments
Sort by recent activity
That command does the same thing: exec master..sqlbackup '-sql "RESTORE HEADERONLY FROM DISK = [file.sqb]"'
It still returns two record sets vs the tsql command which returns one table with one row.
SQL Backup v5.0.0.2770
Reading file header of "\\amedwsapgr04\BITS\OPMPAC\OPMReporting\FULL_SQL2005_OPMReporting_20070501_221757.sqb"
Backup name : Database (OPMReporting), 5/1/2007 10:17:57 PM
name value
exitcode 0
sqlerrorcode 0
filename001 \\amedwsapgr04\BITS\OPMPAC\OPMReporting\FULL_SQL2005_OPMReporting_20070501_221757.sqb / comments
That command does the same thing:exec master..sqlbackup '-sql "RESTORE HEADERONLY FROM DISK = [file.sqb]"'
It still returns two record sets vs the tsql command which returns one table with one row...