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

Home -> Community -> Usenet -> c.d.o.misc -> How to implement relationships between tables

How to implement relationships between tables

From: Sönke Petersen <sk.petersen_at_gmx.de>
Date: Fri, 11 Apr 2003 14:44:25 +0200
Message-ID: <b76d6p$9l1$1@news.mch.sbs.de>


Hello there,

I must admit most knowledge about databases comes from working with MS Access.
I understood that relationships between between tables are implemented by constraints: foreign keys etc.

But I have to deal with these keys also on an application level. Or do I not?

For example: if I use an ordinary integer value as primary and foreign key to implement
a relationship. Is there an autoincrement operation if one executes an update operation
on one of the tables?

How can I define such an autoincrement?

A similar question arises in the case of deleting records. What if I delete records with the
highest used integer values. Does Oracle track the used counters?

So there a lot more questions I have and I'd like to ask you around here if there is info
which describes in a detailled manner the implentation of relationships within Oracle.

Regards,
Sönke Received on Fri Apr 11 2003 - 07:44:25 CDT

Original text of this message

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