Can somebody help me with this! Please!!!




Hi,

I have an excel file with 63 columns and 3000+ rows. I am trying to
insert this data into a sql table. For doing so i first want to convert
this excel file into a csv because these file i get from users are going
to be csv files.

The table in sql has 74 columns to which i am trying to insert this
data. so have the columns to be same i am adding some extra 11 dummy
fields to the excel, data in the rows below these columns is empty.
When i save this file as a csv, its saving the file with commas in
place of these empty fields (the last 11). But its not putting commas
for the entire document, instead its only placing commas for the first
16 rows alone. But i want these commas for all the rows.

Can somebody help me with this. Would greatly appretiate any kind of
input on this issue.

Thanks a lot in advance,
Nitu


--
Nitu
------------------------------------------------------------------------
Nitu's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=35466
View this thread: http://www.excelforum.com/showthread.php?threadid=552463

.



Relevant Pages

  • SQL Wrappers
    ... it was straightforward to code something into the CSV file ... that would result in a NULL being passed to the SQL user. ... Since there was nothing between the commas, ... how do you pass an empty string? ...
    (comp.databases.theory)
  • Saving Excel as a CSV
    ... I have an excel file with 63 columns and 3000+ rows. ... to be csv files. ... The table in sql has 74 columns to which i am trying to insert this ... But its not putting commas ...
    (microsoft.public.excel.misc)
  • Going from column to comma separated list...
    ... The excel file starts out as a CSV that was created using a text editor ... already in the format I want with the commas between the names... ... the comma separated format I need. ...
    (microsoft.public.excel.misc)
  • Re: MySQL-csv insert into tables doesnt take effect
    ... I create a data.csv file using excel file and ... > but when i tried to load the CSV file into the table ... LOAD DATA expects by default that fields are separated by tabs, ... not commas. ...
    (Fedora)
  • Save file with fields within quotes and comma separated
    ... I want to save a CSV or another option in MS Excel file ... where all fields are separated by commas and all fields ... are within quotes. ...
    (microsoft.public.excel.programming)