Removing a Security Constraint Column from a Table - Advanced SQL Engine - Teradata Database

Security Administration

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2022-02-15
dita:mapPath
ppz1593203596223.ditamap
dita:ditavalPath
wrg1590696035526.ditaval
dita:id
B035-1100
lifecycle
previous
Product Category
Teradata Vantageā„¢
  1. Remove the constraint column from any views in which the column appears using the REPLACE VIEW statement and omitting the column name in the new view.
  2. Drop indexes that include the constraint column, then recreate the indexes without the column.
  3. Remove the constraint column from all tables in which the column appears, using the DROP clause of the ALTER TABLE statement, documented in Teradata Vantageā„¢ - SQL Data Definition Language Syntax and Examples, B035-1144.