dbTalk Databases Forums  

Need Help on changing ORDER BY sorting technique

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss Need Help on changing ORDER BY sorting technique in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
aru
 
Posts: n/a

Default Need Help on changing ORDER BY sorting technique - 12-11-2007 , 09:41 AM






Hi,
I have requirement to sort the data something similar to Dictionary.
For example: I have to get the words those have starting character :
spaces, hypen, dashes (any number), $, #, /,\ etc...

I want to sort the data in above order. Please help me how to approach
in Oracle database.


Thanks a lot..

Arumugam

Reply With Quote
  #2  
Old   
DA Morgan
 
Posts: n/a

Default Re: Need Help on changing ORDER BY sorting technique - 12-11-2007 , 10:30 AM






aru wrote:
Quote:
Hi,
I have requirement to sort the data something similar to Dictionary.
For example: I have to get the words those have starting character :
spaces, hypen, dashes (any number), $, #, /,\ etc...

I want to sort the data in above order. Please help me how to approach
in Oracle database.


Thanks a lot..

Arumugam
Go to Morgan's Library at www.psoug.org
Click on ORDER BY
Scroll down to "Non-Default Ordering"
--
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
  #3  
Old   
Frank van Bortel
 
Posts: n/a

Default Re: Need Help on changing ORDER BY sorting technique - 12-11-2007 , 02:08 PM



aru wrote:
Quote:
Hi,
I have requirement to sort the data something similar to Dictionary.
For example: I have to get the words those have starting character :
spaces,
Eh? A word is that what is between spaces. Ergo: a word
cannot start with a space.

(An entry in a tuple can, though)

--
Regards,
Frank van Bortel

Top-posting is one way to shut me up...


Reply With Quote
  #4  
Old   
aru
 
Posts: n/a

Default Re: Need Help on changing ORDER BY sorting technique - 12-12-2007 , 08:48 AM



On Dec 11, 9:30 pm, DA Morgan <damor... (AT) psoug (DOT) org> wrote:
Quote:
aru wrote:
Hi,
I have requirement to sort the data something similar to Dictionary.
For example: I have to get the words those have starting character :
spaces, hypen, dashes (any number), $, #, /,\ etc...

I want to sort the data in above order. Please help me how to approach
in Oracle database.

Thanks a lot..

Arumugam

Go to Morgan's Library atwww.psoug.org
Click on ORDER BY
Scroll down to "Non-Default Ordering"
--
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Washington
damor...@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Groupwww.psoug.org
Thanks...I will look into it.

Arumugam


Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.