Re: [GENERAL] Date insert in table?

From: "omid omoomi" <oomoomi(at)hotmail(dot)com>
To: ntwebdeveloper(at)yahoo(dot)com, pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] Date insert in table?
Date: 2000-02-21 12:43:19
Message-ID: 20000221204319.12901.qmail@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


insert into table foo values ( date(now() ) ;
( you may change date format using set command )

>From: Peter Landis <ntwebdeveloper(at)yahoo(dot)com>
>To: pgsql-general(at)postgreSQL(dot)org
>Subject: [GENERAL] Date insert in table?
>Date: Mon, 21 Feb 2000 08:39:35 -0800 (PST)
>
>
> I have a problem to insert system date (current date)
>into a table in postgresql database.
>
>Unlike Oracle,it can not insert. Why is the length for
>"date" type only 4 (the format in Oracle should be
>YYYY-MM-DD)? How would you insert a date in the
>postgresql table? I am very appreciated if you could
>give me a reply.
>
>thanks
>__________________________________________________
>Do You Yahoo!?
>Talk to your friends online with Yahoo! Messenger.
>http://im.yahoo.com
>
>************
>

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

Browse pgsql-general by date

  From Date Subject
Next Message Marco Giardini 2000-02-21 13:34:36 copying databases
Previous Message Differentiated Software Solutions Pvt. Ltd. 2000-02-21 09:11:48 Postgres grows in RAM