Re: Adding PK to Existing Table [RESOLVED]

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Adding PK to Existing Table [RESOLVED]
Date: 2011-04-01 16:25:47
Message-ID: alpine.LNX.2.00.1104010925000.3160@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 1 Apr 2011, Raghavendra wrote:

> Try out this...
> alter table <table name> add primary key(column name);

Raghavendra,

Aha! I missed noticing that I need parentheses around the column name.

Much thanks,

Rich

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rajasekhar Yakkali 2011-04-01 17:07:57 Re: Postgres 9.1 - Release Theme
Previous Message Raghavendra 2011-04-01 16:01:13 Re: How to get index columns/dir/ord informations?