Re: overwrite column data select - Postgres 9.2 - Mailing list pgsql-general

From John R Pierce
Subject Re: overwrite column data select - Postgres 9.2
Date
Msg-id bb46b306-6c22-7474-3d6a-216cdfd40810@hogranch.com
Whole thread Raw
In response to overwrite column data select - Postgres 9.2  (Patrick B <patrickbakerbr@gmail.com>)
Responses Re: overwrite column data select - Postgres 9.2  (Patrick B <patrickbakerbr@gmail.com>)
List pgsql-general
On 9/20/2016 10:02 PM, Patrick B wrote:
I've got a table with email column:
email CHARACTER VARYING(50) DEFAULT ''::CHARACTER VARYING NOT NULL,

There are 30k rows and the email column is not null... there is data in there.
But for testing purpose I need to overwrite the email. So the customer won't get an email from me while testing code.

The email could be replaced by: test.UID@example.com

How can I do that?

update table tablename set email = 'test.UID@example.com';     ?





-- 
john r pierce, recycling bits in santa cruz

pgsql-general by date:

Previous
From: amul sul
Date:
Subject: Re: overwrite column data select - Postgres 9.2
Next
From: Patrick B
Date:
Subject: Re: overwrite column data select - Postgres 9.2