unique if not null constraint
Roger25Mar 11 2009 — edited Mar 11 2009Hi,
i have to add a constraint to a field, that field being unique but when is not null. i should mention that i have already another pk defined for this table.
... add constraint un_elevi_CNP unique(CNP) --but just if it's not null
how to do this?
Regards,