Is this possible?

From: johnf <jfabiani(at)yolo(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Is this possible?
Date: 2009-02-17 02:36:54
Message-ID: 200902161836.54612.jfabiani@yolo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi,
I'm not to sure this is possible.

I need to replace a primary key (pkid) with the value of a different field.
I have
pkid = 200
attendid = 301

I need the pkid = 301

But there may or may not be a pkid that already exist that has the value of
301. The attendid is unique and the pkid data type is serial (has a
sequence).

Thanks for the help.

--
John Fabiani

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message A. Kretschmer 2009-02-17 06:32:26 Re: Is this possible?
Previous Message Peter Koczan 2009-02-16 22:03:42 New datestyle(s)