I am using SQL 2005 and am in SSIS.
I have a SQL Dataflow task that has a SQL statement as follows:
Select TRACCT,TRATYP,TRDATE,TRDAT6,AMT,SERIAL, TRANCD,DORC ,ATMCOD
From DATMCC.DDHist
Where TRDATE > @
ORDER BY TRACCT, TRATYP,TRDATE DESC,amt desc
I also have a package scoped variable user::JulianDate with a date in it.
I want to use the value in User::Juliandate1 where the @ sign is in the SQl above.
How is this done?
Thanks