Oracle constraint Oracle constraint oracle oracle

Oracle constraint


You can achieve this using a funcction-based index (FBI):

create unique index idx on my_table (case when col != 'DEFAULT' then col end));

That creates a unique index on all values except 'DEFAULT'.