Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Any way to do "unique or null"?
You should use BEFORE INSERT trigger to do so instead of constraint.
Roy Smith wrote:
> I've got a column which I want to allow to be null, but if there is a
> value in it, I want to ensure that value is unique amongst the non-null
> entries. Can a constraint be used to do this?
>
> --
> Roy Smith <roy_at_popmail.med.nyu.edu>
> New York University School of Medicine
Received on Fri Sep 11 1998 - 01:14:44 CDT