Quantcast
Viewing all articles
Browse latest Browse all 24688

Dynamic Query in OLEDB source

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,Image may be NSFW.
Clik here to view.

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>