表级约束和列级约束的区别?应用场景?
没理解
没理解
2020-07-27
表级约束在创建约束时可以创建约束名称,列级约束是系统设置名字
create table userinfo (id number(6,0) primary key, user_name varchar2(10) references username(user_name), user_pwd varchar2(20));
create table userinfo (id number(6,0) primary key, user_namevarchar2(10), user_pwd varchar2(20), constraint fk_name foreignkey(user_name) references username(username));
举报