Example: Modifying a Named CHECK Constraint - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

Replace the current boolean condition for CHECK constraint check_1 with a new boolean condition.

Constraint name check_1 must be an existing CHECK constraint.

 ALTER TABLE table_1 MODIFY CONSTRAINT check_1 CHECK (column_2 > 0);