wood burning stoves 2.0*
The moose likes Oracle/OAS and the fly likes Regarding sorting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Regarding sorting" Watch "Regarding sorting" New topic
Author

Regarding sorting

santhosh kumar vk
Ranch Hand

Joined: Aug 25, 2009
Posts: 144
Hi,

How to sort column which have some special characters like $#%## but i am getting wrong results, Could you please tell me how to short.

Thanks,
Santhosh Kumar V.K
Martin Vajsar
Sheriff

Joined: Aug 22, 2010
Posts: 3606
    
  60

What have you tried? What does "wrong result" mean?

There are various lexicographic rules, and their ordering of these special characters might differ. Oracle has a session parameter called NLS_SORT which determines the lexicographic rules used for sorting and affects all queries in the session. Then there is a NLSSORT function that can be used to override the session-wide setting for a single query.
 
Don't get me started about those stupid light bulbs.
 
subject: Regarding sorting
 
Similar Threads
Ant and Cactus - classpath issues
http-method not specified
Clock problem
thanks!!! another SCJP born~
Args in Netbeans