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:[EMAIL PROTECTED]]
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: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).