Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Conditional Split from a String

$
0
0

Hi All,

I importing data from a flat file with one column up to 255 characters long. I want split the rows in if a string "BOS" is in the row.

I have data flow task with a flat file connection to a conditional split with the following;

ORDER 1, FINDSTRING("BOS",[Column0],1)>0

ORDER 2, SUBSTRING([COLUMN 0],1,255)=="BOS"

I have tried both of these conditions but neither of them work, can anyone suggest a solution.

Thanks


Viewing all articles
Browse latest Browse all 24688

Trending Articles