Display names of all constraints for a table in Oracle SQL
You need to query the data dictionary, specifically the USER_CONS_COLUMNS view to see the table columns and corresponding constraints: SELECT * FROM user_cons_columns WHERE table_name=”<your table name>”; FYI, unless you specifically created your table with a lower case name (using double quotes) then the table name will be defaulted to upper case so ensure it … Read more