Global variables to Data transformation task

  • I am writing a script task in SSIS then i am assigning the result to a global variables or package level variable in SSIS . Now i want to assign Package level variable i.e SQL commant to a OLEDB source of data transformation task . How to do it? Please help me out.

  • Assuming that the number of columns and column names will always be the same...

    Set up the data transformation with a sql command with a static version of your query.

    Change the OLEDB connection to use SQL Command from variable. Pick your variable,

    Norman

    DTS Package Search

    http://www.dtspackagesearch.com/

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply