DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: sorting problems

  1. #1
    Join Date
    Dec 2000
    Posts
    95

    Question

    Hi,
    I wanted to sort the data by firstname. And i have used the following Query to do that.

    select * from test order by firstname;

    Its sorting the properly but its sorting the upper case values first and then its sorting the lower case values. But my requirement is to sort the data,as case insensitive.


    Thanks for any help

    Srinivas M


  2. #2
    Join Date
    Jan 2001
    Posts
    153
    Hi


    select * from emp
    order by UPPER(ENAME);

    This shd solve u r problem...

    Rgds
    Vijay.s

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width