error ORA-01013

  • Thread starter Thread starter Joe Roberto
  • Start date Start date
J

Joe Roberto

What this error message means?

ODBC--call failed.

[Oracle][ODBC][Ora]ORA-01013: user requested cancel of current operation
(#1013)


Thank you.
 
Hi Joe,

It can mean that a lengthy operation/query has timed out on the Oracle
side. You could try unchecking the "Enable Query Timeout" option in the ODBC
DSN configuration. If that does not make any difference and the reason is a
timeout, it probably is caused by the Oracle server's query timeout setting.
In which case you will need to contact your Oracle administration. There
could be other reasons, for all I know. You could try doing the query or
operation in a different manner.

Hope that helps,

Clifford Bass
 
OK, so I have a variant on that. I have a query which executes perfectly in under two seconds on an Oracle server accessed through Oracle SQL developer to test the query syntax and results with ROWNUM <= 10. I cut and paste the exact query through to Access, set it to pass-through, set the timeout to 240 seconds, and still get a time-out error. So my question is, what causes such a delay in a pass-through query from Access via ODBC? Obviously it is not taking all that long to run the real work on Oracle.

The SQL code is:

SELECT
H.SEQ_CLAIM_ID,
H.CLAIM_NUMBER,
H.PRIMARY_SVC_DATE,
H.TOTAL_BILLED_AMT,
H.TOTAL_ALLOWED_AMT,
H.TOTAL_NET_AMT,
D.LINE_NUMBER,
D.SUB_LINE_CODE,
D.DETAIL_SVC_DATE,
D.PROCEDURE_CODE,
D.PROCEDURE_MODIFIER,
D.QUANTITY,
D.BILLED_AMT,
D.ALLOWED_AMT,
D.NET_AMT,
D.CLAIM_STATUS,
D.PROCESSING_STATUS,
D.ADJUDICATION_METHOD,
D.POST_DATE,
D.CHECK_DATE
FROM
DORIS.PROFSVC_CLAIM_HEADER H,
DORIS.PROFSVC_CLAIM_DETAIL D
WHERE
D.SEQ_CLAIM_ID = H.SEQ_CLAIM_ID AND
H.SEQ_CLAIM_ID IN
(SELECT DISTINCT SEQ_CLAIM_ID
FROM DORIS.PROFSVC_CLAIM_DETAIL
WHERE SUB_LINE_CODE = 'A' AND
ROWNUM <= 10 AND
DETAIL_SVC_DATE >= DATE '2010-01-01')
ORDER BY H.SEQ_CLAIM_ID,
D.LINE_NUMBER,
D.SUB_LINE_CODE,
D.POST_DATE,
D.CHECK_DATE;

And I get the dreaded 01013 from Oracle.


What this error message means?

ODBC--call failed.

[Oracle][ODBC][Ora]ORA-01013: user requested cancel of current operation
(#1013)


Thank you.
On Tuesday, July 28, 2009 1:47 PM CliffordBas wrote:
Hi Joe,

It can mean that a lengthy operation/query has timed out on the Oracle
side. You could try unchecking the "Enable Query Timeout" option in the ODBC
DSN configuration. If that does not make any difference and the reason is a
timeout, it probably is caused by the Oracle server's query timeout setting.
In which case you will need to contact your Oracle administration. There
could be other reasons, for all I know. You could try doing the query or
operation in a different manner.

Hope that helps,

Clifford Bass

"Joe Roberto" wrote:
Submitted via EggHeadCafe
SharePoint Tip / Thought of the Day WebPart
http://www.eggheadcafe.com/tutorial...arepoint-tip--thought-of-the-day-webpart.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

ODBC--Call failed. 4
Access Import from Excel Error ORA-01013 1
MS Access - linking table problem 3
Pass Through Query Make Table 3
ODBC - Call failed 1
ODBC 1
Pass-Through Query Error 1
Reports 3

Back
Top