Cannot resolve the collation conflict between “Chinese_PRC_CI_AS” and “SQL_L及由于排序规则不同导致查询结果为空的问题

参考资料:cannot resolve the collation conflict between “chinese_prc_ci_as” and “sql_l及由于排序规则不同导致查询结果为空的问题

select * from dbo.esysuser eu where et.typecode like '%'+ eu.usertype +'%'  collate database_default

注意:collate database_default

如果不加这个,就会报错

(0)
上一篇 2022年3月21日
下一篇 2022年3月21日

相关推荐