Quantcast
Channel: Red Gate forums: SQL Backup 7
Viewing all articles
Browse latest Browse all 713

RE: Capturing the SQL Backup message output

$
0
0
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"'

Viewing all articles
Browse latest Browse all 713

Trending Articles