Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Native SQL -> Runtime Error: DBIF_DSQL2_SQL_ERROR (OCI returned error code)

Former Member
0 Likes
363

Hi,

I have sometimes a problem with a NATIVE SQL-Statement.

Runtime Error text:

Database error text........: "OCI returned error code -2."

Database error code........: "-2"

Triggering SQL statement...: "FETCH NEXT "

Internal call code.........: "DBDS/NEW DSQL"

Sometimes it works and sometimes we have this error.

Can anyone help me on this error?

Best Regards

André

1 REPLY 1
Read only

Former Member
0 Likes
322

Hi !

also a my job that runs every day, gets the same error in the production system at least once a month ! and nobody could help me to find out why.

Regards

Graziano Cortese