![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
[snip] specifier_duns_nbr CHAR(9) NOT NULL, REFERENCES Companies (duns_nbr), …); What is the best way to enforce the constraint which we could write in Full-92 as a table constraint: CHECK (specifier_duns_nbr IN ((SELECT customer_duns_nbr FROM Orders AS O WHERE O.order_nbr = Order_Details.order_nbr), '999999999') |
#3
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |