输入banner图图片脚本导航/分类

SQLServer 修改数据库字段类型

exec sp_rename data_config.description, description1,COLUMN;
# 创建新的字段并设置为目标格式
alter table data_config add description text ;
# 把临时字段中的值保存到新字段
update data_config set description = description1;
# 删除临时字段
alter table data_config drop column description1;

 

SQLServer 修改数据库字段类型

标签:字段名   ble   保存   div   alt   设置   style   color   add