Chapter Contents

Previous

Next
The SQL Procedure

DROP Statement


Deletes tables, views, or indexes.

Restriction: You cannot use DROP TABLE or DROP INDEX on a table accessed via 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.

view-name
specifies a SAS data view of any type: PROC SQL view, SAS/ACCESS view, or DATA step view.


Details


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.