I had previously posted this in an Access forum
with negative results so will try here.
Although this question specifies an Access database,
I also wish to accomplish this with a large MS SQL Server
database that we have.
Question follows:
The following SQL statement, used in VBScript,
will COPY a table from Excel to an Access mdb.
SQL = "SELECT * INTO C1R0" & _
" FROM [C1R0$] IN ''" & _
" 'Excel 8.0;database=c: \excel\UpdateFi nal1.xls';"
What is the SQL statement that will
UPDATE an already existing Access table
with all rows from Excel spreadsheet?
The columns of both Spreadsheet and database are the
same.
Thanks
Jim
with negative results so will try here.
Although this question specifies an Access database,
I also wish to accomplish this with a large MS SQL Server
database that we have.
Question follows:
The following SQL statement, used in VBScript,
will COPY a table from Excel to an Access mdb.
SQL = "SELECT * INTO C1R0" & _
" FROM [C1R0$] IN ''" & _
" 'Excel 8.0;database=c: \excel\UpdateFi nal1.xls';"
What is the SQL statement that will
UPDATE an already existing Access table
with all rows from Excel spreadsheet?
The columns of both Spreadsheet and database are the
same.
Thanks
Jim
Comment