as Sqlerrm() returns message and code which is provided by orecle.
exception 1: like for in implicit cursor when data not found error ouccers n we are writing exception handling like dbms_ou..(sqlerrm());
output: ORA-01403: no data found and for Dbms_output..(sqlcode());--when same exception no data found
output: 100
exception 2: when too_many_rows exception occuers then for it returns
output : when sqlerrm(): ORA-01422:exact fetch returns more than requested number of rows..
output : when sqlcode(): -1422
so,in first situation sqlcode() returns 100 and in too_many_rows it returns -1422 (which is code that provided by oracle).??
so this is my question what is the correct ans. what sqlcode() function returns a number of code which is provided by oracle or any anonymous number??