Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Foreign Key - forcing at database side or appln side

Foreign Key - forcing at database side or appln side

From: Pradeep Jain <pradeepj_at_my-deja.com>
Date: Fri, 22 Dec 2000 06:30:18 GMT
Message-ID: <91usdq$k4v$1@nnrp1.deja.com>

Hi all,

Where's the best place to enforce foreign key constraints - database side or application side or at both places. (Only 1 appln uses this database).
What are the issues if it's enforced only at the appln side, and the foreign key constraints are not created at the database side at all - issues wrt time for insertion, time for queries, possibility of losing database integrity, additional coding and queries required at the application side to enforce the constraints, etc.

Thanks.
Pradeep

--
Life can always get better...


Sent via Deja.com
http://www.deja.com/
Received on Fri Dec 22 2000 - 00:30:18 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US