delete a lot records in acces table with ado

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

delete a lot records in acces table with ado

Post by sal21 »

I have a access table with 43 column and approx 370.000 records.
Not all colunmn are fille with value.
How to delete all records with ado jet + VB6 and query with a fasted method???

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

Re: delete a lot records in acces table with ado

Post by HansV »

Welcome to Eileen's Lounge.

To delete all records from a table in a Jet database, you can use the following SQL statement:

DELETE * FROM [TableName]

where TableName is the name of the table.
Best wishes,
Hans