DROP PROCEDURE
Removes an external procedure from Vertica. Only the reference to the procedure is removed. The external file remains in the database/procedures directory of each database node.
Syntax
DROP PROCEDURE [[database.]schema.]procedure( [ arg‑list ] )
Parameters
[database.]schema
|
Specifies a schema, by default myschema.thisDbObject If you specify a database, it must be the current database. |
|
procedure |
Specifies the procedure to drop. |
| arg‑list |
A comma-delimited list of arguments defined for this procedure when it was created, specified as follows:
where arg‑name optionally qualifies arg‑type. If no arguments are defined for this procedure, specify empty parentheses. |
Privileges
- Superuser or procedure owner
- USAGE privilege on schema, or schema owner
Example
=> DROP PROCEDURE helloplanet(arg1 varchar);