0
I have a function that does insert
in a table. This table has two columns that are unique email and login. In other tables there are also unique
Keys compostas.
Thus, an exception of the type UNIQUE_VIOLATION code: 23505
can happen if repeated data is attempted into any of the columns that are restricted by unique
Keys.
Question:
- How do I capture which of the
unique
Keys were raped, when there is more than one in the same table, type to return her name, or do some procedure based on that?