RE: add primary key

mikhail malamud <mikhail.malamud@drexel.edu>

From: "mikhail malamud" <mikhail.malamud@drexel.edu>
To: <pgsql-novice@postgresql.org>
Date: 2001-03-13T02:13:03Z
Lists: pgsql-novice
Can someone please tell me the answer to this simple question?

-----Original Message-----
From: pgsql-novice-owner@postgresql.org
[mailto:pgsql-novice-owner@postgresql.org]On Behalf Of mikhail malamud
Sent: Saturday, March 10, 2001 10:55 PM
To: pgsql-novice@postgresql.org
Subject: [NOVICE] add primary key


ALTER TABLE Activity add
	CONSTRAINT  PRIMARY KEY
	(
		ActivityId
	)
What's wrong with this. How do I add primary key constraint.
I tried to look in the docs but I could not find the answer, can anyone
also point me to a place where I could find an answer to this question
without disturbing the entire mailing list with such a probably simple
question.


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html