Copying data from one column to another

Поиск
Список
Период
Сортировка
От Nels Lindquist
Тема Copying data from one column to another
Дата
Msg-id 436791EC.13351.6ABBC1D@nlindq.maei.ca
обсуждение исходный текст
Ответы Re: Copying data from one column to another  (Tino Wildenhain <tino@wildenhain.de>)
Список pgsql-general
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?

So far I'm thinking I'll need to copy the table schema and then
INSERT...SELECT using the desired expressions.  Does that seem
reasonable?

----
Nels Lindquist <*>
Information Systems Manager
Morningstar Air Express Inc.


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

Предыдущее
От: Tino Wildenhain
Дата:
Сообщение: Re: SQL injection
Следующее
От: Tino Wildenhain
Дата:
Сообщение: Re: Copying data from one column to another