Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: what is wrong with this timestamp??

RE: what is wrong with this timestamp??

From: Nick Wagner <Nick.Wagner_at_quest.com>
Date: Wed, 12 Sep 2001 14:11:16 -0700
Message-ID: <F001.0038C53B.20010912134518@fatcity.com>

try this where clause

WHERE timestamp_date between to_date('06-sep-01 21:22:34','DD-mon-YY HH24:MI:SS') and to_date('06-sep-01 22:01:57','DD-mon-YY HH24:MI:SS') AND user_id_no = 0;

Nick

-----Original Message-----
From: Raghu Kota [mailto:raghukota_at_hotmail.com] Sent: Wednesday, September 12, 2001 2:25 PM To: Multiple recipients of list ORACLE-L Subject: what is wrong with this timestamp??

set timing on;
SELECT SUM(orig_transac_amt),
       COUNT(1)
  FROM dsg.ar_open_items

WHERE timestamp_date between '06-sep-01 21:22:34' and '06-sep-01 22:01:57'
   AND user_id_no = 0;

Ora-1830??

Thanks
Raghu.



Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Raghu Kota

  INET: raghukota_at_hotmail.com
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051 San Diego, California        -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from).  You may also send the HELP command for other information (like subscribing).
Received on Wed Sep 12 2001 - 16:11:16 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US