Constraint unique where other column
Hi,
It's possible to have constrait unique on A column only if otherB column value is null when insert ?
It's possible to have constrait unique on A column only if otherB column value is null when insert ?
CREATE UNIQUE INDEX index_name
ON table_A (column_A)
WHERE column_B IS NULL;