Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group