.csv file creation for importing into a database

R

Ratbert66251

I receive data as an excel office xp 2002 file that I need to convert into a
..csv file format. When I "save as" a .csv file and attempt to import into a
SQL database, the import log indicates errors.

Any suggestions would be appreciated.
 
N

Nick Hodge

What errors does it show?

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
(e-mail address removed)
 
R

Ratbert66251

Line 1: Incorrect syntax near ','. ; Row= 1
and
String or binary data would be truncated. ; Row= 1

HTH
 
N

Nick Hodge

Have you checked the text file in notepad to see if it is actually saving as
a comma or some other delimiter? If it is some other delimiter, you may
find your setting in windows is wrong. It may also have consecutive
delimiters or some spurious other characters ('.;:\ /), etc


--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
(e-mail address removed)
 
R

Ratbert66251

yes, I have. Thanks, anyway, Nick! I guess it is time to step aside and pay
the professionals.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top