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

split based on the value in SSIS

$
0
0

Hi i am using SSIS

I am Derived column

i need my string split 3 parts

example: here i am explain explain only 1 row i have 10 million rows now database

1-8 SUN STREET,YELLOW PARTY ESTATES,SOUTH END,PORT AREA,6116

1derived upto: 2 common 

1-8 SUN STREET,YELLOW PARTY ESTATES

2 derived:2 common to 4th common

SOUTH END,PORT AREA

3 derived :remaining data

6116 (here only single values few rows more than 3 common there (all should 3 derived)

My destition is address1,address2,address3

address 1:

1derived upto: 2 common 

1-8 SUN STREET,YELLOW PARTY ESTATES

address 2:

2 derived:2 common to 4th common

SOUTH END,PORT AREA

address  3:

3 derived :remaining data

6116 (here only single values few rows more than 3 common there (all should 3 derived)

Derived 1 purpose i am using this formal:

SUBSTRING((DT_WSTR,125)[Fulladresss],1,FINDSTRING((DT_WSTR,125)[Fulladresss],"|",2) - 1)

please help this formal correct or not

please help remaining formal also

Thanks

Aruna


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>