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 -> Re: Primay keys

Re: Primay keys

From: Wim Valgaeren <valgaeren_at_softhome.net>
Date: Wed, 8 Dec 1999 16:23:32 +0100
Message-ID: <82lt20$339$1@naxos.belnet.be>


Use a table constraint:
alter table mytable add constraint myconstraint primary key (column1,column2);

Regards,

Wim Valgaeren
www.cereusbe.cjb.net

"Jan" <Jan_Gerards_at_hotmail.com> wrote in message news:82ljb5$622$1_at_tesla.a2000.nl...
> I have a table with a few fields.
> Two of them (together) I want to make a primary key.
> But it doesn't work.
> Do you have any ideas ?
>
> thanks in advance,
> Jan
>
>
>
Received on Wed Dec 08 1999 - 09:23:32 CST

Original text of this message

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