To modify a check constraint, follow these steps:
Note: Use SELECT SYNTAX from SYSCA.SYNTAX to display the existing check constraints before dropping it:
select syntax from sysca.syntax where schema='EMP' and table = 'BENEFITS';
Example
alter table emp.benefits drop check; alter table emp.benefits add check ( fiscal_year > 1930 );
|
Copyright © 2014 CA.
All rights reserved.
|
|