![]() SQL database system |
DROPThe DROP command can be used to remove database tables, temp tables, or indexes. This can also easily be done using unix commands.DROP TABLERemove one or more database tables. Actually the tables are moved to your tmp file directory as a safety precaution.Usage: drop table tablename1, .. tablenameN
Example: drop table people, institutions
DROP TEMPTABLERemove one or more temporary tables associated with the current process. An asterisk (*) may be used to remove ALL temp tables associated with the current process.Usage: drop temptable * | temptablename1, .. temptablenameN
Example: drop temptable $tmp1, $totals
DROP INDEXRemove the index associated with one or more fields in a table. An asterisk (*) may be used to remove ALL indexes associated with a table.Usage: drop index on tablename * | fieldname1 .. fieldnameN
Example: drop index on stats ( mean )
|
![]() Copyright Steve Grubb |