Re: Copying data from one column to another

Поиск
Список
Период
Сортировка
От Tino Wildenhain
Тема Re: Copying data from one column to another
Дата
Msg-id 1130888055.30174.13.camel@Andrea.peacock.de
обсуждение исходный текст
Ответ на Copying data from one column to another  ("Nels Lindquist" <nlindq@maei.ca>)
Ответы Re: Copying data from one column to another
Список pgsql-general
Am Dienstag, den 01.11.2005, 16:03 -0700 schrieb Nels Lindquist:
> Hi there.
>
> Sorry if this is a silly question, I'm relatively new to PostgreSQL.
>
> I'm trying to copy information from one column, modify it and place
> it in another column.  Is there some shortcut way to do this with an
> UPDATE statement?

Yes, this is simply UPDATE.

UPDATE sometable SET somecolumn=somefunction(someothercolumn);




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

Предыдущее
От: "Nels Lindquist"
Дата:
Сообщение: Copying data from one column to another
Следующее
От: Oliver Elphick
Дата:
Сообщение: Re: Dumb Questions - upgrade notes?