Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Primay keys
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
![]() |
![]() |