the Check constraint between two tables

前端 未结 0 1348
栀梦
栀梦 2021-02-11 23:31

for example I have two tables , A and B , I want that we can\'t add a data to B if it doesn\'t exist already in A .

Alter table B
ADD CHECK (.....);
相关标签:
回答
  • 消灭零回复
提交回复
热议问题