Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change the NOT NULL attribute

Status
Not open for further replies.

beatsme

IS-IT--Management
Dec 10, 2003
2
US
jell-o
how can i change the NOT NULL attribute of an existing column in interbase???
thanks
moises
 
You have to erase the column and recreate it.

Copy the data first to a temporary column, drop the column to be modified, recreate it and copy the data from the temporary column. Steven van Els
SAvanEls@cq-link.sr
 
Use InterBase Workbench, open the Table Editor, click the flag and save.


If you're changing from NULLable to NOT NULL, make sure to fill the column with data.

Martijn Tonies
InterBase Workbench - the developer tool for InterBase and Firebird
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top