SQL-J Language Reference,
Page 27 of 118


[top]
[prev]
[next]
Documentation Top
Global Index
Reference Manual
TOC Index
Grammar index
Developer's Guide
TOC Index
Tuning Cloudscape
TOC Index

DROP TABLE statement

DROP TABLE removes the specified table.

Syntax

DROP TABLE TableName

Example

DROP TABLE Hotels

Dependency System

If there is an open cursor or a view that uses the table being dropped, then the DROP TABLE statement generates an error and does not drop the table. Dropping a table invalidates other statements that depend on the table.

When a table is dropped, all triggers on that table are automatically dropped. (You don’t have to drop a table’s triggers before dropping the table.)

[top]
[prev]
[next]


Cloudscape Version 3.0
For technical support, go to: www.cloudscape.com and click Support.
Copyright © 1998 and 1999 Cloudscape, Inc. All rights reserved.