Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: composite primary keys
On 10.10.2007 17:34, fitzjarrell_at_cox.net wrote:
> On Oct 10, 9:59 am, "Martijn Tonies" <m.ton..._at_upscene.removethis.com> > wrote:>>> PRIMARY KEY (COL1,COL2))
>>>> What is the syntax for composite primary key to a table. The table
>>>> already contains primary key as one column and I need to create
>>>> composite primary key for three other columns in the same table.
>>> CREATE TABLE 'mytable' (
>>> COL1 SMALLINT AUTOINCREMENT,
>>> COL2 CHAR(32),
>>> COL3 FLOAT,
ROTFL Did you mean "WE know it won't work with Oracle"? ;-)
robert Received on Fri Oct 12 2007 - 17:41:04 CDT
![]() |
![]() |