pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Együd Csaba (Freemail) <csegyud@freemail.hu>
To: Pablo Digonzelli <pdigonze@sa-sanmiguel.com>
To: pgsql-sql@postgresql.org
Subject: Re: Date datatype
Date: Tue, 21 Dec 2004 07:18:27 +0100
Message-ID: <0I920097F6ULQ8@mail.vnet.hu> (raw)
In-Reply-To: <41C7631E.2010600@sa-sanmiguel.com>

Hi,
I think the problem is the double quote you use. Try a single quote e.g.:

update yourtable set birthdate='200-01-01' where ...

This man must be a very old one... :)

I tried it using timestamp not date, but I think it should work as well.

bye,
-- cs.

-----Original Message-----
From: pgsql-sql-owner@postgresql.org [mailto:pgsql-sql-owner@postgresql.org]
On Behalf Of Pablo Digonzelli
Sent: Tuesday, December 21, 2004 12:41 AM
To: pgsql-sql@postgresql.org
Subject: [SQL] Date datatype

hi all,
Ca anyone send me an example how to update a date datatype?
for example
    update table set birthdate = "200-01-01" doesnt work.

TIA
Pablo


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org



--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.0 - Release Date: 2004.12.17.


-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.0 - Release Date: 2004.12.17.
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.0 - Release Date: 2004.12.17.
 



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.0 - Release Date: 2004.12.17.




view thread (4+ messages)  latest in thread

Message-ID: <0I920097F6ULQ8@mail.vnet.hu>
Permalink:  ../0I920097F6ULQ8@mail.vnet.hu/
Also on:    postgresql.org/message-id/0I920097F6ULQ8@mail.vnet.hu

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: csegyud@freemail.hu, pdigonze@sa-sanmiguel.com
  Subject: Re: Date datatype
  In-Reply-To: <0I920097F6ULQ8@mail.vnet.hu>

* 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