语法没有什么错误,Cannot resolve collation conflict for equal to operation就是排序规则不统一,可以在连接的时候指定排序规则 select a.* from aanew a left join people b on a.ygbh COLLATE 排序规则名 =b.Number COLLATE 排序规则名 =B.invoice
哦,前面笔误,更正:select a.* from aanew a left join people b on a.ygbh COLLATE 排序规则名 =b.Number COLLATE 排序规则名 对于排名规则,看看这篇文章 【T-SQL 排序规则的优先顺序】---〉http://www.zahui.com/html/4/6907.htm
select a.* from aanew a left join people b on
a.ygbh COLLATE 排序规则名 =b.Number COLLATE 排序规则名 =B.invoice
http://community.csdn.net/Expert/FAQ/FAQ_Index.asp?id=3551
a.ygbh COLLATE 排序规则名 =b.Number COLLATE 排序规则名
对于排名规则,看看这篇文章
【T-SQL 排序规则的优先顺序】---〉http://www.zahui.com/html/4/6907.htm