Advantage SQL Engine
Deletes a table and any indexes associated with it from the database
Syntax
DROP TABLE <table-name> [FROM DATABASE [NO_DELETE]]
Remarks
CASCADE, RESTRICT not supported.
If the table is a database table, that is, if the table is associated with an Advantage Data Dictionary, the table can only be deleted if the DROP TABLE statement is executed by a user with DROP permissions on the specified table. The NO_DELETE option will cause a database table to be removed from the data dictionary, but not deleted from disk. The FROM DATABASE clause is not required to drop a database table, however, it is required to specify the NO_DELETE option.
Note Encrypted database tables removed from the database, but not deleted, will be left in a decrypted state.
Example(s)
DROP TABLE sal
DROP TABLE sal FROM DATABASE NO_DELETE