Sort Multilingual Data

Hi Experts,
Can you please suggest me how to sort multilingual data in oracle ? Like
Caf
Caf Tierra S.A.
Café Cap, S.A.
Café Capris, S.A.
Café El Botón Ltda.
Café ff
Café Granja La Esperanza
Café Granja La Esperanza
Cafe hh
Café Tierra S.A.
Café Tierra S.A.
Cafetalera Fernandez, S.A.
Capitales Unidos, S.A. de C.V.
Carcafe Ltda. C.I
-Regards
Mani

Thanks
Query used......
SELECT COMPANYNAME FROM VIEW_PRODUCER_MASTER
WHERE NLSSORT(COMPANYNAME) IS NOT NULL and COMPANYNAME Like 'C%'
ORDER BY NLSSORT (COMPANYNAME);
But issue not resolved ......
Output of sql query
COFINANZAS, S.A. de C.V.
Caf Tierra S.A.
Caf Tierra S.A.
Caf Tierra S.A.
Cafe Cap S.A.
Cafe hh
Cafetalera Fernandez, S.A.
Café Tierra S.A.
Capitales Unidos, S.A. de C.V.
Carlos Alberto Vasquez Arevelo
Carlos Alfredo Panamá Díaz
Carlos Brasileiro e Douglas Brasileiro
Casa de Zinc, S.A. de C.V.
Casal, Coexca, Comexca S.A. de C.V.
Required Output of above query
COFINANZAS, S.A. de C.V.
Caf Tierra S.A.
Caf Tierra S.A.
Caf Tierra S.A.
Cafe Cap S.A.
Cafe hh
Café Tierra S.A.
Cafetalera Fernandez, S.A.
Capitales Unidos, S.A. de C.V.
Carlos Alberto Vasquez Arevelo
Carlos Alfredo Panamá Díaz
Carlos Brasileiro e Douglas Brasileiro
Casa de Zinc, S.A. de C.V.
Casal, Coexca, Comexca S.A. de C.V.
Mani

Similar Messages

  • Can't sort by date created in Bridge

    I have raw files from two photographers that covered the same event. When I combined them in a folder in Bridge and apply view >sort>by date created, the images are only arranged in chronological order within each photographer's photos and not as a whole. How can I get both groups of photos to sort together by date created?

    It should work as you expected, that is if both have correct time settings
    in their dSLR set.
    First try the purge cache for folder option, while pointing Bridge at the
    problem folder go to the menu tools/cache/purge cache for folder and let the
    cache build again for the files in this folder before you give it a try.
    How can I get both groups of photos to sort together by date created?

  • I just upgraded to the latest version of iTunes and it duplicated virtually every track in my music library. I need a quick way to delete the duplicates. Sorting by "Date Added" will not help because they are all listed as added on 12/12/2011.

    Library Duplicated
    I just updated to the latest version of iTunes and it duplicated virtually every track in my library. I need a quick way to delete the duplicates. Sorting by "Date Added" will not work, because every track is listed as added on 12/12/2011 even though this happened today 12/19/2011.

    I've written a script called DeDuper which can help remove unwanted duplicates. See this  thread for background.
    tt2

  • I have downloaded and installed the latest version of numbers on my mac. Everytime I save and then try to reopen that document, I receive a message telling me that I need a new version of numbers. Also, when I try to sort the date column, it sorts out of

    I have downloaded and installed the latest version of numbers on my mac. Everytime I save and then try to reopen that document, I receive a message telling me that I need a new version of numbers. Also, when I try to sort the date column, it sorts out of order. The last version sorted fine.

    Welcome to Apple Support Communities
    When you install the new iWork version, the old iWork version is kept, so it looks like you are opening your old version.
    To fix this, open a Finder window, choose Applications in the sidebar and drag the new Numbers version to the Dock, so you can access to it quickly. Open all documents from this version. I don't recommend you to delete the old Numbers version in case you need it.
    Respecting to the second question, you will get better answers in the Numbers for OS X forum

  • In iPhoto if I select View, then Sort Photos by title, how do I stop it reverting to sorting by date when I close iPhoto and re-open it later?

    In iPhoto if I select View, then Sort Photos by title, how do I stop it reverting to sorting by date when I close iPhoto and re-open it later?

    In what mode, Events, Photos or in an Album, are you when you select View ➙ Sort ➙ By Title?
    As a first fix attempt try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
    User/Home/Library/Caches/com.apple.iPhoto folder (Snow Leopard and Earlier).
    or with Mt. Lion from the User/Library/Containers/com.apple.iPhoto/
    Data/Library/Caches/com.apple.iPhoto folder
    3 - launch iPhoto and try again.
    NOTE 1: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences.
    NOTE 2:  In Lion and Mountain Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    OT

  • IPhoto, sort by date is not a true date/time sort

    In iPhoto, sort by date is not a true date/time sort.  If you have two cameras with there own naming convention iPhoto sorts filename by date separating the two cameras in the view. Is there a way to sort by DATE&TIME ONLY?

    Using two cameras using iPhoto to upload pictures.
    Both cameras are set to the correct time and date.
    Connect camera ONE filenames IMGP0101
    By default:
    No event name
    Split events checked
    Select import 12 photos
    Creates events:
    Untitled event December 27, 2013
    In order by time
    Untitled event December 28, 2013
    In order by time
    Untitled event December 29, 2013
    In order by time
    Untitled event December 30, 2013
    Connect camera TWO filenames IMG_1101
    By default:
    No event name
    Split events checked
    Select import 12 photos
    Creates events:
    Untitled event December 28, 2013
    In order by time
    Untitled event December 29, 2013
    In order by time
    Untitled event December 30, 2013
    Now I have 2 events for each of December 28, 29 and 30 they are not all under the same event name. My only option is to click and drag the pictures from the second set of events to the first set of events then they are in order.  This is a real pain to do.  There needs to be a way to reset the event dates so all pictures from both cameras end up in the right event date.

  • List View: How to force update of *actual* file dates when sort by date?

    List View: How do I force and update of actual file dates when sort by date?
    When I go in, I often see the sort order and dates from 12-15 hours ago!
    not good

    Hi, did you ever get that Windows® Sharing thing worked out?
    On this problem, If it's just that you need the Finder to wake up to the fact that it needs to update the window give a try with Refresh Finder - 1.3...
    http://www.versiontracker.com/dyn/moreinfo/macosx/33066

  • I-photo:  I used 2 cameras to take pictures on a trip --- i have put the pictures from both cameras into an album --- when i click on view and then sort by date, the pictures do not sort by date --- any ideas on how to get the pics sorted by date?

    I-photo:  I used 2 cameras to take pictures on a trip --- i have put the pictures from both cameras into an album --- when i click on view and then sort by date, the pictures do not sort by date --- any ideas on how to get the pics sorted by date?

    Select all the photos that you need to change, then click the "Photos" menu and choose "Adjust Date and Time".
    If you add a year, it will adjust all the photos that you selected by adding a year (so if you accidentally select one of the photos that already has "2012", that will change to "2013"). 

  • When I drag music from a folder that contains songs by different artists and then sort by date added it shows the songs in alphabetical order by artist?

    When I drag a bunch of songs with different artists from a folder on my computer to the itunes library and sort by Date added it puts them into alphabetical order by artist. I am able to workaround this by using date modified. Why does itunes do this? This started happening in July. Prior to that never had this problem. Been adding my music the same way for almost a decade.

    They are added in the same minute. I do not see the second area next to that if it should be. I'm guessing an update to a newer itunes build is responsible. It's a shame. I am using the sort by date modified. But now whenever I modify a file in Itunes it automatically moves it to the top of the list. I am trying to keep the newest stuff at the top of my itunes.

  • Custom Sort (by date) in a DataGrid component

    So I've got a data grid component hooked up to a data provider like so:
    var weekData:XML=// some xml loaded in earlier....
    var weekGrid:DataGrid=new DataGrid();
    var dataProvider:DataProvider=new DataProvider();
    for each(var entry:XML in weekData){
         dp.addItem({event:entry.title,date:FormatDate.format(new Date(entry.@startDate),5),data:entry.@startDate});
    The title column is just what you might think. The date colum is actually a format like May 2012 or Feb 2013. And the data "column" isn't actually shown in the dataGrid it is the "key" for sorting by date. It contains the getTime() value of the date like 1328515200000. So that will make date sorting just a case of Array.NUMERIC with the appropriate Array.DESCENDING when needed.
    I've found that if I do this:
    weekGrid.dataProvider.sortOn("data",Array.NUMERIC)
    weekGrid.invalidate();
    it works and the grid is sorted -- IF I have some other button to click to cause that code to run.
    I want to tie it together with the click event on the grid header. Thusly:
    weekGrid.addEventListener(DataGridEvent.HEADER_RELEASE,sortDataGrid);
    And I've getting the event and all, but evidently that is fireing off the built-in sorting which happens after mine. And it doesn't do what I want.
    Any idea how to stop that and allow my perferred sorting to take place?

    if you don't want the user to sort your datagrid, use:
    weekGrid.sortableColumns = false;
    and execute your sort without clicking anything.  or use:
    weekGrid.addEventListener(DataGridEvent.HEADER_RELEASE,sortDataGrid);
    function sortDataGrid(e:DataGridEvent):void{
        setTimeout(sortF,100);
    function sortF():void{
        weekGrid.dataProvider.sortOn("data",Array.NUMERIC)

  • Need to read a XML file and store multilingual data

    I am having an XML file which contains multiple records and each maybe in a different language .identified EN -english ES-Spanish etc
    - <Document xmlns="http://www.xxxxx.com/ws/integration/toolkit/2011/05">
    - <Attributes>
    <Attribute name="duration">0:00:02.993</Attribute>
    <Attribute name="count">47</Attribute>
    <Attribute name="entity">Requisition</Attribute>
    <Attribute name="mode">XML</Attribute>
    <Attribute name="version">http://www.xxxx.com/ws/tee800/2009/01</Attribute>
    </Attributes>
    - <Content>
    - <ExportXML xmlns="http://www.xxxxx.com/ws/integration/toolkit/2005/07/action/export">
    - <record>
    <field name="ContestNumber">120000002O</field>
    <field name="JobInformation,JobType,Description">Standard</field>
    <field name="JobFamily">ACCOUNTING/FINANCE</field>
    <field name="JobInformation,Organization,Name">CHMS-DO NOT USE</field>
    <field name="Country">USA</field>
    <field name="State">Illinois</field>
    <field name="City">Lake County</field>
    <field name="Title_EN">TaTest1</field>
    <field name="Title_es">TaTest1 translated to Espanol</field>
    <field name="InternalDescription_EN">Humira marketing team - develop programs.</field>
    <field name="InternalDescription_zhCN" />
    <field name="InternalDescription_zhTW" />
    <field name="InternalDescription_es">Development of marketing programs for </field>
    <field name="ExternalDescription_EN">Marketing programs for core products</field>
    <field name="ExternalDescription_zhCN" />
    <field name="ExternalDescription_zhTW" />
    <field name="ExternalDescription_es">Marketing core products - Spain</field>
    <field name="URL_en">http://[ZONE]/careersection/[CAREER_SECTION]/jobdetail.ftl?lang=en&job=120000002O</field>
    <field name="URL_zhCN" />
    <field name="URL_zhTW" />
    <field name="URL_es">http://[ZONE]/careersection/[CAREER_SECTION]/jobdetail.ftl?lang=es&job=120000002O</field>
    <field name="PostedExternally">true</field>
    <field name="PostedInternally">true</field>
    <field name="EnglishActive">true</field>
    <field name="SimplifiedChineseActive">false</field>
    <field name="TraditionalChineseActive">false</field>
    <field name="SpanishActive">true</field>
    <field name="InternalBonusTracking" />
    <field name="ExternalBonusTracking" />
    <field name="POSTING_GRADE" />
    <field name="SAP_Schedule">Full-time</field>
    <field name="PostingDateExternal">2012-11-20</field>
    <field name="PostingDateInternal">2012-11-20</field>
    </record>
    </ExportXML>
    </Content>
    </Document>
    I need to store and retrieve data into a AL32UTF8 database without losing language attributed.
    I am using DBMS_XMLDOM.getnodevalue (); to fetch the XML stored in a CLOB column
    But the package returns VARCHAR2 .How do i return NVARCHAR2 so that i can store Multilingual data
    DBMS_XMLDOM.GETNODEVALUE(
    n IN DOMNode)
    RETURN VARCHAR2;
    Or is there an easier way around using XMLTYPE
    Edited by: Rameshkumar T on Nov 27, 2012 6:14 AM

    dbms_lob.loadclobfromfile( v_xml_msg
                                          , v_xml_bfile
                                          , dbms_lob.getlength(v_xml_bfile)
                                          , v_dest_offset
                                          , v_src_offset
                                          , NLS_CHARSET_ID('AL32UTF8')
                                          , v_lang_context
                                          , v_warning
    SELECT message
       INTO   v_xml_clob
       FROM   gjb_xml_message gtmq
       WHERE  message_id = v_msg_id;
       v_line_no := 1;
       v_doc     := dbms_xmldom.newDOMDocument(v_xml_clob);
       v_line_no := 2;
       v_nodes    := dbms_xmldom.getElementsByTagName(v_doc, '*');
       FOR i IN 0..dbms_xmldom.getlength(v_nodes)-1
       LOOP
           BEGIN
               v_line_no := 3.0;
               v_element_x  := dbms_xmldom.makeelement(xmldom.item(v_nodes,i));
               v_line_no := 3.1;
               v_node       := dbms_xmldom.item(v_nodes,i);
               v_line_no := 3.2;
               v_tag        := dbms_xmldom.getNodeName(v_node);
               v_line_no := 3.3;
               v_node_2     := dbms_xmldom.getfirstchild(v_node);
               v_line_no := 4.0;
               v_node_map     := DBMS_XMLDOM.getattributes (v_node);
               FOR x in 0 ..DBMS_XMLDOM.getlength (v_node_map)- 1
               LOOP
                  BEGIN
                     v_line_no := 4.1;
                     v_one_node := DBMS_XMLDOM.item (v_node_map, x);
                     v_line_no := 4.2;
                     v_attrname := DBMS_XMLDOM.getnodename (v_one_node);
                     v_line_no := 4.3;
                     v_attrval  := DBMS_XMLDOM.getnodevalue (v_one_node);
                     IF  v_attrval = 'ContestNumber' THEN
                          v_line_no := 4.4;
                          v_contest_num := v_tag_value;
                          v_rec_no := NULL;
                          IF v_load_type = 'I' THEN
                             v_rec_no := fn_get_job_id(v_contest_num);
                          END IF;
                          IF v_rec_no IS NULL THEN
                             SELECT seq_gjbjobid.NEXTVAL
                             INTO   v_rec_no
                             FROM   dual;
                          END IF;
                     END IF;
    IF UPPER(v_tag) = 'FIELD' THEN
             BEGIN
                v_line_no := 5;
                INSERT INTO gjb_xml_data
                       ( message_id
                       , job_id
                       , tag_name
                       , col_name
                       , col_no
                       , tag_level
                       , tag_value
                       , tag_lang
                       , tag_value_clob
                SELECT v_msg_id
                     , v_rec_no
                     , tag_name
                     , col_name
                     , col_no
                     , tag_level
                     , v_tag_value
                     , tag_lang
                     , v_tag_value_clob
                FROM   gjb_xml_tags gxt
                WHERE  tag_name = v_attrval;
                v_tag_value := NULL;
                v_tag_value_clob := NULL;Edited by: Rameshkumar T on Nov 27, 2012 8:27 AM

  • Multilingual-data edition mode

    Hi all,
    I'm using JDeveloper 11g, ADF Rich Faces and ADF BC.
    Im developing a multi-lingual application, and I retrieve data in the current User language from the database. I've acrhieved that setting a VPD, and changing my views queries. My database model is as follows:
    For example, in a table in which I need multilingual data I have LAN_LIB, LAN_LIB1, LAN_LIB2, etc... each one corresponding to a different language. Now I want the user to edit this data viewing only the field of the current language, I mean, if my current laguage is english I will see just one input field (in english) which I can update, when I change my current language to french, I will see a I will be able to change this field in this language.
    Any suggestions ?
    Thank you
    Joseba

    Hi,
    the suggestion is to use lists, radigroups and checkboxes to edit the form fields. You give the user a translated label string eg. in a list, and the value he selects then is added to the form. Since you only show translated labels, the value will be the same all the time. Similar for check boxes.
    Frank

  • Why is the file browser unable to sort by date added (Safari, Mail, etc)?

    When I use the file browser (e.g. when I browse for a file to attach to an email or browse for a file to upload through a form) and try to sort by date added, it doesn't work.
    I can see the column for "date added" and it displays the correct date. I can sort by other properties and it works. But when I sort by "date added" it lists files that were added a while ago under "today" and the files recently added are under "no date" (even though they all have a correct date). The list doesn't seem to change day-to-day (e.g. files under "today" remain the same).
    Does anyone know what could be wrong? Am I the only one with this issue?

    Performance tip: Keep the Desktop clutter-free (empty, if possible)
    Mac OS X's Desktop is the de facto location for downloaded files, and for many users, in-progress works that will either be organized later or deleted altogether. The desktop can also be gluttonous, however, becoming a catch-all for files that linger indefinitely.
    Unfortunately - aside from the effect of disarray it creates - keeping dozens or hundreds of files on the Desktop can significantly degrade performance. Not necessarily because the system is sluggish with regard to rendering the icons on the desktop and storing them in memory persistently (which may be true in some cases), but more likely because keeping an excessive number of items on the Desktop can cause the windowserver process to generate reams of logfiles, which obviously draws resources away from other system tasks. Each of your icons on your desktop is stored as a window in the window server, not as an alias. The more you have stored, the more strain it puts on the window server. Check your desktop for unnecessary icons and clear them out.
    Keeping as few items as possible on the Desktop can prove a surprisingly effective performance boon. Even creating a single folder on your Desktop and placing all current and future clutter inside, then logging out and back in can provide an immediately noticeable speed boost, particularly for the Finder.
    And it is why Apple invented 'Stacks' for Leopard.

  • How do I sort by date added while maintaining track order?

    Hello,
    I'm trying to do what I think is a simple function in ITunes. I'd like to sort by "date added" and have the tracks line up sequentially by track number. In other words, when in Itunes, I'd like to have (from top of the library to bottom) my most recent album with tracks 1-10, listed, and then the next recent album and so forth. Almost like a most recent album. You can of course sort by date added, and scroll all the way down to the bottom of the page, but then when Ituns plays, you start on the most recent album, it runs through that album, and then is done.
    Any thoughts?

    If you ever find the answer, I'd love to know as well. How odd is it that you can do this. I tried several searches for this in software hacks, and applications that let you alter icon views and the like. Can't believe the limited interest in correcting it either.
    I was looking for a way to display screen shots of various jpeg elements with files names that double as instructions in a tutorial. Icon view allowed me to see pictures in a large enough size to use as instructions with the corresponding file names. All I would have had to do was screen shots assembled into a PDF and I would have been done. Having to retype every instruction along with copy, and pasting into a new document and so forth is more than double the work for any set of pictorial instructions.
    Maybe Garage Band or some other application is the workaround until then. I'll let you know if I ever find a better workaround, or the solution.

  • IPhone and iPad photos - Sort by date taken

    If your photos are not sorted by the date the photos were taken, here's how to troubleshoot and resolve the problem.
    I encountered the problem when syncing my photo library from my computer to my iPhone and iPad.  Almost all the photos were sorted properly by the date they were taken except for photos taken with a Nikon D70S SLR Camera.  The photos from the Nikon D70S were being sorted using the date the sync was performed (not the file creation date nor the EXIF data date).  This caused my photo album to not have all the photos in a nice chronological order.
    First I checked to ensure the photos output from the Nikon D70S contained the EXIF "date taken" data and they did indeed have the proper date in the EXIF data. Next I checked to see if the EXIF version number was in each file and it was.  I then noticed the EXIF version number output by the Nikon D70S was formatted differently than the other sources (e.g. differently than other Nikon cameras, other iPhones, etc).
    I then viewed the EXIF data for the Nikon D70S photos in the Adobe Photoshop organizer and found the EXIF version number was missing.  It was clearly in the Nikon original files (I use RAW format when taking photos with the Nikon D70S).  This led me to suspect Adobe Photoshop Elements was not exporting the data in a form Apple iTunes could read when I was converting the Nikon .NEF files (RAW format) to .JPG files (needed for Apple iTunes and the iPhone and Ipad products).  Most likely iTunes needs both the EXIF date taken and EXIF version number when syncing photos into iTunes, if the EXIF version number is missing, it uses the date the sync was performed as the date when sorting the photo file in the iPhone and iPad photo viewer.
    I then used Adobe Creative Suite / Adobe Bridge (at our office, it's used for graphic arts work along with regular Photoshop, Illustrator, In-Design, etc.) to export the files from Nikon .NEF  RAW format to .JPG format and found it output the EXIF data including the EXIF date taken date and EXIF version in a form readable by iTunes.
    By using Adobe Creative Suite / Adobe Bridge instead of Adobe Photoshop Elements Organizer to convert the Nikon D70S .NEF files to .JPG format (for subsequent import into the iPhone and iPad via iTunes), the process worked properly and the photos are sorted by date taken properly.

    Maybe this will help
    iOS: Understanding photo sorting

Maybe you are looking for

  • What's Wrong with My MacBook Pro? Unresponsive, Loud Fan...

    Hi, I've got a Mid 2011, MacBook Pro. 250gb HDD, 4gb Ram, running 10.7.5. Everything was working fine, then I took my MacBook to Mexico for a few weeks, so the power source was different to UK. Worked fine for a few days, but then it seems that after

  • Java help

    hi , i have a program browseexception which i call in all of my other prgms. i have compiled this and it is in the "ui" directory. BrowseException.java package ui; import javax.servlet.jsp.JspException; public class BrowseException extends JspExcepti

  • Function to show Font type, size, charset of a report

    are there any function or approach to see the font type, size, charset of the specified words in a Oracle reports?

  • QT movie trailer(s) without video becoming more of a problem [link included

    Perhaps it's just a PowerPC problem and not an Intel-Duo problem. but click link below to follow the problem which is QT movie trailers on Apple's site have audio but no Video in Safari Browser http://discussions.apple.com/thread.jspa?threadID=109984

  • Speakers make loud sound when laptop is bumped

    I have a satellite Toshiba with the harman kardon speakers in it, its brand new out of the box and while I am playing any audio from it, if the computer is bumped or the bed it is sitting on is moved, basically any movement of the computer and the sp