Sybase中给表增加字段
新增一个非空列并对这列指定默认值,就可以成功增加列
alter table AP_SYS_USERMSG add SESSIONID varchar(50) default "0" not null
给表AP_SYS_USERMSG新增加SEEEIONID字段设置默认值为0
新增一个非空列并对这列指定默认值,就可以成功增加列
alter table AP_SYS_USERMSG add SESSIONID varchar(50) default "0" not null
给表AP_SYS_USERMSG新增加SEEEIONID字段设置默认值为0