File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and the fly likes Sorting a string Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Sorting a string" Watch "Sorting a string" New topic

Sorting a string

Mahesh Lohi
Ranch Hand

Joined: Jun 22, 2009
Posts: 150
Hi all,

Is it possible to sort a string column in mysql. Like DESC that we use

Thank you in advance
Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 29220

Does "order by <column> asc" or "order by <column> desc" not do what you want?

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Mahesh Lohi
Ranch Hand

Joined: Jun 22, 2009
Posts: 150
Thank you for the reply. I got it..

subject: Sorting a string
Similar Threads
How to convert byte array into string array?
WA #1.....word association
date format with MS Access database
ResultSet to Array
Tech Word Game