× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Can you give some more detail? Like are you saying that

FOOREF
PRITBLNUM PRITBLENT SECTBLNUM SECTBLENT
ADT M
ADT Z
XYZ A
XYZ M

FOODTL
COLUMNA COLUMNB PRITBLENT
000001 001 M
000001 002 Z
000002 003 M

and the logic is that, since this is the FOODTL table then PRITBLENT here
implies PRITBLNUM of ADT and that there should be an ADT record in FOOREF
with a value of M before M can be assigned to PRITBLENT of FOODTL? No, a
constraint will not do that. FOODTL would have to have both PRITBLNUM and
PRITBLENT. Or you should normalize FOOREF into separate tables based on
PRITBLNUM. You could also put a trigger on FOODTL that enforces your
existing table setup.


Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.