primary key attribute

From: Joao Paulo Felix <felix(at)cyclades(dot)com>
To: "pgsql-general(at)postgreSQL(dot)org" <pgsql-general(at)postgreSQL(dot)org>
Subject: primary key attribute
Date: 1998-05-29 18:29:24
Message-ID: 356EFE84.ED77A7AB@cyclades.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi there,

I am having trouble trying to alter a class and update an column
constraint to PRIMARY KEY. I decided to create a new table using the
following, still it does seem work:

CREATE TABLE my_table

(my_column INT PRIMARY KEY, my_column2 TEXT);

Could any one help me please. Thanks in advance.

Joao Paulo

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kurt Seel 1998-05-29 19:07:33 problem: using large objects from tcl
Previous Message PostreSQL Server 1998-05-29 17:57:39 JDBC Drivers + Postgres 6.3.2