I have a table with those fields
Field 1 > ActivityID (PK, NOT NULL)
Field 2 > Alias (Unique) (NULL)
Field 3 > IsActive (NULL)
I want to do a logic delete by that I mean that I don't want to delete the row. I want to change the field IsActive to 0 and the field Alias to NULL
But my problem is that I can't change the Alias Field to NULL because he is unique.
How can do a logic delete with Unique field, when I need to delete the value in the Unique field also.