Output multiple datasets from one INVOKE-SQLCMD command

A common question that I've seen online is how do I return multiple sql datasets from a single query using INVOKE-SQLCMD. Most of the answers out there say it is not possible, but it is in fact possible by using the OutputAs dataset parameter. This parameter outputs a dataset that has all of the information […]

2020-04-24 (first published: )

643 reads

Blogs

Daily Coping 27 Nov 2020

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

Daily Coping 26 Nov 2020

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

Azure SQL Database – Greatest and Least TSQL

By

Being in the cloud does have many benefits, from lower administration to fast scaling...

Read the latest Blogs

Forums

Tlog migration

By Shree23

Hi Expert, In tlog migration, from 1 server to another where there is no...

RegisterAllProvidersIP = 0 and timeout in failover

By abdalah.mehdoini

Good morning all , I have an alwayson instance with a multisubnet listener I...

Tempdb increasing crazily

By 892717952

These days, the Tempdb of my one's SQL server increases crazily, sometimes only abount...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers