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: how to change a foreign key back to a primary key

Re: how to change a foreign key back to a primary key

From: Meomeo Nguyen <meomeo22_at_yahoo.com>
Date: Thu, 30 May 2002 07:23:29 -0800
Message-ID: <F001.0046FA26.20020530072329@fatcity.com>

 Hi Igor,
I just wanted to set a concatenated keys for my table. By mistake, I assigned only one primary key instead of two combined together. Here is my table structure:
organization_id (primary key)
address_id (foreign key) It should have been a primary key as well. I wanted to set this attribute as primary key. How do I do that? address_type
Thanks for your help. I do appreciate it. Trang
  Igor Neyman <ineyman_at_perceptron.com> wrote: Trang, Could you be a little bit more specific about what you are trying to do? Igor Neyman, OCP DBA ineyman_at_perceptron.com   

Hi,

I need to change a foreign key back to a primary key in a table. How do I do that. Please help.

Thanks in advance.

Trang



Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup

Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Meomeo Nguyen
  INET: meomeo22_at_yahoo.com
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Thu May 30 2002 - 10:23:29 CDT

Original text of this message

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