I'm running the following query
to get the name of 2 constraints
:
select TC.Constraint_Name from information_schema.table_constraints TC
inner join information_schema.constraint_column_usage CC on TC.Constraint_Name = CC.Constraint_Name
where TC.constraint_type = 'Unique' and CC.TABLE_NAME = 'NAVIO'
order by TC.Constraint_Name
How can I make a function to exclude each value that returns in this select?