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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Circular FK's

RE: Circular FK's

From: Knight, Jon <jknight_at_concordefs.com>
Date: Fri, 4 Nov 2005 11:26:01 -0600
Message-ID: <17ECCBDCF27C544583F2CAD928F953260221FD42@memex1.corp.cefs.int>


Another option ...
  Add the department, assigning an existing employee as manager.   Add the new employee to the newly created department.   Update the new department, assigning the new employee as manager.

Thanks,
Jon Knight

 -----Original Message-----
From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Keith Moore

Sent:	Viernes, 04 de Noviembre de 2005 11:03 a.m.
To:	Michael.Coll-Barth_at_VerizonWireless.com
Cc:	oracle-l_at_freelists.org
Subject:	RE: Circular FK's

If the column allows nulls, then

Add department with null for the manager Add employee
Update department with employee as manager commit;

>
> What do you do when you have a new department that will be headed by a new
> employee?
>
>

--
http://www.freelists.org/webpage/oracle-l


-----------------------------------------
The information in this message may be proprietary and/or confidential,
and protected from disclosure.  If the reader of this message is not
the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
communication is strictly prohibited. If you have received this
communication in error, please notify First Data immediately by
replying to this message and deleting it from your computer.

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Nov 04 2005 - 11:28:39 CST

Original text of this message

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