This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Regarding sorting" Watch "Regarding sorting" New topic

Regarding sorting

santhosh kumar vk
Ranch Hand

Joined: Aug 25, 2009
Posts: 144

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

Santhosh Kumar V.K
Martin Vajsar

Joined: Aug 22, 2010
Posts: 3435

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.
I agree. Here's the link:
subject: Regarding sorting
Similar Threads
Ant and Cactus - classpath issues
http-method not specified
Args in Netbeans
thanks!!! another SCJP born~
Clock problem