PDA

Click to See Complete Forum and Search --> : Deleting Tables


PITBULLCJR
May 31st, 2000, 05:00 AM
Is there any way to delete a table? If there is please let me know and maybe tryt o explain it a little bit for me thanks!!

Clunietp
May 31st, 2000, 01:15 PM
what database?

JasonGS
May 31st, 2000, 01:27 PM
You can do it with the SQL statement "DROP TABLE Table1", ADO example...

Dim adoConn As New ADODB.Connection
' Assuming a connection is made to your DB here...
adoConn.Execute "DROP TABLE Table1"

Chris
May 31st, 2000, 04:09 PM
This DROP TABLE sql statement also can use in the DAO object.