Hemanshu Bhojak
Hemanshu Bhojak

Reputation: 17288

How to restrict rows from SSIS Data Source?

I have an OLE DB Data Source in an SSIS package. I want to restrict rows to return data from a specific date (it has a date column). How can this be achieved in SSIS?

Upvotes: 2

Views: 4439

Answers (2)

Hemanshu Bhojak
Hemanshu Bhojak

Reputation: 17288

I changed the "Data Access Mode" property of the "OLE DB Source" component to "SQL Command" and specified a where clause in the TSQL statement.

Upvotes: 7

Tom Pickles
Tom Pickles

Reputation: 900

You could use a conditional split control or a script task.

Upvotes: 2

Related Questions