Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Equivalent of Truncate 1

Status
Not open for further replies.

Dmcniell

IS-IT--Management
Nov 3, 2003
8
US
I need to regularly delete all rows in a temporary table and rather than use a loop to delete all records is there an Access equivalent to the SQL Server "truncate" command? I've thought about deleting the object and recreating, but I'm hoping there's a command to clear the contents of table.

Thanks in advance for sharing your expertise.

Dan
 
Dear Dan

Have you tried using an SQL statement to do that ?

DELETE * from TemporaryTable

Dhanus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top