Alternate Key Constraint
Hi All
I have an existing application that is running 11g. I would prefer not to change the table structure; I understand it is not modeled correctly. I’m looking for an elegant solution for creating either a unique index or table constraint.
I have the following sample table
PK Name Alias
1 AAAA BBBB
2 BBBB
3 CCCC CCCC
I’m looking for a way to prevent record 2 from being inserted however record 3 is valid?