CSV file import, Scientific format

barkome used Ask the Experts™

I have a few csv files that has the following values in a scientific format:

1E+11, 2.0225E+11

However, when I open the csv file in notepad, it displays the format I need.

My question is, how can I import the desired notepad value (100000309953) using ssis when the csv file has them recorded as a scientific value (1E+11, 2.0225E+11)?

Is there a way to convert the csv file to a txt file format, or is there way that I can use SSIS to convert the scientific value.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
lcohanDatabase Analyst

I suggest use SQL Import/Export wizard and btw - in EXCEL, just make the columns bigger and you'll see the actual value....
Dave BaldwinFixer of Problems
Most Valuable Expert 2014

What you see in the 'text' version is what you are actually getting.  You need to tell Excel to treat those columns as text to get the same display.  This is a common occurrence where the 'text' is all numbers.
Lead Software Engineer
The CSV file does not have the values in scientific notation. Excel is displaying them in that format. You should not need to do anything special to import the file using SSIS.
lcohanDatabase Analyst

how to "Start the SQL Server Import and Export Wizard"

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial