字段编码格式不正确 Chinese_PRC_90_CI_AI

来源:互联网 发布:上海游族网络怎么样 编辑:程序博客网 时间:2024/05/20 16:01

在执行SQL的时候会发现报下面这个错误:
collate Chinese_PRC_90_CI_AI 格式不一致。
修改后的代码如下,对其格式进行强制转换:
update crm_Account
set crm_ChannelCode =
(select 代码 collate Chinese_PRC_90_CI_AI
from justTestForImportDate.dbo.Account_DC$
where 账号 collate Chinese_PRC_90_CI_AI =crm_Account.crm_name
)

0 0
原创粉丝点击