- Mar 1, 2000
- 30,890
- 5,001
- 126
I have a very large flat file that needs to be imported to a SQL table nightly (2.5M+ rows).
Much of this data I don't need.
I'd like to selectively limit which rows are actually imported based off the value of the "TRANS_DATE" column. Basically I don't care about anything prior to 2005... so something like "....WHERE TRANS_DATE < '2005-01-01' I know would be my normal query, but doing this via flat file import in SSIS, I'm not sure how to do that limitation.
The idea here is to both speed up the import (even if a little) and speed up queries on the table (this will cut the table down to nearly have the size)
Thanks in advance.
Much of this data I don't need.
I'd like to selectively limit which rows are actually imported based off the value of the "TRANS_DATE" column. Basically I don't care about anything prior to 2005... so something like "....WHERE TRANS_DATE < '2005-01-01' I know would be my normal query, but doing this via flat file import in SSIS, I'm not sure how to do that limitation.
The idea here is to both speed up the import (even if a little) and speed up queries on the table (this will cut the table down to nearly have the size)
Thanks in advance.