Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

How to store multiple queries result in different variables in Execute SQL task

$
0
0

Hi All,

I have scenario like

I am running this query :

Select 1 as Flag1

Select 2 as Flag2

Select 3 as Flag3

I want to store these three outputs into three different variables. How to achieve that :

I can't do selection in one select that is just an example I have big queries in selection of flag.

Any suggestions

Thanks

Sumit


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>