alter table w_temp_d add constraint w_temp_fk foreign key (ID) references w_temp_h
alter table w_temp_d nocheck constraint w_temp_fk
alter table w_temp_d check constraint w_temp_fk
select * from w_temp_h h leftouter join w_temp_d d on( h.ID=d.ID)
select * from w_temp_h h right outer join w_temp_d d on( h.ID=d.ID)
select * from w_temp_h h full outer join w_temp_d d on( h.ID=d.ID)
外键约束
最新推荐文章于 2024-04-12 16:40:18 发布