如果我执行一个id为5的insert语句,db服务器将不会提交。如果id不以5开头,则会提交。
sql语句:
INSERT INTO D_ROLEGROUP (ID, VERSION, NAME) VALUES ('582595D1DDFF49D09013E5FC57F7AD01', 1, 'role_group_abc');
DDL:
CREATE TABLE D_ROLEGROUP
(
ID VARCHAR2(32) PRIMARY KEY NOT NULL,
VERSION NUMBER(38) NOT NULL,
NAME VARCHAR2(255) NOT NULL
);
CREATE UNIQUE INDEX NAME_UNIQ_1456146427545 ON D_ROLEGROUP (NAME);
db版本: oracle 11g