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

Thread: order by question

  1. #1
    Join Date
    Nov 2000
    Posts
    440

    order by question

    create table t (name varchar2(30));
    insert into t values('Zoro');
    insert into t values('Équipement');
    select name from t order by name;
    select name from t order by name;

    NAME
    ------------------------------
    Zoro
    Équipement


    How can i make the name Équipement ordered before the name Zoro?

  2. #2
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    stick a desc on the end

  3. #3
    Join Date
    Nov 2000
    Posts
    440
    I have thousand of record this was an example.
    We want caracter with accent to not be at the end of the sort.


    If i would have the word "equipement" without accent, the result would be like this:


    equipement
    zoro
    Équipement

    i want the following
    equipement
    Équipement
    zoro

  4. #4
    Join Date
    Aug 2002
    Location
    Colorado Springs
    Posts
    5,253
    Use an appropriate NLS value for your character set.

    http://download-west.oracle.com/docs...099.htm#i78399
    David Aldridge,
    "The Oracle Sponge"

    Senior Manager, Business Intelligence Development
    XM Satellite Radio
    Washington, DC

    Oracle ACE

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