RE: [SQL] NULL DATE - Mailing list pgsql-sql

From Taral
Subject RE: [SQL] NULL DATE
Date
Msg-id 000a01bdfada$d3c41720$3b291f0a@taral
Whole thread Raw
In response to Re: [SQL] NULL DATE  (ZioBudda <michel@michel.enter.it>)
List pgsql-sql
> ok..
> but i have the case
>     INSERT INTO mytab (a,b,c) VALUES(2,'something','now');
>     now i want to set NULL the date item in this tuple.

either:

INSERT INTO mytab (a,b) VALUES (2,''something');

or if it exists already:

UPDATE mytab SET c = NULL;

Taral

pgsql-sql by date:

Previous
From: jwieck@debis.com (Jan Wieck)
Date:
Subject: Re: [SQL] NULL DATE
Next
From: Ulf Mehlig
Date:
Subject: `statistical' aggregate functions etc.