增加表字段的写法

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/baidu_36935379/article/details/78913688

微笑

1.alter table [表名] add 字段名 double default 0 增加数字字段,双精度型,缺省值为0

example:alter table tb_task add znj float default 0

2.alter table tb_valve_shebei  add ID  int identity(1,1)



猜你喜欢

转载自blog.csdn.net/baidu_36935379/article/details/78913688