SSIS Variable Value as SELECT Statement

  • I have a STRING variable with the value set as: "select x from tableA"

    I have a OLE DB Provider connection with the Data Access Mode set as SQL Command. That command looks similar to this:

    SELECT * FROM tableB

    WHERE tableB.Name IN (?)

    The parameter is then set to the string variable.

    For some reason, this doesn't seem to be working correctly as I am not pulling in any records.

    Am I writing the SELECT statement variable correctly?

    _______________________________
    [font="Tahoma"]Jody Claggett
    SQL Server Reporting Analyst
    [/font][/size]

  • Jody,

    Have you checked this thread?

    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2985964&SiteID=1

    ---
    SSIS Tasks Components Scripts Services | http://www.cozyroc.com/

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

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