When I create a table like this
create table char_test(
item varchar(10) collate SQL_Latin1_General_CP1_CI_AS
)
go
I can store varchars containing ≥
insert into char_test values ('≥');
When I do a
select item from char_test;
I get
item
----------
=
But using
select replace(item, '≥', '>=') from char_test;
gives
-----------------
>=
So the database knows the character. How can I convert the string to a nvarchar showing this character?
Edit:
The important fact here is, that SQL Server here maps some different characters to the same character without throwing errors or warnings.
I dare call this very bad design.