Subject | RE: [ib-support] Unique fields |
---|---|
Author | Helen Borrie |
Post date | 2002-06-29T00:03:28Z |
> > Is it possible to make a field unique without specifying anAt 06:56 PM 28-06-02 -0400, Sean Leyne wrote:
> > index on it?
>Technically, yes.Not just that, but it has to be reiterated that enforcing uniqueness by
>
>Partically, no.
>
>You could create a trigger which would need to perform a select to
>ensure/enforce uniqueness, but if the table is large... that could end
>up being a very expensive/time consuming process.
trigger is not multi-user safe.
>A unique index is really the way to go.Hmmm, well, a unique constraint, anyway.
heLen
All for Open and Open for All
Firebird Open SQL Database · http://firebirdsql.org ·
http://users.tpg.com.au/helebor/
_______________________________________________________