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

Need help with SSIS expression on Splitting column data into two columns

$
0
0

Hi,

I have an excel sheet with a column name called Destination with the following data in each row: -- Is possible to split the following column into two columns.. One column called Country which contains only the country name and the second column called DailedNo which contains the phone numbers from the Destination column. I tried the folloing SSIS expression but it did not produce a complete country name:

SUBSTRING(Destination,(FINDSTRING(Destination,"",1) + 1),(FINDSTRING(Destination," ",1) - 1))

I appreciate any help..

USA 12123543522
UNITED KINGDOM U.K  00447751222927

CANADA(ONTARIO) 16124151229

GERMANY 21513032

Viewing all articles
Browse latest Browse all 24688

Trending Articles



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