SQL Server like 字段
作者:互联网
参考资料: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
如果不加这个,就会报错
标签:like,database,default,Server,报错,COLLATE,SQL,eu 来源: https://www.cnblogs.com/augustuss/p/14127832.html