User defined characters

Original Post:
Hello:
I got the same problem, that oracle client SQL*PLUS and other database tool like TOAD doesn't support the user-defined characters.
Note : the database's encoding is Big-5 but the client uses Codepage 950.
I've tried set NLS_LANG=TRADITIONAL CHINESE_TAIWAN.ZHT16MSWIN950 but it still fails.
The user defined character has it's Big-5 code and Unicode in the system, which works fine. And the encoding conversion is fine with Java program with JDBC, but it doesn't work with Oracle client and other database tool that I suppose the encoding conversion is done by oracle client too.
Thanks for the reply.
My Answer to S. Wolicki :
1. The Database Character set is UTF8
2. select DUMP(NAME, 1016) from PBB
it returns:
Typ=1 Len=9 CharacterSet=UTF8: e5,bc,b5,e9,82,b1,e5,b3,af
(Note : there are 3 characters, the 3rd character is "e5, b3, af", which is a user-defined character and failed to convert)
the character in Big-5(CP950) is cb 8e, and in unicode it's e3 7a.
Software version :
SQL*Plus: Release 10.2.0.1.0
Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Oracle Label Security, OLAP
and Data Mining options

The user defined character has it's Big-5 code and
Unicode in the system, which works fine.
And the encoding conversion is fine with Java program with
JDBC, but it doesn't work with Oracle client and
other database tool that I suppose the encoding
conversion is done by oracle client too.
1. The Database Character set is UTF8
2. select DUMP(NAME, 1016) from PBB
Typ=1 Len=9 CharacterSet=UTF8:
e5,bc,b5,e9,82,b1,e5,b3,af
(Note : there are 3 characters, the 3rd character is
"e5, b3, af", which is a user-defined character and
failed to convert)What did you mean by failed to convert?
Not being familiar with the glyphs or languages used here, I used the character info from these urls
http://unicode.org/cgi-bin/GetUnihanData.pl?codepoint=5cef
http://www.microsoft.com/globaldev/reference/dbcs/950.mspx
character       unicode  (Big-5 /    utf-8 encoded
                      code page 950)
stretch; sheet   U+5F35   B169        ->  e5 bc b5
surname; hill    U+90B1   AAF4        ->  e9 82 b1
peak, summit     U+5CEF     ?         ->  e5 b3 afThe last character here, I did not find the definition in cp 950. Perhaps FBDF but this code point is marked as "unused" in Windows code page 950.
Which Windows code page are you using exactly? (Maybe some extension?)
>
the character in Big-5(CP950) is cb 8e, and in
unicode it's e3 7a.According to Microsoft definitions cb8e is undefined.
U+E37A is in the Private use area.
What result do you expect, and what result do you get in e.g. Sql*plus?
Message was edited by:
orafad

Similar Messages

  • How to change the text of a user defined field in dynamic selections?

    Logical Database PSJ is used by t code CJI3 - we added a couple of user fields into the dynamic selections of CJI3.
    Now - how to change the text of this user filed (USR01 of structure PRSP_R in logical database PSJ)?
    Found an OSS note - 86980 - that tells that this is not possible.
    But when we read the documentation on the user field (CJI3 - dynamic selections  - double click on user field - F1), it shows the following text:
    User-defined field in which you can enter general information with a length of up to 20 characters.
    Dependencies
    The names (key words) for  user-defined fields depend on the field key.
    Now the question is where to change the field key..
    Thanks,
    Ven

    Madhu - you did not get the question I think.
    Anyways - I found an OSS note 1266643 - this code change should take care of the issue - it will then reflect the details maintained in custoizng at transaction code OPS1..
    Thanks,

  • Error -5002 when adding linked user defined field using DI API

    Hello,
    When I try to add a linked user defined field using DI API I get the error number -5002 with description:
    "The field 'Related Table' should consist of 8 alphanumeric characters with no valid or default values"
    I Get the error when I use the Add method.
    What is the solution for this problem? I use SBO 2005 A SP1 Patch 18
    The code I use is (.NET C# 2.0):
    SAPbobsCOM.IUserFieldsMD uf = (SAPbobsCOM.IUserFieldsMD)company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields);
    uf.Name = "S_BUCO";
    uf.TableName = "OPOR";
    uf.Type = SAPbobsCOM.BoFieldTypes.db_Memo;
    uf.SubType = SAPbobsCOM.BoFldSubTypes.st_Link;
    uf.LinkedTable = "S_BU";
    uf.Description = "Description";
    uf.Add()
    Regards,
    Jeffrey

    Hi Jeffrey,
    Your code above does not match the settings you are using in the UI. In particular, the type and subtype you are setting in code are not correct.
    To create the UDF via code, set the field types as follows:
    SAPbobsCOM.IUserFieldsMD uf = (SAPbobsCOM.IUserFieldsMD)company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields);
    uf.Name = "S_BUCO";
    uf.TableName = "OPOR";
    uf.Type = SAPbobsCOM.BoFieldTypes.db_Alpha;
    uf.EditSize = 8;
    uf.LinkedTable = "S_BU";
    uf.Description = "Description";
    uf.Add()
    There's no need to set the SubType property as you require a regular alphanumeric field.
    Kind Regards,
    Owen

  • How to handle user-defined character in java??

    Dear all,
    i am new to internalization and localization.
    i am now porting an application from vb.net to java.
    the vb.net version can handle (input/output [to file, screen, database] ...etc) user defined character (charset is big5 + extra characters) transparantly.
    what i need to do is update the file EUDC.tte in windows (which seems have native charset codepoint to unicode codepoint info) ..
    could anybody tell me how can i achieve the same thing in java??
    thank you.
    lsp

    pslkwan wrote:
    Hi DrClap,
    it seems i need to write CharsetProvider, charsetdecoder, charsetencoder...etc...
    do you have example / sample for me to follow???? I googled for "java charsetprovider example" and got one as the first hit.
    btw, is it possible to replace the default big5 charset implementation with my own one so that the existing code can take advantage of the my own charset classes???You don't want to replace the default, just specify which one to use when needed. Pretty much any operation that involves charsets lets you specify which one to use. If your current code relies on the default, then you should change that.

  • Java: how to handle user-defined character (UDC)??

    Dear all,
    i am new to internalization and localization.
    i am now porting an application from vb.net to java.
    the vb.net version can handle (input/output [to file, screen, database] ...etc) user defined character (charset is big5 + extra characters) transparantly.
    what i need to do is update the file EUDC.tte in windows (which seems have native charset codepoint to unicode codepoint info) ..
    how can i achieve the same thing in java??
    thank you.
    lsp

    pslkwan wrote:
    Hi DrClap,
    it seems i need to write CharsetProvider, charsetdecoder, charsetencoder...etc...
    do you have example / sample for me to follow???? I googled for "java charsetprovider example" and got one as the first hit.
    btw, is it possible to replace the default big5 charset implementation with my own one so that the existing code can take advantage of the my own charset classes???You don't want to replace the default, just specify which one to use when needed. Pretty much any operation that involves charsets lets you specify which one to use. If your current code relies on the default, then you should change that.

  • User-defined fields in Enjoy transactions

    Hi,
    we have created two user-defined fields and added these in the entry variant for Enjoy transactions. However, we would like the fields to show with fewer characters. We have tried to reduce the length in the entry variant, but it seems that you cannot do this. We do not want to reduce the length of the field in the database.
    Is there any way around this?
    Thanks,
    Moly

    Hi,
    You should be able to do it via screen painter.
    Please check this help:-
    [http://help.sap.com/saphelp_nw04/helpdata/en/d1/801c3a454211d189710000e8322d00/content.htm]
    Also you should put this query in SAP ABAP forum, where you will get more appropriate answers.
    Regards,
    Gaurav

  • User Defined Fields/data items

    How can I add user defined fields on runtime in a pre-defined data blocks wiht the user defined attributes of data type, length and format masks.
    Ofcouse I should have those fields defined in DB first.
    Thanks for any help

    I have a similar need.
    I have a DB table that stores a list of questions and data types/sizes/usages of the answers required by the user of the form.
    In a multi-record database block, I currently list the questions, and supply a Text Item to capture the user's answers, and then provide validation code to check for the proper data type & number of characters.
    I would like to be able to use the data type/size/usage information that is stored with each question to create, at runtime, an appropriate item (numeric text item max length 3, or character drop-down list box, or character text item with an LOV, etc.) for each question record. In other words, one record could have a drop-down list box, while another record could have a numeric text item.
    I think that I can create separate fields for each type of item, and then enable/disable the fields when required, but this solution is less elegant than the programmatic solution that I desire.
    Is there a way to do this programmatically in Oracle Forms 6.0.5.0.2 for Windows, or with an OCX, or some other add-in? We do not have Oracle Applications in this group. Is there a way to get "FlexField" without having Oracle Applications?
    I agree that this is a normal requirement these days as administrator-type users (as opposed to data-entry end-users) of applications want to be able to dynamically customize the app for their usage.
    Oracle needs to address this issue by creating the ability in Forms/Reports to create customizable apps.
    Thank you in advance for any help you can provide.

  • User Defined Fields on System Form

    Dear All,
                   I want to know that how much User Defined Fields can be added on a system form. My problem is that I am developing an add-on for the Item Master Data. And I have used a lot of User Defined Fields on Item Master Data Forms which contains table 'OITM'. Now if I am trying to add any extra User Defined fields in OITM Table, I am not able to do so. I am getting an error as  'Internal Error Occurred'. What can i do regarding this problem.?  Help me. It is something very important.
    Thanks and Regards

    Hi,
    There is theoretically no limit on the number of UDF for a table. there is however a maximum number of characters for a record in SQL Sever.
    As far as I know this is 4000 in SQL Server 2005 and older and 8000 in SQL Server 2008.
    pls check Microsoft for the exact numbers
    Regards
    Ad

  • Validating User Defined Fields on the OIM User Object

    Hello everyone,
    I'm currently using the OIM 11g, and am curious how to provide data validation for user defined fields.
    We currently have two user-defined fields for day of birth and month of birth, which have been set to required, but I would like to take this a step further and actually validate that the data being entered is numerical (two characters max), and if it's not, a red box appears around the field notifying the admin that the entry needs to fit the expected criteria.
    One example already in OIM is that of the email field. It appears to be using a regex to identify that data entered is of a certain format.
    Can anyone here point me in the direction of some proper documentation so that I may learn how to incorporate this into my environment? Thanks!

    Hi Kate,
    The only way to do it, is with Form Settings. Do not give them authorisations on Form Settings. You can then untick the "Active" tick box on certain fields and tick it on others. This can then be done, when you log on as the user him/herself.
    Regards
    Carin

  • 64,000 character limit on UDT user defined field column

    Hey All.
    We are storing more then 64,000 characters into a UDT user defined field column as it stores a large XML document. How can I retreive this information from the UDT using the DI API? Everytime I try to do this using either the UDT object or SAP recordset it chops off the data to 64000 characters. The UDF was created as a "TEXT" type using B1 client and when I look in the database it has a datatype of NTEXT.
    Is this a bug or is there no way using DI API to retreive all the data?

    Curtis,
    Apologies for my delay in getting back to you.
    I do not know the reasoning behind the limit.  As far as 2007A is concerned, the documentation that I was looking at when I first responded to your question was the 2007A SDK Help documentation, so I would say it is the same in 2007.
    I believe that you can use ADO to access data in SAP Business One as there are other ISV's that use ADO, just not access via stored procedures directly to the Business One database.  ADO and ODBC connectivity have rules in place for data validation, although it is recommended that you use the Business One API's for data access as much as possible.  You could also store data in your own tables in a separate database and retrieve from there.
    Eddy

  • 4.1EA2 User-Defined-Report strips CRLF when using PL/SQL DBMS Output

    Hi,
    I have a report with a child report.
    That child report uses pl/sql to print to the screen. (dbms output)
    When i use the procedure manually it prints fine.
    When i copy this output to a text editor i can see the CRLF in there.
    If i call the same procedure tru the reports section of SQLDeveloper the output is stripped of any CRLF characters.
    This is causing it to be useless for me: i am using it to generate code and it all appears as one big line on the screen.
    Copying this to a text editor indeed shows all CRLFs gone.
    Is this intentional or a bug ?

    Jeff,
    Thnx for the answer.
    I don't have a problem writing html in my code being a former webdeveloper with experience in apex as well.
    The problem is that the option presents itself as a standard plsql dbmsoutput, which suggests identical output as a dbmsoutput pane in sqldeveloper.
    From your answer i gather it really is supposed to do html formatting.
    Your "solution" of inserting br tags would be fine if it weren't for the fact that when i do a copy of the output in this report pane sqldeveloper strips away the br tags but doesn't replace them with crlf's.
    And since the crlfs that were in the output are also stripped in this result pane i get a single line of text when i copy over a page of text from the result pane into a normal texteditor.
    As such it behaves differently then say a browser when i copy a page of text from the browser and paste it in a text editor. There i see the crlfs that were present in the original source.
    Is there a listing somewhere that explains what tags are supported?
    Or CSS ?
    Does it support stuff like white-space: pre ?
    I understand the usefullness of a html-aware plsql dbmsoutput output option in the reports list of a user-defined report.
    However i would like to use this opportunity to advocate to include , as an extra option or tick box etc., an option to just display the output as the normal dbmsoutput pane displays it.
    That is without extra formatting.
    I like the idea of being able to click in the table section above and to have bottom pane generate the appropriate code as output.
    That  use-case can not happen right now since it formats as html (and not even the correct way) or, when going along with this route, strips everything to a single line of text when copying the data from the result pane.
    rgrds mike

  • User defined field with Linked Table property

    Hi All,
    I know this has been posted several times but I cannot get this to work.  I am trying to add a user defined field and link it to a table. 
    I am getting the error "The field 'Related Table' should consist of 8 alphanumeric characters with no valid or default values " 
    Everything I check says that the code I am using is correct.  Is it possible the problem is that I am trying to connect to an SAP table instead of a user defined table.  Is it possible to link a user defined field to an SAP table?
    My code below:
                    oUserFieldsMD.TableName = "OITM"
                    oUserFieldsMD.Name = "SHP"
                    oUserFieldsMD.Description = "Must ship via"
                    oUserFieldsMD.LinkedTable = "OSHP"
                    oUserFieldsMD.Type = SAPbobsCOM.BoFieldTypes.db_Alpha
                    oUserFieldsMD.SubType = SAPbobsCOM.BoFldSubTypes.st_None
                    oUserFieldsMD.EditSize = 8
                    oUserFieldsMD.Size = 8
                    oUserFieldsMD.Mandatory = SAPbobsCOM.BoYesNoEnum.tNO
    Thanks
    Karen

    Hello  Karen,
    you cannot link a userfield to a system table. it has to be link to a user table.
    oUserFieldsMD.LinkedTable = "OSHP"
    when you have error, just try to do it using the same value in the application. If you cannot do it, it means you cannot do it neither with the DI
    Sebastien

  • Generating user defined Graph nodes

    Can anyone tell me how I can generate a user defined number of Graph.Nodes from the keyboard instead of going through them one at a time please. I have tried to use a for loop but I can't get it to work.
    Can anyone help.
    import java.util.Iterator;
    public class GraphTest{
         public static void main(String[] args){
              ASDigraph graph = new ASDigraph();
                                               // Instead of the following I would like the user to type a number
              // from the keyboard to generate any number of nodes.
              Graph.Node nodeA = graph.addNode("A");
              Graph.Node nodeB = graph.addNode("B");
              Graph.Node nodeC = graph.addNode("C");
              Graph.Node nodeD = graph.addNode("D");
              Graph.Node nodeE = graph.addNode("E");
              Graph.Node nodeF = graph.addNode("F");
              // There is other code here to generate random edges to each
              // vertex
              Iterator iter;
              iter = graph.successors(nodeA);
              System.out.println("Depth first search starting at A:");
              while(iter.hasNext()){
                   Graph.Node node = (Graph.Node) iter.next();
                   System.out.print(node.getElement() + " ");
              System.out.println('\n');
    }This is the method used to add a node to the graph. This is taken from the ASDigraph class
    public Graph.Node addNode (Object elem) {
        // Add to this graph a new node containing element elem, but with no
        // connecting edges, and return the new node.
            ASDigraph.Node node = new ASDigraph.Node(elem);
            node.prevNode = null;
            node.nextNode = firstNode;
            firstNode = node;
            size++;
            return node;
        }I also use this Input class for user entry from the keyboard. For instance: -
    // Create nodes
              System.out.print("Enter the number of nodes : ");
              nodeLength = new int[Input.readInt()];
              //Initialize each node an element
              for(i=1; i<nodeLength.length; i++){     
                                                     // I tried to put code here to generate graph nodes          
    // class starts here
    import java.io.*;
    public class Input
            public static int readInt()
               byte nos[] = new byte[12];  //*** Stores characters read ***
               int noread;                 //*** Number of characters read ***
               //*** Read keys pressed as a set of bytes ***
               try
                    noread = System.in.read(nos) - 2; //*** Ignore \n and \r ***
               catch(IOException e){}
               int v = 0;
               int multiplier = 1;
               int start = 0;
               //*** IF it starts with a minus THEN ***
               if(nos[0]=='-')
                    //*** Start at the second char and change the sign ***
                    start=1;
                    multiplier= -1;
               //*** Create a value from the bytes ***
               for(int c=start;nos[c] !=13;c++)
                    v = v*10 + nos[c] - '0';
               return v*multiplier;
            public static float readFloat()
               byte nos[] = new byte[15];
               int noread;
               //*** Read keys pressed as a set of bytes ***
               try
                    noread = System.in.read(nos) - 2; //*** Ignore \n and \r
               catch(IOException e){}
               boolean frac=false;
               float v=0;
               float dp=0;
               int multiplier=1;
               int start=0;
               //*** IF first character is minus THEN ***
               if(nos[0]=='-')
                    //***Start at second character and change sign ***
                    start=1;
                    multiplier=1;
               //*** Convert to number ***
               for(int c=start; nos[c]!=13; c++)
                    if(nos[c]==(int)'.')
                            frac=true;
                            dp=10;
                            continue;
                     if(!frac)
                            v = v*10 +nos[c] - '0';
                     else
                            v = v+(float)((nos[c]-'0')/dp);
                            dp*=10;
                return v*multiplier;
             public static char readChar()
               byte nos[] = new byte[10];
               int noread=0;
               //*** Read keys pressed as a set of bytes ***
               try
                    noread = System.in.read(nos) - 2; //*** Ignore \n and \r
               catch(IOException e){}
               if(noread>0)
                    return (char)nos[0];
               else
                    return'\0';
             public static String readString()
               byte nos[] = new byte[80];
               int noread=0;
               //*** Read keys pressed as a set of bytes ***
               try
                    noread = System.in.read(nos) - 2; //*** Ignore \n and \r
               catch(IOException e){}
               String s="";
               //*** Convert bytes to  characters and add to string ***
               for(int p=0; p<noread; p++)
                    s=s+(char)nos[p];
               return s;

    ASDigraph graph = new ASDigraph();
    // Create nodes
    System.out.print("Enter the number of nodes : ");
    int nodeLength = Input.readInt();
    //Initialize each node an element
    char currentCar = 'A';
    for (int i = 0; i < nodeLength; i++) {     
        graph.addNode(String.valueOf(currentCar));
        currentCar++;

  • Generating user defined nodes

    Can anyone tell me how I can generate a user defined number of Graph.Nodes from the keyboard instead of going through them one at a time please. I have tried to use a for loop but I can't get it to work.
    Can anyone help.
    import java.util.Iterator;
    public class GraphTest{
         public static void main(String[] args){
              ASDigraph graph = new ASDigraph();
              // Instead of the following I would like the user to type a number
              // from the keyboard to generate any number of nodes.
              Graph.Node nodeA = graph.addNode("A");
              Graph.Node nodeB = graph.addNode("B");
              Graph.Node nodeC = graph.addNode("C");
              Graph.Node nodeD = graph.addNode("D");
              Graph.Node nodeE = graph.addNode("E");
              Graph.Node nodeF = graph.addNode("F");
              // There is other code here to generate random edges to each
              // vertex
              Iterator iter;
              iter = graph.successors(nodeA);
              System.out.println("Depth first search starting at A:");
              while(iter.hasNext()){
                   Graph.Node node = (Graph.Node) iter.next();
                   System.out.print(node.getElement() + " ");
              System.out.println('\n');
    //This is the method used to add a node to the graph. This is taken from the ASDigraph class
    public Graph.Node addNode (Object elem) {
        // Add to this graph a new node containing element elem, but with no
        // connecting edges, and return the new node.
            ASDigraph.Node node = new ASDigraph.Node(elem);
            node.prevNode = null;
            node.nextNode = firstNode;
            firstNode = node;
            size++;
            return node;
    //I also use this Input class for user entry from the keyboard. For instance: -
    // Create nodes
              System.out.print("Enter the number of nodes : ");
              nodeLength = new int[Input.readInt()];
              //Initialize each node an element
              for(i=1; i<nodeLength.length; i++){     
                   // I tried to generate nodes from here
    import java.io.*;
    // Input class
    public class Input
            public static int readInt()
               byte nos[] = new byte[12];  //*** Stores characters read ***
               int noread;                 //*** Number of characters read ***
               //*** Read keys pressed as a set of bytes ***
               try
                    noread = System.in.read(nos) - 2; //*** Ignore \n and \r ***
               catch(IOException e){}
               int v = 0;
               int multiplier = 1;
               int start = 0;
               //*** IF it starts with a minus THEN ***
               if(nos[0]=='-')
                    //*** Start at the second char and change the sign ***
                    start=1;
                    multiplier= -1;
               //*** Create a value from the bytes ***
               for(int c=start;nos[c] !=13;c++)
                    v = v*10 + nos[c] - '0';
               return v*multiplier;
            public static float readFloat()
               byte nos[] = new byte[15];
               int noread;
               //*** Read keys pressed as a set of bytes ***
               try
                    noread = System.in.read(nos) - 2; //*** Ignore \n and \r
               catch(IOException e){}
               boolean frac=false;
               float v=0;
               float dp=0;
               int multiplier=1;
               int start=0;
               //*** IF first character is minus THEN ***
               if(nos[0]=='-')
                    //***Start at second character and change sign ***
                    start=1;
                    multiplier=1;
               //*** Convert to number ***
               for(int c=start; nos[c]!=13; c++)
                    if(nos[c]==(int)'.')
                            frac=true;
                            dp=10;
                            continue;
                     if(!frac)
                            v = v*10 +nos[c] - '0';
                     else
                            v = v+(float)((nos[c]-'0')/dp);
                            dp*=10;
                return v*multiplier;
             public static char readChar()
               byte nos[] = new byte[10];
               int noread=0;
               //*** Read keys pressed as a set of bytes ***
               try
                    noread = System.in.read(nos) - 2; //*** Ignore \n and \r
               catch(IOException e){}
               if(noread>0)
                    return (char)nos[0];
               else
                    return'\0';
             public static String readString()
               byte nos[] = new byte[80];
               int noread=0;
               //*** Read keys pressed as a set of bytes ***
               try
                    noread = System.in.read(nos) - 2; //*** Ignore \n and \r
               catch(IOException e){}
               String s="";
               //*** Convert bytes to  characters and add to string ***
               for(int p=0; p<noread; p++)
                    s=s+(char)nos[p];
               return s;
    }

    Take a look at [url http://forum.java.sun.com/thread.jsp?thread=515624&forum=31&message=2456219]reply #1 here.

  • Problem with sorting involving user defined types and reports

    Hello!
    I have a problem with sorting involving Reports and user defined objet types.
    I have created the following object types
    CREATE TYPE type_balance_compte AS OBJECT
    NUM_CPT_SEQ NUMBER(8)
    ,NUM_CPT VARCHAR2(35)
    CREATE TYPE TB_type_balance_compte IS TABLE OF type_balance_compte
    At the reports query I use:
    SELECT ...
    FROM table(cast(test_pkg.balance_comptes(:P_num_soc) as TB_type_balance_compte)) c
    The procedure balance_comptes will retrieve data from various tables into the type.
    The report is ordered by a certain string field that usually contains characters and numbers.
    I need to have numbers always before characters, meaning the data should come in this order in the report for example:
    0
    1
    A
    B
    So, before the report query, I have placed a call to DBMS_SESSION.SET_NLS( 'nls_sort', 'binary' ) to guarantee NLS_SORT in case it is originally set to FRENCH.
    The problem here is that even after this call, I have the report ordered like this
    A
    B
    0
    1
    And not the numbers before as it should be.
    To try and find out where the problem was, I have created a table to use instead of the object type described above. In this case, it worked correctly. So all I know by now is that is has something to do with the type or cast, but what exactly? Does anybody now how to solve this without using a table?
    Many thanks
    Ariadne

    I have placed a call to DBMS_SESSION.SET_NLS( 'nls_sort', 'binary' ) why not order directly then:
    SQL> select *
          from table (sys.dbms_debug_vc2coll ('A', 1, '5', 'C', 'a'))
    order by nlssort (column_value, 'NLS_SORT = binary')
    COLUMN_VALUE                                                                   
    1                                                                              
    5                                                                              
    A                                                                              
    C                                                                              
    a                                                                              
    5 rows selected.?

Maybe you are looking for

  • HP LaserJet P1007 Not Printing in Sequence

    I Own a HP LaserJet P1007 printer. While printing several pages at a time,its printing in an arbitary sequence. Its creating a  big problem for me. How it can be resolved,please suggest me.

  • TS1398 the wi-fi not available in my iphone

    the wifi in not working in my IPhone how can I fix that

  • An error occured in the blob cache

    An error occured in the blob cache.  The exception message was 'The system cannot find the file specified. (Exception from HRESULT: 0x80070002)'. Understand that this know issue on SharePoint 2010 is there any fix for this ?  http://blogs.msdn.com/b/

  • Script Default Java for browsers

    Hello all, I would like to know if is it possible to script the enabling of "Default Java for browsers". http://www.java.com/en/download/help/5000021500.xml We have a large deployment of the JRE currently 1.6.0-05, we would like to run a script for a

  • 3520 All-in-One Scan Problem

    Why is there a black line on the length of my scanned documents about two inches from either side of the document.  This happens only during ADF scanning, but not when scanning on the glass.  Any help will certainly be appreciated.