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

Dynamic Query in OLEDB source

$
0
0

Hi,

First im gonna explain what i am trying to do.

I have stored procedure to get database information and store it in a table. As i need to collect all server information implementing SSIS package to read all instance info. In the procedure i have dynamic query(in @command variable) and i have 'exec sp_MSForEachDb @Command'.

I dont know how to implement this in SSIS. I created variable (evaluate expression as true and gave query into expression). I tried to use that variable in OLEDB source,

how to achieve this?

thank you

 


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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