云卷云舒

Lordeo's Collections

 

sqlserver 修改列类型

alter table (table_name) alter column (column name)  (type)

当表中数据无法转换成新类型时,转换将失败。
最好在表建立之后数据填充之前进行修改。

posted on 2007-09-17 22:40  Lordeo  阅读(3016)  评论(0编辑  收藏  举报

导航