I'm trying to get the variable as a parameter in my SQL
command in ODBC
source.
I've created the query in expression but how do I create the query in ODBC
SQL Command Section.
I'm trying to get the variable as a parameter in my SQL
command in ODBC
source.
I've created the query in expression but how do I create the query in ODBC
SQL Command Section.
The ODBC source SqlCommand can be set with an expression at the data flow level:
[ODBC Source].[SqlCommand]
Click on the ... in the Expression column and add an expression like:
"SELECT * FROM MyTable WHERE id = " + @[User::MyVariable]