Using SET SESSION CONSTRAINT To Modify the Constraints Assigned to You for the Current Session - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Syntax and Examples

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

Several possible uses exist for using a SET SESSION CONSTRAINT request to alter the row-level security constraints in effect for the session. The noted changes can be applied whether the default row-level security constraint set for the session was assigned to a user or to a profile. The following points indicate some of the possible uses for a SET SESSION CONSTRAINT request.

  • To change the default level (hierarchical) constraint for a session.
  • To change the active category (non-hierarchical) constraint set for a session to a subset of those defined for the constraint.