The DROP TABLE PROCEDURE data description statement deletes the definition of the referenced table procedure from the dictionary. It is also a CA IDMS extension of the SQL standard.
To issue a DROP TABLE PROCEDURE statement, you must own or have the DROP privilege on the table procedure named in the statement.
►►─── DROP TABLE PROCEDURE ─┬──────────────────┬─ table-procedure-identifier ─► └── schema-name. ──┘ ►────┬───────────┬───────────────────────────────────────────────────────────►◄ └─ CASCADE ─┘
Specifies the name of the table procedure to be dropped. Table-procedure-identifier must identify a table procedure defined in the dictionary.
Identifies the schema associated with the specified table procedure. If you do not specify a schema-name, the default value is:
Directs CA IDMS to delete any view definition that contains a reference to the table procedure, either directly or nested within some other view reference.
The following DROP TABLE PROCEDURE statement removes the EMP.ORG table procedure from the SQL catalog.
drop table procedure emp.org cascade
|
Copyright © 2014 CA.
All rights reserved.
|
|