I have a constraint
in the bank that is all with its capitalized name. How do I count
find it using UPPER
? Because I want to pass where
a lowercase name to return. This my query is not working.
select count(*)
from all_cons_columns
where UPPER(constraint_name) = 'FK_od8ou6g1l9t7iufcp3o0to189';
That is, return 0 when it should return 1. If I put the name as it is in the database it returns 1.