"Derk" <> wrote in message
news:...
: I have an oracle database with about 4 million receipts, we are running
some
: asp pages to retireve/display data.
:
: I am getting the above error when running the following
:
: ================================================== =============
: sConn="dsn=craudit2;uid=www_user;password=receipts "
:
: set oDB = server.createobject("ADODB.Connection")
: oDB.open sConn
:
: sSQL = "Select sum(Amount) TotAmount, Count(*) TotCount from Receipts
: where"
: sSQL = sSQL & " Fund = 15"
: sSQL = sSQL & " and ( ReceiptDate >= '01-APR-03' and ReceiptDate <=
: '30-SEP-03')"
:
: response.write sSQL
:
: set oRRS = oDB.execute(sSQL) <- fails at this line
This is related to Oracle. You get this error when a user requests it,
which would make it correct or when a timeout occurs. This means you should
look at the previous error for clues.
http://www.cryer.co.uk/brian/oracle/ORA01013.htm
HTH...
--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center -
http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation -
http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library -
http://msdn.microsoft.com/library/default.asp