From: Gaetano Mendola <mendola@bigfoot.com>
To: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Cc: nobody <nobody@nowhere.near.here>
Subject: Re: How to quote date value?
Date: Fri, 21 Nov 2003 19:01:32 +0100
Message-ID: <3FBE52FC.3060503@bigfoot.com> (raw)
In-Reply-To: <bpkqrd$2p0n$1@news.hub.org>
References: <bpkmg7$2aj3$1@news.hub.org>
<bpkqrd$2p0n$1@news.hub.org>
nobody wrote:
> I have found it in documentation, it is single quote. But it does not
> explain why
>
> SELECT '1/11/2003' AS "InvoiceDate";
>
> returns "unknown" data type instead of "date".
Why not a string ? or a fancy custom type ?
Regards
Gaetano Mendola
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: mendola@bigfoot.com, nobody@nowhere.near.here
Subject: Re: How to quote date value?
In-Reply-To: <3FBE52FC.3060503@bigfoot.com>
* 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