Removing a Security Constraint Column from a Table - 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ā„¢
  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 ALTER TABLE statement. For example:
    ALTER TABLE  table_name 
       DROP  constraint_column_name  ;