|
> >Why not use referential integrity to enforce business rules? > > > > You can and should, but RI enforces a limited set of business rules. Rules > like "a customer must exist before we can create an order" is an RI rule, > but a rule like "send notification to a vendor whenever on-hand quantity > falls below low-stock-point or reorder-point" is a trigger type rule. > Ok, I agree completely with this, and is what I do. I thought the discussion was about using triggers to ensure only 'A' or 'B' was allowed for a given field. Phil _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
As an Amazon Associate we earn from qualifying purchases.
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.