Change a string of code to narrative format

I have a field in OBIEE 11g that contains numeric codes (EXAMPLE 1;2;3)THe field can contain more then one value (EXAMPLE 1;2) Each code corresponds to a narrative descriptions (EXAMPLE: 1 = A, 2=b, 3=c) Currently I have a CASE STATEMENT that translate the code but only the first numeric value. My case statement is below:
CASE WHEN "METRIC" = 1 THEN 'A'
OR
CASE WHEN "METRIC" = 2 THEN 'B'
OR
CASE WHEN "METRIC" = 3 THEN 'C'
ELSE
NULL
END
This code only changes the one instance in the field to the appropriate defintion. What I need is a code that will read the field and change all the codes into the appropriate definition.
Example if the field contains 1;2 I need the output to be A;B
Is this possible to do?

So I tried this and this is the error message I got.
SQL Issued: {call NQSGetQueryColumnInfo('SELECT TRANSLATE("Pending Claim - Miscellaneous"."Special Issue String", ''~49~'',''EXPRESS'') FROM DUAL FROM "VETSNET Operations Reports"')}
SQL Issued: SELECT TRANSLATE("Pending Claim - Miscellaneous"."Special Issue String", '~49~','EXPRESS') FROM DUAL FROM "VETSNET Operations Reports"
AND I am using ORACLE

Similar Messages

  • Number format changed to string in excel

    I want to store a table in excel file and in the table
    there is a number field that when I store it in the
    excel file ,I want it change to String format,
    because when it store it in the number format,
    it is a wrong number.
    thanks in advance

    "883923"
    Pretend you are explaining this to someone who has no idea what you are talking about (because we don't).
    Statements like "but therewas a problem" are next to meaningless because you didn't explain what the problem is.
    You don't give any useful information such as:
    * Version of JDeveloper/ADF
    * What technologies are you using (I guess ADF Faces, but I don't know)?
    * How did you try exporting to Excel?
    * What was the exact problem you had?
    I've already spent more time thinking about how to ask you questions to get to the real problem than you have formulating your question.
    John

  • Change the default country code for new contacts in Outlook 2013 for countries not listed in Control Panel Region Format

    Dear all,
    I would like to change the default country code for new Outlook 2013 contacts. My country is Mozambique (+258) and is not listed under Control Panel> Region> Formats> Format:
    Is there any place (registry maybe, anywhere) where I can manipulate the existing formats or manually add a new format to the List ??? - for example Portuguese (Mozambique).
    I am using Windows 8.1
    I have tried changing the country on the phone and modem options and nothing changes. Also changing the Home Location on Region> Location to Mozambique didn't change a thing. The only place where I change something and produces results is the
    Format List.
    Any ideias???? If not, is there a place where I can ask Microsoft to include Portuguese (Mozambique) on future windows updates???
    Kind regards,
    Osvaldo

    Hi,
    Windows uses the information set under
    'Phone and Modem'  in the Control Panel to determine the default area code.
    You can change the country/region to
    Mozambique
    and set your area code here:
    Regards,
    Steve Fan
    TechNet Community Support

  • How change a string in a CLOB field

    Hi all,
    I'm trying to explain my problem.
    I use an Asp procedure to load a html text in a Clob field.
    The simple algoritm is:
    - The first time that I visit the web address, I write in a field
    Desc_Webb_Attu --> CLOB
    - The second time that I visit the web address, I write in a field
    Desc_Webb_Attu_Temp --> CLOB
    - I see if there are differences between the first and the second visit, using this statment
    SELECT      dbms_lob.compare(Desc_Webb_Attu,Desc_Webb_Attu_Temp)
    From table
    The procedure run ok, but in the case of web addresses have a banner, counter or reloy, I'll have always that the web address will be modified :(
    I'm thinking to do in this way:
    If I can know where is the string of data (for example) I would change this string with blank, after to use the stament "compare".
    Do you know if is a statment or a procedure (I use Pl/sql) to resolve this?
    I hope that I have explained good
    Thank's for any suggestion
    Message was edited by:
    mosquito70

    for(i=0;arr!=null;i++)
    That's an infinite loop.OP: when you post code, use the code tags described here:
    http://forum.java.sun.com/help.jspa?sec=formatting
    The idea is that you put [code] at the start of your code and [/code]
    at the end. That way something like:
    [code]if(tagsUsed) {
        System.out.println("Output is nice.");
    }[/code]
    ends up displayed asif(tagsUsed) {
        System.out.println("Output is nice.");
    }This is especially important when arrays are used because otherwise
    bits of your your code "dissappear" (as you have found) and this causes
    confusion.

  • To change the string in Class Builder "New Method"

    HI friends,
    Im using the std program of "RFDOPR10"...(changed into my customised program as ZRFDOPR10).....
    Here i want to change the strings of Id_type eq 4 availble under the class builder "New Method".
    "id_ruler_string = '2.13.24.29|43|58|73|88|103|118|'" (for 24...i want to give 38.....then 45...)
    Pls help me how to change the std method function  for my z program...
    FYR:
    RFDOPR10 is the std program for tcode :"s_alr_87012178", Customer analysis.If u want to c the example report, in this tcode...give OI:1, Summ level:6, OI list:1 and Company CD:2 under Output control tab in selection screen with Company code.Now, u able to see the reports in the screen.There, after Customer number....I've to give some more spaces(length) for Sort field.
    Thanks & regards
    Sankar.

    No, but I suggest using a different editor which does allow a different text option and just pasting it in.

  • How to write html code in narrative

    Hi,
    How to write html code in narrative to get following format
    desc value1 Value2 totalvalue
    a 10 20 30
    b 20 30 50
    Totalvalue 30 50 80
    Total % 0.3 0.5 0.8
    Can any one help guide on writing HTMl code for above table format in narrative type of display data at report level
    Thank you
    Manu

    Hi Balu,
    If you are using the Web Application server (WEBAs), Then you can create applications using BSP( Bussiness server pages). Which is some what luike JSP.
    Or
    In SE80 , Try to create internet service files uisng BHTML. In the dropdown select internet service. And then try to create the HTML templates
    Thanks,
    Sarayoodharan.K

  • Change in Standard T.code

    Hi,
    Can anybody tell me example about changing the standard t.code CO01...
    Like where i can do changes in exists.....
    I tell u wat i do.....
    I find the exits name for this t.code and click on its include....
    Now i change here....in coding.....
    i code in it.......like LOOP AT SCREEN.....
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'SAPLCOMK'.
    SCREEN-INVISIBLE = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    But it not work.....
    Tell me wat can i write here.........or anywhere...........
    Plz suggest...
    <b>Anil Kumar</b>

    hi Anil
    STATTEXT            Modification exit for formatting status text lines
    CCOWB001            Customer exit for modifying menu entries
    COIB0001            Customer Exit for As-Built Assignment Tool
    COZF0001            Change purchase req. for externally processed operation
    COZF0002            Change purchase req. for externally procured component
    PPCO0001            Application development: PP orders
    PPCO0002            Check exit for setting delete mark / deletion indicator
    PPCO0003            Check exit for order changes from sales order
    PPCO0004            Sort and processing exit: Mass processing orders
    PPCO0005            Storage location/backflushing when order is created
    PPCO0006            Enhancement to specify defaults for fields in order hea
    PPCO0007            Exit when saving production order
    PPCO0008            Enhancement in the adding and changing of components
    PPCO0009            Enhancement in goods movements for prod. process order
    PPCO0010            Enhancement in make-to-order production - Unit of measu
    PPCO0012            Production Order: Display/Change Order Header Data
    PPCO0013            Change priorities of selection crit. for batch determin
    PPCO0015            Additional check for document links from BOMs
    PPCO0016            Additional check for document links from master data
    PPCO0017            Additional check for online processing of document link
    PPCO0018            Check for changes to production order header
    PPCO0019            Checks for changes to order operations
    PPCO0021            Release Control for Automatic Batch Determination
    PPCO0022            Determination of Production Memo
    PPCO0023            Checks Changes to Order Components
    check which one ill suit ur req

  • How can I change back my security code to default

    I am user of N73(music edition).
    Someone had changed my security code. So I can't format my phone memory. What should I do to change back my security code to default.

    Hi zarni
    I would normally suggest re-installing current version of phone software with Nokia Software Updater which returns it to Nokia default 12345 lock code. However there have been unsubstantiated reports that very latest version of NSU will not give you option of re-installation any longer unfortunately.
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • How do u change a string to a Date object??

    im using GregorianCalendar rite now to get dates..
    n i got 2 dates - one is current date, the other is another date(How do i say this?? hmm.... ok, my birthday).
    i had put them into "strings"
    but i gotta check which date came 1st.(current, or my birthday)
    i have found the method in Date.class, but before using the method, i gotta change the String to Date..
    this is where i got stuck..
    plz give me any info - codes, links, url, any things that helps..
    Thz people..

    SOrry for replying late..
    i did catch the exception, n print out
    catch(Exception e)
    System.out.println(e); --> this is where it print out the error msg.
    hmm, i tried to use the SimpleDateFormat class, as in in this link
    http://forum.java.sun.com/thread.jsp?forum=31&thread=345037
    the error shown up again, n with ("01/jan/2003");
    i wanted it to be in all numbers like ("01/01/2003");
    i think im confusing all of u now, coz i aint really good at explaining...
    but here parts of my codes..
    //edited code ---> using SimpleDateFOrmat
    Date d1 = new Date();
    Date d2 = new Date();
    DateFormat df = new SimpleDateFormat("dd/MM/yyyy");
    d1 = df.parse(appDate); //appDate="01/01/2003"
    d2 = df.parse(date); //date ="23/05/2003"
    }catch(ParseException a){System.out.println(a);}
    ++++++++++++++++++++++++++++++++++++++++++++++++
    //error msg
    error: java.text.ParseException: Unparseable date: "(01/jan/2003)";
    ++++++++++++++++++++++++++++++++++++++++++++++++
    //this is the orignal one
    Date d1 = new Date();
    Date d2 = new Date();
    DateFormat df = DateFormat.getDateInstance();
    d1 = df.parse(appDate); //appDate="01/01/2003"
    d2 = df.parse(date); //date ="23/05/2003"
    }catch(ParseException a){System.out.println(a);}
    ++++++++++++++++++++++++++++++++++++++++++++++++
    //error msg
    error: java.text.ParseException: Unparseable date: "(01/01/2003)";
    ++++++++++++++++++++++++++++++++++++++++++++++++
    Hope someone out there knows what actually gone wrong..
    n For those who reply or replied.. ThanK YOU!!!

  • How do I change my Ipod from mac to windows format??

    How do I change my Ipod from mac to windows format?? My Imac is not working at the moment, but I want to use my Ipod on my PC. How do I get my Ipod(mac formated) to get work on my PC??

    Use iTunes on the PC to restore the iPod, or install XPlay on the PC without changing the format. Restoring the iPod will erase everything on it.
    (25085)

  • My brother-in-law recently passed away. My sister gave his MacBook Pro to my niece. When she opens and starts the laptop, it shows my brother-in-laws name. Is there a way to change his name to her name without formatting the device and starting over?

    My brother-in-law recently passed away. My sister gave his MacBook Pro to my niece. When she opens and starts the laptop, it shows my brother-in-laws name. Is there a way to change his name to her name without formatting the device and starting over?

    BigTex415,
    my condolences for your family’s loss. If all she seeks to do is to change the display name, and she’s willing to leave the account name unchanged, then she could do the following: log in as the administrative user and open the Users & Groups pane of System Preferences. If the padlock in the lower-left corner is locked, unlock it. Select the account that shows your brother-in-law’s name on the left-hand side of the window, and then on the right-hand side, change the text in the “Full name” textbox to her preferred display name. If desired, click on the padlock in the lower-left corner to relock it.

  • How to see the changes made in tx code MN05

    Hi all,
    Do you know how can I see the changes made in tx code MN05?
    I need to know when was The output condition updated? Do you have a change record on this change?
    Thanks and regards

    Hi,
    There is a Transaction code SCU3 to display the change logs
    Goto the Transaction code and enter the  Table for MN05 and execute, it will display all the logs for MN05.
    If you didnt find any change logs here, then you have to activate the Change logs for this table.
    To activate the change logs , goto SE11 and give the table and clcik on the technical settings and you will find the Check box with CHANGE LOGS.
    Check whether it was activated or not, if not activate it.
    Thanks,
    santosh

  • Send a mail with change history while changing the Routing (T-Code CA02),

    Hi All,
    I need to send a mail with change history while changing the Routing (T-Code CA02), Please let me know how can implement this scenario.
    I am trying to find out any workflow is there for the same but we have workflow for Routing creating and Display, we donu2019t have workflow for change.
    Please suggest meu2026u2026u2026u2026
    Thanks,
    Amjad.

    Hi All,
    I need to send a mail with change history while changing the Routing (T-Code CA02), Please let me know how can implement this scenario.
    I am trying to find out any workflow is there for the same but we have workflow for Routing creating and Display, we donu2019t have workflow for change.
    Please suggest meu2026u2026u2026u2026
    Thanks,
    Amjad.

  • Impact on roaming profile accounts if we Change User logon Name to Employee Number format in Active Directory for all User accounts

    I want to understand if we change User logon Name to Employee Number format in Active Directory for all User accounts, then what would be the impact on existing profile. Whether we need to change it manualy or it will connect to same profiles in terminal
    session.
    As i observed it create new profile after logon name changed to employee number where existing users profile settings get fails to load and prompt for new settings (such as outlook reconfiguration, share drive mapping etc.).
    Kindly let me know the proper process to overcome with this, how to connect same existing roaming profile with employee number format change.

    Hi,
    What if we change the user name of user account, will it have impact on roaming profiles.
    Yes, it will affect roaming profiles. Please rename the roaming profile folder as the new user account name, in addition, change the profile path in ADUC.
    Here is an related article below for you:
    How to Rename a Windows 7 User Account and Related Profile Folder
    http://social.technet.microsoft.com/wiki/contents/articles/19834.how-to-rename-a-windows-7-user-account-and-related-profile-folder.aspx
    Best Regards,
    Amy

  • Change the mapping generation code from sql*loader to pl/sql

    I want to use a mapping with a flat file operator to generate pl/sql code even if a mapping generate sql*loader code as default.
    I tried to change the Language generation property of the mapping but an API8548 error message is shown. The suggested solution by OWB is to change the language generation code in the property inspector of the mapping.
    I can't use external table because I have to work with a remote machine.
    What i have to do to change the generation code from SQL*Loader to PL/SQL?

    How about breaking this out into 2 mappings? In the first mapping, map a flat file operator to an table using SQL*Loader code. Then define a second mapping using the table as source and therefore generate PL/SQL. Then use process flow to launch the 2nd map to run after completion of first.

Maybe you are looking for

  • Is there a way to to see what text messages you have on your iphone from your computer?

    Ok so my phone turns on.  People can call me and I can swipe and answer their phone call.  The only thing that is wrong is that I can not see what I'm doing on my phone.  The screen just has a bunch of lines going up and down it when I turn it on.  I

  • Firefox Developer Edition constantly asks me to update

    I am using Firefox Developer Edition 37.0a2 and every start of browser is asks me to update to version 37.0a2. Even when I click to update it is trying to connect to the server and that is only thing that I see. I did run firefox in safe mode. The re

  • Restoring speedy youth to a Sluggish, Overloaded Powerbook.

    My Powerbook's 60gb drive has been busting its seams for nearly two years now, and i just finally got around to buying an external firewire drive to dump all my extra data to. My Mac has gotten to the point of Tortoiseness when just about anything i

  • WRT110 192.168.1.1 connection problem

    For some reason or another, I cannot connect to my router.  Its IP is the default 192.168.1.1.  For maybe the first minute or so after I turn the router on, I CAN connect to it, but then it just drops and I cannot get onto it any more.  What's going

  • How do I edit the display position of the assignment icon?

    Hi everyone, I am using Oracle Busines Process Architect 11gR1. The filter is the standard Oracle BPA Filter, and I am working with functions in BPMN models. I am building a high level business process chart with "drill down" into more detailed proce