Re: overwrite column data select - Postgres 9.2

From: Patrick B <patrickbakerbr(at)gmail(dot)com>
To: John R Pierce <pierce(at)hogranch(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: overwrite column data select - Postgres 9.2
Date: 2016-09-21 09:16:16
Message-ID: CAJNY3iviLMAR-ra5qaT+GT7FzcUFgZ3rX_UC=AtDaKFNYW8OEQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2016-09-21 18:31 GMT+12:00 John R Pierce <pierce(at)hogranch(dot)com>:

> On 9/20/2016 10:56 PM, Patrick B wrote:
>
> update table tablename set email = 'test(dot)UID(at)example(dot)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(dot)UID(at)example(dot)com' as email
>
> --
> john r pierce, recycling bits in santa cruz
>
>

That solved my problem! Thanks man!!

Patrick

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Patrick B 2016-09-21 09:23:20 generate CSV with Copy+Quotes - Postgres 9.2
Previous Message John R Pierce 2016-09-21 06:31:30 Re: overwrite column data select - Postgres 9.2