I am trying to use a date populated in an ssis package inside of a query to pull from an oracle table.
My script will be a variable called in the ole db source so in this variable - called MyOraclePull I have this in the where clause that is throwing the error...
Where sls.SLS__DT between ' " + (DT_WSTR, 10) @[User::BegDt] + " ' and ' " + (DT_WSTR, 10) @[User::EndDt] + " '
I believe that the dates are causing syntactical errors which prevent successful progress when the expression is evaluated. I also think the WSTR needs to be cast in oracle with a TO_DATE...... YYYY-MM-DD
I am currently getting a truncation error message when trynigto evaluate in the expression builder
Please assist!!!
↧