Search Postgresql Archives

Multiple key error .

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Unable to add multiple keys to the table.

ALTER TABLE table1 ADD CONSTRAINT Table1_PK PRIMARY KEY (Col1,Col2);

ERROR:  multiple primary keys for table "table1" are not allowed
SQL state: 42P16

--
Thanks & Regards,
Brahmeswara Rao J.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux