From: Michael A. Mayo <mmayo@mcauleybrooklyn.org>
To: gomathi raju <gomathi_raju@usa.net>
To: pgsql-novice@postgresql.org
Subject: Re: [SQL]
Date: Thu, 25 May 2000 00:54:38 -0400
Message-ID: <004a01bfc666$04f51e40$1ce8b798@362197428> (raw)
References: <20000524213727.2025.qmail@nwcst279.netaddress.usa.net>
----- Original Message -----
From: "gomathi raju" <gomathi_raju@usa.net>
> I want to get the system timestamp from postgresql database.
> But I dont have a dual table from where ,I can select it.
> Give me a solution, from which table(system) I can get it.
No need to get it from a system table; it is available as a sort of "global
constant," current_timestamp.
Use it like this:
SELECT CURRENT_TIMESTAMP;
See the book at: http://www.postgresql.org/docs/awbook.html for more
information.
-Mike
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: mmayo@mcauleybrooklyn.org, gomathi_raju@usa.net, pgsql-novice@postgresql.org
Subject: Re: [SQL]
In-Reply-To: <004a01bfc666$04f51e40$1ce8b798@362197428>
References: <20000524213727.2025.qmail@nwcst279.netaddress.usa.net> <004a01bfc666$04f51e40$1ce8b798@362197428>
* 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