Previous Page | Next Page

The SQL Procedure

DROP Statement


Deletes tables, views, or indexes.
Restriction: You cannot use DROP TABLE or DROP INDEX on a table that is accessed by an engine that does not support UPDATE processing.

DROP TABLE table-name <, ... table-name>;
DROP VIEW view-name <, ... view-name>;
DROP INDEX index-name <, ... index-name>
FROM table-name;


Arguments

index-name

specifies an index that exists on table-name.

table-name

specifies a PROC SQL table. table-name can be a one-level name, a two-level libref.table name, or a physical pathname that is enclosed in single quotation marks.

view-name

specifies a SAS view of any type: PROC SQL view, SAS/ACCESS view, or DATA step view. view-name can be a one-level name, a two-level libref.view name, or a physical pathname that is enclosed in single quotation marks.


Details

Previous Page | Next Page | Top of Page