17.05 - Revoking Privileges on Procedures - Teradata Database

Teradata Vantageā„¢ - SQL Data Control Language

prodname
Advanced SQL Engine
Teradata Database
vrm_release
17.00
17.05
created_date
June 2020
category
Programming Reference
featnum
B035-1149-170K
The following rules apply to privileges specific to procedures:
  • CREATE PROCEDURE is only a database or user level privilege.
  • ALTER PROCEDURE, DROP PROCEDURE, and EXECUTE PROCEDURE apply to databases, users, or specified procedures.
  • DROP and EXECUTE can be used as abbreviations for DROP PROCEDURE and EXECUTE PROCEDURE while rescinding privileges if you specify PROCEDURE procedure_name.
  • The following happens if PROCEDURE is not specified before object_name:
Request Description
REVOKE EXECUTE Object is assumed to be a macro. If a macro with that name does not exist, an error is returned.
REVOKE DROP Error is returned.