RE: finding out the database time?Yes this was indeed the intent. It seems
antithetical to torque to have to case somewhere on DB type to execute a
time query.

Perhaps this is best posed to the developers?
  -----Original Message-----
  From: Lach, Thierry [mailto:[EMAIL PROTECTED]]
  Sent: Monday, June 03, 2002 9:45 AM
  To: 'Turbine Torque Users List'
  Subject: RE: finding out the database time?


  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]>

Reply via email to