27,580
社区成员
发帖
与我相关
我的任务
分享
create table p1(id int primary key)
go
create table p2(id int primary key)
go
create table f(id int )
go
alter table f add constraint fk_f_p1 foreign key (id) references p1(id)
go
alter table f add constraint fk_f_p2 foreign key (id) references p2(id)
go
drop table f , p1 ,p2
go