Revoking Privileges on Procedures - Teradata VantageCloud Lake

Lake - Working with SQL

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
jbe1714339405530.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
jbe1714339405530
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.