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

Delete/Import Table Query

Status
Not open for further replies.

Mighty

Programmer
Feb 22, 2001
1,682
US
Hi Folks,

I have an Access DB which basicallys stores a snapshot of some tables from another DB at the end of a calendar month. I have started to code a VBScript program and what I need to be able to do is delete tables from my DB and then import new ones from another database.

can I write queries to do this?

Thanks

Mighty
 
The sql syntax for table deletion is:
DROP TABLE TableName;

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top