Re: overwrite column data select - Postgres 9.2

Поиск
Список
Период
Сортировка
От Patrick B
Тема Re: overwrite column data select - Postgres 9.2
Дата
Msg-id CAJNY3iviLMAR-ra5qaT+GT7FzcUFgZ3rX_UC=AtDaKFNYW8OEQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: overwrite column data select - Postgres 9.2  (John R Pierce <pierce@hogranch.com>)
Список pgsql-general


2016-09-21 18:31 GMT+12:00 John R Pierce <pierce@hogranch.com>:
On 9/20/2016 10:56 PM, Patrick B wrote:
update table tablename set email = 'test.UID@example.com';     ?




I can't overwrite the data into that column...

I was hopping that in a SELECT I could replace the data from the email column to something else...

select 'test.UID@example.com' as email

-- 
john r pierce, recycling bits in santa cruz


That solved my problem! Thanks man!!

Patrick

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

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: overwrite column data select - Postgres 9.2
Следующее
От: Patrick B
Дата:
Сообщение: generate CSV with Copy+Quotes - Postgres 9.2