SQL SECURITY Privilege Options - Analytics Database - Teradata Vantage

SQL Data Definition Language Detailed Topics

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-10-04
dita:mapPath
vuk1628111288877.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
jbg1472252759029
lifecycle
latest
Product Category
Teradata Vantage™

The following table defines the meanings of the SQL SECURITY options.

Privilege Option Description
CREATOR Assign the privileges of the creator of the procedure regardless of its containing database or user.
DEFINER Assign the privileges of the definer of the procedure.

This is the default.

INVOKER Assign the privileges possessed by the user at the top of the current execution stack.
OWNER Assign the privileges owned by the owner of the procedure, which are the privileges possessed by its containing database or user.