参考资料: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
如果不加这个,就会报错
2022-12-19 15:15:37
参考资料: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
如果不加这个,就会报错