Hi,
I am new to oracle and i have a doubt.
sqlerrm is a function which returs the error message of an error code.e.g
begin
dbms_output.put_line(sqlerrm(-1));
end;
ORA-00001: unique constraint (.) violated
but when i do the same thing with sql query it gives me error.
select sqlerrm(-1) from dual;
ORA-00904: "SQLERRM": invalid identifier
Please help me to explain the problem.
Thanks