Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: choices regarding where to place code - in the database or middle tier
On Tue, 20 Jan 2004 06:17:04 GMT, efriedNOSpam_at_yahoo.com (Eric F)
wrote:
>Data belongs in the database. Business logic; i.e. code, belongs in the middle
>tier.
Hmmm.
>Referential integrity belongs in the database. That is data.
Where do "required data" constraints belong, as in "this value must not be null and must not be an empty string"?
Where do range constraints belong, as in "this value must be greater than zero"?
Where do "paired column" constraints belong, as in "end date must be on or after start date"?
>My .02
I think you overcharged me. There's a lot more to data integrity than just referential integrity.
-- Mike Sherrill Information Management SystemsReceived on Tue Jan 20 2004 - 10:59:21 CST