Subject | Re: [firebird-support] How alter column to be NOT NULL |
---|---|
Author | Martijn Tonies |
Post date | 2010-03-11T11:49:28Z |
Hello Stephane,
visually, you'll get a warning about
NULL values and it generates the proper script for you, that should give you
the idea.
With regards,
Martijn Tonies
Upscene Productions
http://www.upscene.com
Download Database Workbench for Oracle, MS SQL Server, Sybase SQL
Anywhere, MySQL, InterBase, NexusDB and Firebird!
Database questions? Check the forum:
http://www.databasedevelopmentforum.com
> as their is not alter column .. NOT NULL can i do like this to set aDownload a copy of Database Workbench (Lite Edition comes free!) and do it
> column to be not null : UPDATE RDB$RELATION_FIELDS SET RDB$NULL_FLAG = 1
> where ... ??
>
visually, you'll get a warning about
NULL values and it generates the proper script for you, that should give you
the idea.
With regards,
Martijn Tonies
Upscene Productions
http://www.upscene.com
Download Database Workbench for Oracle, MS SQL Server, Sybase SQL
Anywhere, MySQL, InterBase, NexusDB and Firebird!
Database questions? Check the forum:
http://www.databasedevelopmentforum.com