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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change default value 1

Status
Not open for further replies.

rgbanse

MIS
Jun 4, 2001
211
US
I have created and populated an informix table.
The schema has a default value for two of the fields.
I want to remove the default value. Is this possible without blowing away the table and re-populating?
Thx
RGB
 
Hi:

Here's an example:

Given table:

create table x_stkrmlkup
(
stkrmid char(4) not null ,
sendtowm char(1) default 'N'
);

to drop the default, execute this, from dbaccess/isql:

alter table x_stkrmlkup modify sendtowm char(1)

Regards,


Ed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top