Why does hyphen cause difference in comparing varchars versus comparing nvarchars in SQL Server?

前端 未结 0 371
青春惊慌失措
青春惊慌失措 2020-11-30 03:17

I expected all of the following SQL queries to return no results:

select 1 where  \'-\' > \'A\' collate Latin1_General_BIN
select 1 where  \'-\' > \'A\'         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题