BIG prob to update access table from sql table, have idea?

User avatar
sal21
PlatinumLounger
Posts: 4355
Joined: 26 Apr 2010, 17:36

BIG prob to update access table from sql table, have idea?

Post by sal21 »

I have a sql table where a other system delete all records in this table and insert a lot of records. (approx 4.500.000)
Now i want to have the same copy of records from sql table to access table...
i need to delete all records from access table and recopy from sql table.
This opeartion make a bit time!
Have idea to speed up this operation?

Note:
i have only a read permission on sql table.

User avatar
HansV
Administrator
Posts: 78488
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: BIG prob to update access table from sql table, have idea?

Post by HansV »

Deleting all existing records from the Access table shouldn't take much time.
It would be a good idea to compact the database after doing that (Tools | Database Utilities | Compact and Repair Database, or Strumenti | Utilità database | Compatta e ripristina database).
But importing over 4 million records will always take time.
Compact the database again after importing.
Best wishes,
Hans