Subject | Re: [firebird-support] Droppping UNIQUE constraint |
---|---|
Author | Ann W. Harrison |
Post date | 2006-12-01T20:36:52Z |
PenWin wrote:
RDB$RELATION_CONSTRAINTS table for the actual name of
the constraint.
Regards,
Ann
> Hi!I think you're going to have to grub around in the
>
> Yet another question. Some time ago I set a table column to be unique:
>
> ALTER TABLE tablename ADD UNIQUE(column)
>
> Now I discover that I in fact can't have this column unique. How do I drop
> the constraint? The documentation seems to suggest something like
>
> ALTER TABLE tablename DROP CONSTRAINT UNIQUE(column)
>
> But that results in invalid keyword "unique".
RDB$RELATION_CONSTRAINTS table for the actual name of
the constraint.
Regards,
Ann