sql操作table

1、增加表字段

    alter table tbsptrustquotdoc(表名)  add  chargeapplystate(字段名) char(1)(类型) default '1'(默认值)

2、修改字段类型

       a、数据为空的情况

       alter table 表名 modify (字段名  字段类型)

                             

原文地址:https://www.cnblogs.com/ymj126/p/3715554.html