SQL database system
 
Manual page for DROP(TDH)

DROP

The DROP command can be used to remove database tables, temp tables, or indexes. This can also easily be done using unix commands.


DROP TABLE

Remove 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 TEMPTABLE

Remove 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 INDEX

Remove 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  


Markup created by unroff 1.0,    March 18, 2004.