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
Ruby ftp download
Simple Powershell script to search all users in the domain for creation date
How to connect access database from Visual Basic
Auto Save Email Attachemnt to local disk by Outlook 2003
accessing an ODBC datasource via VBA
Which linux distribution is better and stable?
Calculate Statistics From Log file
Table Relationship Information in DB2-IBM for Windows
Crystal reports not displaying correct data; "Failed to load database information" error
Help with mouseover in Flash MX2004