sql操作table

1、增加表字段

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

2、修改字段类型

       a、数据为空的情况

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

                             

posted @ 2014-05-08 10:14  Jack.Y  阅读(1080)  评论(0编辑  收藏  举报