CTCONTROL Privilege | GRANT (SQL Form) | Teradata Vantage - CTCONTROL Privilege - Teradata Vantage - Analytics Database

SQL Data Control Language

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
sgu1628111251052.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
dvv1472243528022
lifecycle
latest
Product Category
Teradata Vantageā„¢

CTCONTROL enables a user to grant or revoke the CONNECT THROUGH privilege using the GRANT CONNECT THROUGH or REVOKE CONNECT THROUGH statements. You can only grant CTCONTROL to specific users.

Rules for Granting the CTCONTROL Privilege

The following rules apply to granting the CTCONTROL privilege:
  • The user specified by user_name must be an existing user of the system, not a role. If you attempt to grant CTCONTROL to a role, the request aborts and returns a message to the user.
  • User DBC can grant the CTCONTROL privilege to any other user WITH GRANT OPTION.
  • To submit a GRANT request for the CTCONTROL privilege to a user, you must either be user DBC or a user who has previously been granted the CTCONTROL privilege WITH GRANT OPTION.

    WITH GRANT OPTION permits the grantee to grant the privilege to other users.

For more information about GRANT CONNECT THROUGH, see GRANT CONNECT THROUGH.

Example: Granting the CTCONTROL Privilege

The following example grants user kate the privilege to grant the CONNECT THROUGH privilege to user trusteduser2:

GRANT CTCONTROL
ON trusteduser2
TO kate;
To then run a GRANT CONNECT THROUGH request, trusteduser2 requires the following privileges:
  • CTCONTROL on herself.
  • GRANT ... WITH ADMIN OPTION on any role specified

    See GRANT (Role Form).

  • DROP USER on any PERMANENT users specified as proxy users.