Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2005-04-27 : 08:03:56
|
| Pallavi writes "Hi, here is my question.TOPIC: SQL SERVER, T-SQLI HAVE A VALUES LIKE THIS 'TJA','JAT' etc(JUST AN EXAMPLE) IN ONE COLUMN. HOW CAN I SORT THE TEXT. I AM NOT EXPERT IN T-SQL.I WANT THE RESULT IN ALPHABETICAL ORDER(SORT) LIKE 'AJT.CAN YOU PLEASE HELP ME.Thank you,Pallavi" |
|
|
mohdowais
Sheikh of Yak Knowledge
1456 Posts |
Posted - 2005-04-27 : 08:08:55
|
| First you need to get those values out of the column into rows. Search the articles on this site for the keyword: CSV and you will find enough articles explaining how to do that. Once that is done, you will have no trouble sorting them.OS |
 |
|
|
|
|
|