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 2012 Forums
 SSIS and Import/Export (2012)
 Prolems importing Phones numbers from CSV file

Author  Topic 

kishore7
Starting Member

13 Posts

Posted - 2013-02-08 : 14:34:52

I am using as SSIS package to import CSV file to Sql server table, in csv file one of the column is phone numbers, which has both international numbers and local numbers, after importing data into table ,i see that international phone numbers have plus sign in front of the number, even though i dont see any plus sign in the csv file..but local numbers are importing correctly..

please help me out...

James K
Master Smack Fu Yak Hacker

3873 Posts

Posted - 2013-02-08 : 16:23:54
What are you using to look at the CSV file? If you are using Excel, it may be masking the + sign. Look at the CSV file using Notepad and see if there is a plus sign in the source file.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-02-09 : 08:27:33
you can also remove + sign if you want by using derived column task and using an expression with REPLACE() function

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -