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!

delete table

Status
Not open for further replies.

tinoco

IS-IT--Management
Feb 16, 2005
49
ES
Hi!!
How can i delete an oracle table from access 2003 using vba code?
i'm using ODBC to link the two databases.
thanks
 
You may excute a passthru DDL query.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
but how can i link this king of query with the oracle database?
thanks
 
Are you sure you want to delete the actual Oracle table, or do you want to just remove it from your table list in Access?
 
but ao can i link the query with the oracle database?
 
The connection string is a property of a passthru query.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
yes i want to delete it because i'm exporting data from access to oracle through odbc. my problem is that i can just export data once for de same table and i want to fill it up everytime i perform my access application.
The append query doesn't recognise ODBC databases so i can't use it!!
 
Do you just want to delete the records out of the Oracle table, or delete the table entirely?
 
i want the oracle table entirely!
is it possible?
thanks
 
Again, a passthrough query:
DROP TABLE oracle table name

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
The append query doesn't recognise ODBC databases
Really ? Even the linked tables ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
its solved.
thanks a lot for the help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top