Is there way that we can set range of values for salary column of employee table. It's required that there can insert salary value between 10000-70000
only.
在创建表时将此添加到表约束中。
CONSTRAINT Salary_Ck CHECK (Salary >= 10000 AND Salary <= 70000)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.