SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 SSIS and Import/Export (2012)
 Prolems importing Phones numbers from CSV file
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kishore7
Starting Member

13 Posts

Posted - 02/08/2013 :  14:34:52  Show Profile  Reply with Quote

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
Flowing Fount of Yak Knowledge

3712 Posts

Posted - 02/08/2013 :  16:23:54  Show Profile  Reply with Quote
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

India
52317 Posts

Posted - 02/09/2013 :  08:27:33  Show Profile  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000