游客发表

Oracle数据库中Constraint约束的四对属性

发帖时间:2025-11-04 23:54:18

Oracle数据库中Constraint约束的四对属性
复制CREATE TABLE games   (scores NUMBER,数据属性 CONSTRAINT unq_num UNIQUE (scores)   INITIALLY DEFERRED DEFERRABLE);   insert into games values(1);   insert into games values(1);   commit;--在此报错   You will not get a error util you commit it;   SET CONSTRAINT(s) unq_num immediate;--修改属性   insert into games values(2);   insert into games values(2);--在此报错   commit;   You will get a error when you execute the second sql;  1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.21.22.23.

    热门排行

    友情链接