I need to enforce a unique constraint on the table in a text field to make sure users dont input rows containing the same address. I do not want to validate it though, old records need to be kept
I have made some check constraints with a not valid clause but not sure how to make it unique
How to make a unique check constraint not valid