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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleting All Records from many tables

Status
Not open for further replies.

Dbless

IS-IT--Management
May 8, 2002
22
US
I have 50 tables that need to be cleaned before importing all new data. I'm using an SQL "Delete * from tablename" and executing it through a macro. Keep getting out of disk space and/or memory error. My machine has enough memory and disk space. How can I remove all the data from the files successfully?

Pre-thanks
 
If this is a one time import, why not create a new database, import the tables, but select the option "Import Table | Definition only".

Or you could do a copy/paste in the current database and paste with the "Structure Only" Option checked.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top