Granting Privileges to Permanent Database Users - Advanced SQL Engine - Teradata Database

Security Administration

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
ied1556235912841.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1100
lifecycle
previous
Product Category
Teradata Vantageā„¢

You can grant privileges directly to users with the GRANT statement, for example:

GRANT [privilege ... (, privilege)]
ON [database_name|object_name]
TO user_name ...[, user_name][WITH GRANT OPTION]
You must grant some privileges directly to users:
  • For privileges that you cannot grant to a role, see Limitations on Using Roles.
  • For a few users with truly unique needs, it may be more efficient to grant required privileges directly to the individual users.

Where possible, avoid granting privileges directly to users. Instead, grant privileges to roles and then grant role membership to users with similar database access needs. See Using Roles to Manage Privileges.