Is this possible?

Поиск
Список
Период
Сортировка
От johnf
Тема Is this possible?
Дата
Msg-id 200902161836.54612.jfabiani@yolo.com
обсуждение исходный текст
Ответы Re: Is this possible?  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Re: Is this possible?  (Scott Marlowe <scott.marlowe@gmail.com>)
Список 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


В списке pgsql-sql по дате отправления:

Предыдущее
От: Peter Koczan
Дата:
Сообщение: New datestyle(s)
Следующее
От: "A. Kretschmer"
Дата:
Сообщение: Re: Is this possible?