Subject | Re: [firebird-support] Removing 'not null' constraint |
---|---|
Author | Martijn Tonies |
Post date | 2004-06-21T09:36:55Z |
Hi,
DROP CONSTRAINT <system defined constraint name>
Alternatively, download yourself a trial version of
Database Workbench ( www.upscene.com ),
fire up the Table Editor and simply uncheck the
"Not Null" checkbox.
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com
> I've done some research already, but there seem to beNot via standard DDL, no.
> no way to remove the `not null' constraint from a column, is there?
> I'd like to be sure about this since there are quite a few dependenciesYou can do this via some system table updates and a
> on this column... I'd have to temporarily clear many
> procedures and drop foreign keys constraints, if I would
> drop this column.
DROP CONSTRAINT <system defined constraint name>
Alternatively, download yourself a trial version of
Database Workbench ( www.upscene.com ),
fire up the Table Editor and simply uncheck the
"Not Null" checkbox.
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com