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: about primary key

Re: about primary key

From: Ray Teale <rteale_at_ozemail.com.au>
Date: Mon, 26 Oct 1998 18:09:50 +1100
Message-ID: <71172b$ng9$1@reader1.reader.news.ozemail.net>


Give example please.

To me this sounds obvious but I'm probably misreading your problem.

EG.
Table Departments(deptno, deptname);
Table Employees(empno, empname, deptno);

deptno is primary key of Departments and Foreign Key to employees.

Presumably this is not what you mean.

Regards

Ray

hpcheong_at_ncs.com.sg wrote in message <710rc0$1io$1_at_nnrp1.dejanews.com>...
>hi all,
>
>can someone tell me whether the same field in a particular table, be a
>primary key as well as a foreign key to another table at the same time??
>
>pls reply ASAP as this is urgent!
>
>thanks in advance!
>
>
>rgds,
>evelyn.
>
>-----------== Posted via Deja News, The Discussion Network ==----------
>http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Received on Mon Oct 26 1998 - 01:09:50 CST

Original text of this message

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