March 30, 2009 at 3:38 pm
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
March 31, 2009 at 7:13 am
If you are using the OLEDB Provider you need to replace the "@" with "?".
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy