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

deleting imported errors table 1

Status
Not open for further replies.

balllian

MIS
Jan 26, 2005
150
GB
After importing a text file into access. Access is creating the 'combined_Importerrors' table.

Is there anyway of deleting this particular table completely without leaving data definitions of the table within the database.

I want to do this via a macro if possible??

 
You may execute this action query:
DROP TABLE combined_Importerrors;

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Is it possible to extend this to the do the following

delete two tables in one go. and create a new table by renaming an existing table (combined1) into one of the ones i have deleted (combined)

The reason behind me asking this is as the table im deleting has approx a million records, what my current practise is to to run an update query to delete all the records. it might be quicker to delete the table and recreate it by renaming another table.

Would this be better??
 
i should have added also how do i do this?? it must be possible??

thanks in advance for any help u can provide with this.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top