參考資料:Cannot resolve the collation conflict between "Chinese_PRC_CI_AS" and "SQL_L及因爲排序規則不一樣致使查詢結果爲空的問題
html
SELECT * FROM dbo.ESysUser eu WHERE et.TypeCode LIKE '%'+ eu.UserType +'%' COLLATE database_default
注意:COLLATE database_defaultpost
若是不加這個,就會報錯url