January 22, 2009 at 5:51 am
Hi All,
I have given a statement as
Select *
from tbl_Data
where time between ? and ?
in oledb source.
But, it is throwing some error.
Please help me how to write parameterized query in sql source.
Thanks.
January 22, 2009 at 6:26 am
You need to give us more information. What OLEDB provider are you using? What error is being thrown?
Some OLEDB providers do not support parameterized queries, some don't support the ? as a parameter, and it is possible your error is completely unreleated.
January 22, 2009 at 7:31 am
You may want to take 5 minutes (maybe 10 if you have to register) and watch this video on JumpstartTV, http://www.jumpstarttv.com/parameterizing-the-execute-sql-task-in-ssis_500.aspx
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 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply