I need to display the list of integrity constraints of my solution by indicating the name of the constraint, its type and the detail of the constraint (message that explains what validates the constraint), all sorted by table name and constraint name.
This is what I tried :
SELECT constraint_name, constraint_type
FROM user_constraints
WHERE table_name = 'mytable'
How can I display all of that and also give a message that indicates what validates the constraint ?