How to fix the Oracle error SQL-02137: Multi-threaded agent with no RETURNING clause present?

In this post, you’ll learn more about the Oracle ErrorSQL-02137: Multi-threaded agent with no RETURNING clause present with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

SQL-02137: Multi-threaded agent with no RETURNING clause present

Reason for the Error SQL-02137: Multi-threaded agent with no RETURNING clause present

Cause: The EXEC SQL REGISTER CONNECT statement does not contain a RETURNING clause and the agent is running in threaded mode.

How to fix the Error SQL-02137: Multi-threaded agent with no RETURNING clause present ?

You can fix this error in Oracle by following the below steps

Action: Re-code the statement to use a RETURNING clause that references a declared sql_context host variable.

Tags :

Leave Your Comment