Re: [SQL] CURRENT_TIMESTAMP

From: Roland Roberts <roland(at)astrofoto(dot)org>
To: pgsql-sql(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: [SQL] CURRENT_TIMESTAMP
Date: 2002-09-27 17:29:03
Message-ID: m2it0rpcio.fsf@kuiper.rlent.pnet
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-sql


SQL> create table rbr_foo (a date);

Table created.

SQL> begin
2 insert into rbr_foo select sysdate from dual;
[...wait about 10 seconds...]
3 insert into rbr_foo select sysdate from dual;
4 end;
5 /

PL/SQL procedure successfully completed.

SQL> select * from rbr_foo;

A
---------------------
SEP 27, 2002 12:57:27
SEP 27, 2002 12:57:27

Note that, as near as I can tell, Oracle 8 does NOT have timestamp or
current_timestamp. Online docs say both are present in Oracle 9i.

roland
--
PGP Key ID: 66 BC 3B CD
Roland B. Roberts, PhD RL Enterprises
roland(at)rlenter(dot)com 76-15 113th Street, Apt 3B
roland(at)astrofoto(dot)org Forest Hills, NY 11375

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Weaver, Walt 2002-09-27 17:56:42 Re: Hey, where is Python.h ???
Previous Message Tom Lane 2002-09-27 17:10:49 Re: DBLink problems

Browse pgsql-hackers by date

  From Date Subject
Next Message Florian Weimer 2002-09-27 19:01:38 Re: [GENERAL] Performance while loading data and indexing
Previous Message Joe Conway 2002-09-27 16:53:02 Re: [ODBC] [s.hetze@linux-ag.de: PostgreSQL integration Visual Basic,

Browse pgsql-sql by date

  From Date Subject
Next Message GB Clark 2002-09-27 18:15:47 Constraint problems
Previous Message Jean-Luc Lachance 2002-09-27 17:23:49 Re: Dublicates pairs in a table.