Subject | Re: [firebird-support] Removing 'not null' constraint |
---|---|
Author | Daniel Albuschat |
Post date | 2004-06-21T10:27:38Z |
On Monday 21 June 2004 11:36, Martijn Tonies wrote:
I already had a look at RDB$CHECK_CONSTRAINST
but couldn't find out how to do it...
think my customers want to log into the database and drop
this constraint on the next application update. :)
Thanks for your help,
Daniel Albuschat
> Hi,How do I get the constraint name?
>
> > I've done some research already, but there seem to be
> > no way to remove the `not null' constraint from a column, is there?
>
> Not via standard DDL, no.
>
> You can do this via some system table updates and a
> DROP CONSTRAINT <system defined constraint name>
I already had a look at RDB$CHECK_CONSTRAINST
but couldn't find out how to do it...
> Alternatively, download yourself a trial version ofWell, I already have a program that can do this. But I don't
> Database Workbench ( www.upscene.com ),
> fire up the Table Editor and simply uncheck the
> "Not Null" checkbox.
think my customers want to log into the database and drop
this constraint on the next application update. :)
Thanks for your help,
Daniel Albuschat