add primary key

From: "mikhail malamud" <mikhail(dot)malamud(at)drexel(dot)edu>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: add primary key
Date: 2001-03-11 03:55:11
Message-ID: MABBJIIJCNOHJDEFAAJEAEHCCEAA.mikhail.malamud@drexel.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

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.

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Anthony E . Greene 2001-03-11 13:57:19 Re: Run Time Variables
Previous Message Phil Hayward 2001-03-10 18:37:39 Run Time Variables