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
Can't make a network socket connection
SqlConnection Broken Notification
explod a file making another user owner
Safari Giberish
SYSERR(root): savemail: cannot save rejected email anywhere
How to import Access 2007 Database into SQL Server 2008
xp pro setup stops at licensing agreement
Split on Whitespace
Small Business Server 2003 - Changing Hard Drive Letter.
system unable double click to access C drive