SQL Server 中更改decimal 的Column 为 date 报错:Operand type clash: decimal is incompatible with date
0
你好,
表中某个Column开始为Decimal 后来要改成 Date 执行如下语句:
alter table customer alter column DateofBirth date
报错:Operand type clash: decimal is incompatible with date
有没有好的解决方案,还是要删除Column 后重新添加?谢谢
表中某个Column开始为Decimal 后来要改成 Date 执行如下语句:
alter table customer alter column DateofBirth date
报错:Operand type clash: decimal is incompatible with date
有没有好的解决方案,还是要删除Column 后重新添加?谢谢
没有找到相关结果
重要提示:提问者不能发表回复,可以通过评论与回答者沟通,沟通后可以通过编辑功能完善问题描述,以便后续其他人能够更容易理解问题.
2 个回复
cjf7828 2015-10-09 回答
赞同来自:
是不是只有删除字段,重新添加?
悟 - 取是能力,舍是境界 2015-10-09 回答
赞同来自: