SQL Server 2014 尾巴上的空格(0x3000,0x20)都可以存储,但在比较时被视为不存在

SQL Server 2014 尾巴上的空格(0x3000,0x20)都可以存储,但在比较时被视为不存在

if ( N’Hi ’ = N’Hi’)
begin
print ‘Yes’;
end else
begin
print ‘No’;
end;

Yes

Leave a Reply

Your email address will not be published. Required fields are marked *