Use the SINGLERESULTSET option e.g.
Code: |
CREATE TABLE #sqb (DATA NVARCHAR(4000)) INSERT INTO #sqb EXECUTE master..sqlbackup '-sql "BACKUP DATABASE pubs TO DISK = [<AUTO>] WITH SINGLERESULTSET"' |