Re: [SQL] date column

From: George Moga <george(at)flex(dot)ro>
To: Stanimir Stanev <stancho(at)macropoint(dot)com>, SQL PostgreSQL <pgsql-sql(at)postgreSQL(dot)org>
Subject: Re: [SQL] date column
Date: 1999-02-05 11:29:51
Message-ID: 36BAD62E.3C923B52@flex.ro
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(at)flex(dot)ro
Braila, ROMANIA

In response to

  • date column at 1999-02-05 11:06:36 from Stanimir Stanev

Browse pgsql-sql by date

  From Date Subject
Next Message Patrik Kudo 1999-02-05 15:48:44 function returning multiple rows?
Previous Message Stanimir Stanev 1999-02-05 11:18:01 date column, excuse me