If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Sorting alphabetically in iformix

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-20-04, 03:43
insix insix is offline
Registered User
 
Join Date: Jan 2004
Posts: 2
Sorting alphabetically in iformix

Is there any function which can sort a column alphabetically, in informix sql.
I am displaying data pulled from (a column of a table in) an informix db, onto a JSP page, in an html table's column. This html table's column is supposed to sort data alphabetically, on cliking a button on the same page. Currently, the column gets sorted on the basis of ASCII values of first letters; i.e., A, B, C, D........X, Y, Z, a, b, c, d...x, y, z;; that is, capital letters first, and small ones later on.
Can some function be used in SQL at the time of pulling data via SQL, so that the data comes out alphabetically sorted, instead of ASCII-cally?
Please help.

Thanks a lot in advance.

Last edited by insix; 07-20-04 at 03:45.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On