Microsoft
Software
Hardware
Network
Question : Sort by characters
How do i force a ascending sort by characters?
I use SELECT TITLE FROM table ORDER BY title ASC, but got some selections with result like
Åword_1
Åword_2
Äword_2
Aword_1
Bword_1
Dword_1
...
As u see there are country specific characters that sorts before the normal ASCII characters. How do I solve this? MS SQL Server. Another list has the same ascending but another select statement (for another countrys specific characters)
Åword_1
Æword_2
Æword_3
Aword_1
Bword_1
Dword_1
...
Of course the sort by needs to show the ABCDEFGH... sorting! (no numbers in this case).
This is very important.
Many thank's in advanced,
Answer : Sort by characters
select * from tablename
order by ascii(left(fieldname,1)) asc
Random Solutions
Active Server Pages error 'ASP 0201'
Remote desktop
Firefox cannot access Internet - IE CAN!
How can I Define a Default integer in SQL Server 2005 & make it work?
Multiple "IF" Statements in MS Excel
WebSphere 6.0 installation on Windows 2003 server cluster
How to define a bookmark in the Footer Section of Word Document.
Retain login and password when accessing SQL database
I want to clean up an awk command
Forcing the correct join order...