wppiexperts
asked on
SSIS: Using variable in OLE DB SQL command text
Is there a way to reference a variable as part of the SQL command text in the OLE DB source editor?
For example if I have a variable defined as myVar::
SELECT myVar, Account, CustName from Customers
resulting in output of:
RESIDENTIAL, 100, Steve
RESIDENTIAL, 200, Jim
etc.
For example if I have a variable defined as myVar::
SELECT myVar, Account, CustName from Customers
resulting in output of:
RESIDENTIAL, 100, Steve
RESIDENTIAL, 200, Jim
etc.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yes you reference it using the source component after selecting the "SQL Command from variable" drop down.
ASKER