16.10 - Collecting Statistics on Tables Protected with Row-Level Security - Teradata Database

Teradata Database Administration

Product
Teradata Database
Release Number
16.10
Published
April 2018
Language
English (United States)
Last Update
2018-04-26
dita:mapPath
qjg1509413559832.ditamap
dita:ditavalPath
changebar_rev_16_10_exclude_audience_ie.ditaval
dita:id
ujp1472240543947

If a table is protected by row-level security (at least one column is defined with a constraint-column-definition clause), you must have additional privileges, as follows:

To use COLLECT STATISTICS, HELP STATISTICS, and SHOW STATISTICS with the VALUES clause on... You must have the OVERRIDE SELECT CONSTRAINT privilege on...
a base table the base table or database.
a join index the underlying tables or database.
a hash index the underlying tables or database.
a view the view or database.
a query the underlying tables or database.

For copying statistics, in addition to the SELECT privilege, you must have the OVERRIDE SELECT CONSTRAINT privilege if the source table is protected by row-level security.