Re: Replace null values - Mailing list pgsql-general

From John R Pierce
Subject Re: Replace null values
Date
Msg-id 4BA85CEB.4020901@hogranch.com
Whole thread Raw
In response to Re: Replace null values  (Nilesh Govindarajan <lists@itech7.com>)
Responses Re: Replace null values  (Nilesh Govindarajan <lists@itech7.com>)
List pgsql-general
> How to convert zero length string to null ?



UPDATE yourtable SET name=NULL WHERE name='';



pgsql-general by date:

Previous
From: "A. Kretschmer"
Date:
Subject: Re: Create a function that updates the record with and timestamps
Next
From: Nilesh Govindarajan
Date:
Subject: Re: Replace null values