"SELECT DISTINCT" ignores different cases
Posted
by powerbar
on Stack Overflow
See other posts from Stack Overflow
or by powerbar
Published on 2010-04-15T11:38:22Z
Indexed on
2010/04/15
11:43 UTC
Read the original article
Hit count: 126
sql-server
|sql
Hello, I have the problem, that MSSQL Server 2000 should select some distinct values from a table (the specific column is of the nvarchar type). There are the sometimes the same values, but with different cases, for example (pseudocode):
SELECT DISTINCT * FROM ("A", "a", "b", "B")
would return
A,b
But I do want (and do expect)
A,a,b,B
because they actually are different values.
Any idea how to solve this problem?
Thanks a lot in advance!
© Stack Overflow or respective owner