oracle外键的约束?
create table a (shuzi number(4) primary key,gesu number(4));insert into taoge values(11,12); insert into taoge values(22,23); insert into taoge values(33,34); ins... 展开
其他答案
alter table b addconstraint yuesu foreign key(shuzi)references a后面要注明a表的那个字段
2010-11-03 16:31
来自北京市
赞(0)点赞赞(0)举报
免责声明:问答内容均来源于互联网用户,房天下对其内容不负责任,如有版权或其他问题可以联系房天下进行删除。




