.ig >>
<STYLE TYPE="text/css">
<!--
        A:link{text-decoration:none}
        A:visited{text-decoration:none}
        A:active{text-decoration:none}
        OL,UL,P,BODY,TD,TR,TH,FORM { font-family: arial,helvetica,sans-serif;; font-size:small; color: #333333; }

        H1 { font-size: x-large; font-family: arial,helvetica,sans-serif; }
        H2 { font-size: large; font-family: arial,helvetica,sans-serif; }
        H3 { font-size: medium; font-family: arial,helvetica,sans-serif; }
        H4 { font-size: small; font-family: arial,helvetica,sans-serif; }
-->
</STYLE>
<title>shsql: drop</title>
<body bgcolor=99cc99 vlink=0000FF>
<br>
<br>
<center>
<table cellpadding=2 bgcolor=FFFFFF width=550 ><tr>
<td align=right><a href="shsql_home.html">
<img src="img/shsql.gif" border=0><br><small>SQL database system</a> &nbsp; </td></tr>
<td>
.>>

.TH DROP TDH "18-MAR-2004   TDH scg@jax.org" 

.SH DROP
The DROP command can be used to remove database tables, temp tables, or indexes.
This can also easily be done using 
.ig >>
<a href="manip.html">
.>>
\0unix commands.
.ig >>
</a>
.>>

.ig >>
<br><br><br>
.>>

.SH DROP TABLE
Remove one or more database tables.  Actually the tables are moved to your
.ig >>
<a href="config.html#tmpdir">
.>>
\0tmp file directory
.ig >>
</a>
.>>
as a safety precaution.
.LP
Usage: \fCdrop table \fItablename1\fR, .. \fItablenameN\fR
.LP
Example: \fCdrop table people, institutions\fR

.ig >>
<br><br><br>
.>>

.SH DROP TEMPTABLE
Remove one or more 
.ig >>
<a href="temptables.html">
.>>
\0temporary tables
.ig >>
</a>
.>>
associated with the current process.
An asterisk (*) may be used to remove ALL temp tables associated with the current process.
.LP
Usage: \fCdrop temptable  * | \fItemptablename1\fR, .. \fItemptablenameN\fR
.LP
Example: \fCdrop temptable $tmp1, $totals\fR

.ig >>
<br><br><br>
.>>

.SH DROP INDEX
Remove the 
.ig >>
<a href="indexes.html">
.>>
\0index
.ig >>
</a>
.>>
associated with one or more fields in a table.
An asterisk (*) may be used to remove ALL indexes associated with a table.
.LP
Usage: \fCdrop index on \fItablename\fC  * | \fIfieldname1\fR .. \fIfieldnameN\fR
.LP
Example: \fCdrop index on stats ( mean )\fR

.ig >>
<br>
<br>
</td></tr>
<td align=right>
<a href="shsql_home.html">
<img src="img/shsql.gif" border=0></a><br>
<a href="Copyright.html">Copyright Steve Grubb</a> &nbsp;
</td></tr>
</table>
.>>
