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 -> Re: No foreign keys??? What the???

Re: No foreign keys??? What the???

From: Jim Gregory <JG200024_at_NCR.com>
Date: 2000/07/05
Message-ID: <396354e5$1@rpc1284.daytonoh.ncr.com>#1/1

And of course, no one EVER updates the DB directly with SQL

--
Jim Gregory
Principal Consultant for Keane, Inc.
Currently assigned to NCR
"Opinions are my own and do not reflect
  those of Keane or my clients"
Greg Stark <greg-spare-1_at_mit.edu> wrote in message
news:87lmzjss5w.fsf_at_HSE-Montreal-ppp139421.sympatico.ca...

>
> "Sybrand Bakker" <postbus_at_sybrandb.demon.nl> writes:
>
> > Yes, this is crazy!
>
> You guys have both happily answered a question with far too little
> information. Too often people are happy to apply the same old stock
answers to
> questions without thinking about if the canned solution is really
appropriate
> to the problem at hand.
>
> In an application with an application layer interface through which all
> queries proceed most referential integrity constraints are superfluous. In
> some cases they're still useful as a safeguard against buggy code, however
in
> cases where they are performance critical the extra index lookups would be
> pointless and costly.
>
> In other cases the integrity constraints are subtle. I find the best way
to
> control data integrity is at the application level where the data
> representation is actually being manipulated and the more important subtle
> checks can be performed as assertions within the code. Rather than at the
> database level where only a crude understanding of the data being
represented
> is available.
>
> --
> greg
Received on Wed Jul 05 2000 - 00:00:00 CDT

Original text of this message

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