From: George Moga <george@flex.ro>
To: Stanimir Stanev <stancho@macropoint.com>
To: SQL PostgreSQL <pgsql-sql@postgreSQL.org>
Subject: Re: [SQL] date column
Date: Fri, 05 Feb 1999 13:29:51 +0200
Message-ID: <36BAD62E.3C923B52@flex.ro> (raw)
References: <36BAD0BC.200C308C@macropoint.com>
Stanimir Stanev wrote:
>
>
> I have "test" table:
>
> +-------+-------+-------+
> | Field | Type | length|
> +-------+-------+-------+
> | _date | date | 4 |
> |-------+-------+-------+
>
> and i want insert into "test" a row:
>
> test72=> insert into test ('02/02/1999');
> ERROR: parser: parse error at or near "'"
>
> how can i insert date into this table?
>
> 10x to all
> Stanimir
Use:
INSERT INTO test VALUES ('02/02/1999');
^^^^^^^
--
Best,
George Moga,
george@flex.ro
Braila, ROMANIA
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: george@flex.ro, stancho@macropoint.com
Subject: Re: [SQL] date column
In-Reply-To: <36BAD62E.3C923B52@flex.ro>
References: <36BAD0BC.200C308C@macropoint.com> <36BAD62E.3C923B52@flex.ro>
* 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