3. Statements : OpenROAD SQL Statements : Create Integrity Statement : Examples—Create Integrity Statement
 
Share this page                  
Examples—Create Integrity Statement
The following are create integrity statement examples:
1. Make sure that the salaries of all employees are no less than 6000.
create integrity on employee is salary >= 6000;
2. In an OpenROAD application, define an integrity using a variable.
create integrity on employee
    is sal < :sal_limit;