C
Chrisso
Hi All
I have to import data from a poorly laid out CSV file from another
system. I import the CSV file into a "raw data" table and then walk
over this to create the rows.
This results in me adding data to my MS Access 2003 DB one row at a
time using the "INSERT INTO" SQL statement.
This loads fine and correctly but it is *very* slow. I need to insert
200,000 - 500,000 rows.
Does anyone have any ideas how I can insert rows quickly into a table?
I am guessing the overhead comes from doing the INSERT one at a time
into a table with indices.
My first thought was to insert many rows at once but looks like you
cannot do this with MS Access.
Is there any other way to make this run quicker? Would it be quicker
if I use recordsets somehow?
Cheers for any advice or help,
Chrisso
I have to import data from a poorly laid out CSV file from another
system. I import the CSV file into a "raw data" table and then walk
over this to create the rows.
This results in me adding data to my MS Access 2003 DB one row at a
time using the "INSERT INTO" SQL statement.
This loads fine and correctly but it is *very* slow. I need to insert
200,000 - 500,000 rows.
Does anyone have any ideas how I can insert rows quickly into a table?
I am guessing the overhead comes from doing the INSERT one at a time
into a table with indices.
My first thought was to insert many rows at once but looks like you
cannot do this with MS Access.
Is there any other way to make this run quicker? Would it be quicker
if I use recordsets somehow?
Cheers for any advice or help,
Chrisso