Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SSIS and Import/Export (2005)
 Will conditional split transformation do the work?

Author  Topic 

igorblackbelt
Constraint Violating Yak Guru

407 Posts

Posted - 2007-08-08 : 10:16:24
I have to load a flat file to a table, however there are some rows that I need to remove before loading to the table, see below the file structure.

I have to remove both, the blank row and the "**** Federal Do Not Call Registrants ****" as well, I was wondering if Conditional Split Transformation is the right tool to do this, if not, what would you guys recommend me doing.


1112223344|111|222|00000
2223334455|222|333|00000

**** Federal Do Not Call Registrants ****
1112223344|111|222|99999
2223334455|222|333|99999

nr
SQLTeam MVY

12543 Posts

Posted - 2007-08-08 : 10:25:25
conditional split sounds like it would work.


==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -