plsql show query

Posted by CC on Stack Overflow See other posts from Stack Overflow or by CC
Published on 2010-04-27T13:51:23Z Indexed on 2010/04/27 13:53 UTC
Read the original article Hit count: 645

Filed under:

Hi all,

I have a small problem using oracle pl sql. I have a sql file with some cursor, etc, and the treatement fail but with no details. I have an idea about the problem (a function with parameters) but I would like to see the parameter for each call, to be able to debug, to see exactly with wich parameter fail. This is the message:

DECLARE
*
ERROR at line 1:
ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at line 165
ORA-06512: at line 260

Is there something to set to be able to see some details ?

Thanks.

Best regards, C.C.

© Stack Overflow or respective owner

Related posts about plsql