pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: Kovalcik, Mike A [ITS] <mkoval01@sprintspectrum.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Date question....
Date: Thu, 22 May 2003 10:51:03 -0500
Message-ID: <20030522155103.GB1667@wolff.to> (raw)
In-Reply-To: <480641561E05E94D9B6CCE1E39AA0300014E06E9@PDAWB06C.ad.sprint.com>
References: <480641561E05E94D9B6CCE1E39AA0300014E06E9@PDAWB06C.ad.sprint.com>

On Thu, May 22, 2003 at 10:38:54 -0500,
  "Kovalcik, Mike A [ITS]" <mkoval01@sprintspectrum.com> wrote:
> Well....
> 
> I set my table up like...
> 
> Bday date
> 
> Where bday is my column name and date is the data type....
> 
> I've tried a lot of things to remove it, but I've had no luck:
> 
> UPDATE address SET Bday = '' WHERE addressid = '4'
> 
> This is when it gives me the error, but I'm not sure what else to put
> there to make sure it is in date format to remove the date completely...

If you are doing things this way then you probably want to use:
UPDATE address SET Bday = NULL WHERE addressid = '4'



view thread (6+ messages)  latest in thread

Message-ID: <20030522155103.GB1667@wolff.to>
Permalink:  ../20030522155103.GB1667@wolff.to/
Also on:    postgresql.org/message-id/20030522155103.GB1667@wolff.to

 · 

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-admin@postgresql.org
  Cc: bruno@wolff.to, mkoval01@sprintspectrum.com
  Subject: Re: Date question....
  In-Reply-To: <20030522155103.GB1667@wolff.to>
  References: <480641561E05E94D9B6CCE1E39AA0300014E06E9@PDAWB06C.ad.sprint.com> <20030522155103.GB1667@wolff.to>

* 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