Error message ORA-00001 is missing constraint name ("unique constraint (.) violated")
Hallo,
in my PL/SQL code is an EXCEPTION WHEN clause where I retrieve the error message via call to SQLERRM to subsequent storing it in a log table.
The log table shows entries like "ORA-00001: Unique Constraint (.) violated". While storing the error in the table I store the call stack in the same row, so I know the PL/SQL Package and line number where the error comes from.
So here is my question: In which cases is the constraint name missing and just a dot is showed as the constraint name?
Regards
Frank