I suspect the intent of the question was not how to execute the "select now()" query, but if there was a torque-based database-independent mechanism to get the database time.
For example, to retrieve the time from an Oracle database, the same code would read
BasePeer.executeQuery("select sysdate from dual");
-----Original Message-----
From: Rodney Schneider [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 7:45 PM
To: Turbine Torque Users List
Subject: Re: finding out the database time?
Hi,
BasePeer.executeQuery("select now()");
-- Rodney
On Fri, 31 May 2002 01:03, you wrote:
> Using Torque, how would one go about finding out the time the database
> has? An example being "select now()" in MySQL.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
