摘要: alter table 外键表名 add constraint 约束名称 foreign key(外键字段) references 主键表名(约束列名) 如表A中的Ids是主键,要约束表B中的Aid列,那么语句应该是: alter table B add constraint A_B_Ids for 阅读全文
posted @ 2017-10-24 00:45 _Iniesta 阅读(216) 评论(0) 推荐(0) 编辑