pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Taral <taral@mail.utexas.edu>
To: ZioBudda <michel@michel.enter.it>
To: Jan Wieck <jwieck@debis.com>
Cc: pgsql-sql@postgreSQL.org
Subject: RE: [SQL] NULL DATE
Date: Sun, 18 Oct 1998 16:03:59 -0500
Message-ID: <000a01bdfada$d3c41720$3b291f0a@taral> (raw)
In-Reply-To: <Pine.LNX.4.03.9810182242320.1552-100000@michel.enter.it>

> 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



view thread (5+ messages)

Message-ID: <000a01bdfada$d3c41720$3b291f0a@taral>
Permalink:  ../000a01bdfada$d3c41720$3b291f0a@taral/
Also on:    postgresql.org/message-id/000a01bdfada$d3c41720$3b291f0a@taral

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: taral@mail.utexas.edu, michel@michel.enter.it, jwieck@debis.com
  Subject: Re: [SQL] NULL DATE
  In-Reply-To: <000a01bdfada$d3c41720$3b291f0a@taral>
  References: <Pine.LNX.4.03.9810182242320.1552-100000@michel.enter.it> <000a01bdfada$d3c41720$3b291f0a@taral>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox