SSIS 2012 Parameter

Hello,

I am using a OLE DB source task and i want to setup a parameter in the select statement. Is this possible and how would this be done. I know you can pass a parameter in the where clause like:

select id, lname, fname, startDate, endDate from Employee where id = ?

how would i set startDate and endDate as parameters as i would like to be able to change these parameters when running the package. I would like to set dates in the select statement as parameters like how you would in the where clause.

Select id, lname, fname, ? startDate, ? endDate, from employee where id = ?

I would like to be able to change these dates without having to go in to the package and hard code it back in there and then deploy.

The package uses a OLE DB source to Flatfile Destination.


  • Edited by Emanlee00 15 hours 36 minutes ago
June 20th, 2015 10:43am

Just click on the Parameters button on the top right of source editor
Free Windows Admin Tool Kit Click here and download it now
June 20th, 2015 11:25am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics