From: | wsheldah(at)lexmark(dot)com |
---|---|
To: | "john" <servobit(at)www2(dot)us(dot)postgresql(dot)org> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Inserting the current date |
Date: | 2001-12-10 16:21:41 |
Message-ID: | 200112101623.LAA14682@interlock2.lexmark.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
The now function will insert the current date and time:
insert into my_table( my_date_field ) values ( sysdate );
--Wes Sheldahl
"john" <servobit%www2(dot)us(dot)postgresql(dot)org(at)interlock(dot)lexmark(dot)com> on 12/08/2001
05:49:29 PM
To: pgsql-general%postgresql(dot)org(at)interlock(dot)lexmark(dot)com
cc: (bcc: Wesley Sheldahl/Lex/Lexmark)
Subject: [GENERAL] Inserting the current date
Hi,
I have a field (Date type) and I'd like to insert the current date and time.
e.g.:
insert into my_table( my_date_field ) values ( sysdate );
Is there an equivalent to Oracle's "sysdate" keyword?
Thanks,
John
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
From | Date | Subject | |
---|---|---|---|
Next Message | Holger Krug | 2001-12-10 16:27:08 | Re: Limit of sequence |
Previous Message | Troy.Campano | 2001-12-10 16:17:42 | Re: use BLOBS or use pointers to files on the filesyste |