![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi ALL, When i am passing global parameters for sql query (subquery) in Transform Data Task getting error For Example : SELECT * FROM (SELECT * FROM Txn WHERE Dt_Changed_Date > ? AND Txn.ParentTxnID IS NULL ) as T Error Source : Microsoft OLEDB Provider for Sql Server Error Description : Syntax error or access violation If i replace '?' with hardcoded value it works fine, but i need to pass dynamic value which stored in Global parameter. Many thanks to all in advance... Soma |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Did you add the parameter by clicking on the Parameters button on the source tab?? http://sqlservercode.blogspot.com/ "Soma" wrote: Hi ALL, When i am passing global parameters for sql query (subquery) in Transform Data Task getting error For Example : SELECT * FROM (SELECT * FROM Txn WHERE Dt_Changed_Date > ? AND Txn.ParentTxnID IS NULL ) as T Error Source : Microsoft OLEDB Provider for Sql Server Error Description : Syntax error or access violation If i replace '?' with hardcoded value it works fine, but i need to pass dynamic value which stored in Global parameter. Many thanks to all in advance... Soma |
![]() |
| Thread Tools | |
| Display Modes | |
| |