Invalid code in the column and DUMP function

Hi all,
My DB is 11.1 and Character set is UTF8.
After ETL, I find some invalid characters appear in my tables, one of which is '�'. Since they are history data, I can't find the source data for them.
The only choice for me now seems to remove all of them for downstream systems. After issuing select dump(column,10) from mytable, I find that '�' is represented by
239,191,189.
So I guess whether I can dump the data, remove the bad string and then umdump the contents to get the good string. In a word, is there an inverse function for dump function?
Can anybody give me some advices, please? Thank you very much.
Best regards,
Leon

Hi Leon
Its working for me
Not that the Datatype of variable "a" is "*NVARCHAR2*"
SQL>SELECT *
  2    FROM t_13;
INSERT_SORCE                   NAME                                     DUMP_NAME
TOAD                           Arun¿Gupta                               Typ=96 Len=12: 65,114,117,110,239,191,189,71,117,112,116,97
TOAD_To_Textpad_To_TOAD        Arun?Gupta                               Typ=96 Len=10: 65,114,117,110,63,71,117,112,116,97
TOAD_To_SQLPlus                Arun?Gupta                               Typ=96 Len=10: 65,114,117,110,63,71,117,112,116,97
SQL>DECLARE
  2      a       NVARCHAR2(100) := CHR(191);
  3      b       VARCHAR2(100);   
  4      c       VARCHAR2(100);  
  5      b_dump  VARCHAR2(200);  
  6      c_dump  VARCHAR2(200);  
  7  BEGIN
  8    SELECT name
  9          ,REPLACE (name,a,'')
10      INTO b
11          ,c
12      FROM t_13
13     WHERE insert_sorce = 'TOAD';
14    
15 
16    SELECT DUMP(b)
17          ,DUMP(c)
18      INTO b_dump
19          ,c_dump
20      FROM DUAL;
21  
22 
23    DBMS_OUTPUT.PUT_LINE ('Value of b      = '||b); 
24    DBMS_OUTPUT.PUT_LINE ('Dump Value of b = '||b_dump);   
25    DBMS_OUTPUT.PUT_LINE ('Value of c      = '||c); 
26    DBMS_OUTPUT.PUT_LINE ('Dump Value of c = '||c_dump);   
27  END;
28  /
Value of b      = Arun¿Gupta
Dump Value of b = Typ=1 Len=12: 65,114,117,110,239,191,189,71,117,112,116,97
Value of c      = ArunGupta
Dump Value of c = Typ=1 Len=9: 65,114,117,110,71,117,112,116,97
PL/SQL procedure successfully completed.My DB
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
CORE 10.2.0.5.0 Production
TNS for Linux: Version 10.2.0.5.0 - Production
NLSRTL Version 10.2.0.5.0 - Production
Regards
Arun
Edited by: Arun Kumar Gupta on Jun 15, 2011 2:44 PM

Similar Messages

  • I didnt konw how to make a new account for my iTues card so i did it with a diffrent email but that email doesnt exist and when i tried to make it on a real email i just sai invalid code check the code and try again and can u please help me

    please help me it is a card of 25 dollars and i dont want it to go to waist i by mistake thought you used a frake email so i made one up i thought i was going to have a new one but then it said it was going to send a verifaction to my email so then i tried to use a real email and put in the code but it just kept on saying invalid code. check the code and try again. and i dont know what to do can u please please help me it was a gift and i really dont want it to go to waist please i need help

    for #1
    Frequently asked questions about Apple ID - Apple Support
    I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?
    Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.
    If you are wondering how using multiple Apple IDs relate to iCloud, see Apple IDs and iCloud.
    for #2
    Apple does not accept unsolicited ideas see Apple - Legal - Unsolicited Idea Submission Policy

  • What does this mean and how do I fix it? Error ITMS-9000 "Invalid Code Signing The executable ´viwer.app/ viewer´ must be signed with the certificate that is contained in the provisioning profile"

    What does this mean and how do I fix it? Error ITMS-9000 "Invalid Code Signing The executable ´viwer.app/ viewer´ must be signed with the certificate that is contained in the provisioning profile"

    If you had Firefox save your Yahoo password, first try deleting that here:
    orange Firefox button ''or'' classic Tools menu > Options > Security > "Saved Passwords"
    The "signed out" message seems to be related to how Yahoo authenticates you. Some users have reported that disabling automatic proxy detection solves the problem, and it also resolves an issue of getting logged out every few minutes, if you have ever experienced that.
    To make the change:
    orange Firefox button ''or'' classic Tools menu > Options > Advanced
    On the "Network" mini-tab, click the "Settings" button, then choose "No Proxy" and OK your way back out.
    If your work connection requires you to use a proxy server, try the "Use system settings" option instead.
    Does that help?

  • Filling in values based on the column and row headers

    I have a question that seems simple, but I can't figure out how to do it and I've searched all over the forum to no avail.
    I have one column that is width increasing by 3 in. increments (column A)
    I have one row that is height increasing by 3 in. increments (row B)
    I have one cell that is price (cell A1)
    I have a formula to calculate price per sq. ft.: =CEILING(A3B2/144,1)A1. This gives me the whole sq. ft. number multiplied by the price per sq. ft. to give me a total price at that dimension (A3 is the width, B2 is the height, and A1 is the cell that contains the price per sq. ft.).
    *Here is the problem*: When I try to cut and paste or fill the formula to the other cells, it doesn't calculate the formula as =CEILING(column A * Row B/144,1)*A1. Instead, it moves all of the values relative to the new cell that the formula is being pasted or filled to.
    Is there a way to autofill the cells so that the formula continues to refer to the width column, the height row, and the price cell?

    Aha! Apparently I didn't do enough research before I posted and I have since answered my own question. Here's how you do it. Look for "Distinguishing Absolute and Relative Cell References" and you should be able to find what you need. In my case, here is the formula I needed to have to make the copy and paste function do what I needed it to do: =CEILING($A3*B$2/144,1)*$A$. Hope that helps anyone who may have had the same problem I did.

  • In the numbers app, using the "date and time" function, is it possible to remove the time? I need to put together a list of dates, but I don't need or want times.

    In the numbers app, using the "date and time" function, is it possible to remove the time? I need to put together a list of dates, but I don't need or want times.

    When formatting your column to date/time, pick Date & time, and then pick the letter i in the circle to the right. Then scroll down and pick "No time"
    Jason

  • How can I write the analogous code to the logic:iterate tag functionality

    Hai This is Rayalu .And I am very new to the Java World. I have a doubt?.How can I write the analogous code to the<logic:iterate> tag functionality using the JSP Tag Libraries . Pleae Send me some examples .

    Hi,
    SELECT objnr objid aufnr
            from afih
            into table t_afih.
    SELECT objnr
            from JEST
            into table t_JEST
            where stat = 'A0045'
               OR stat = 'A0046'
               AND inact 'X'.
    SELECT objnr
            from COBRB
            into table t_cobrb.
    SELECT arbpl werks objid objty
          from crhd
          INTO table it_crhd
          FOR ALL ENTRIES IN it_afih
          WHERE objty eq 'D'
          AND gewrk = it_afih-objid.
    SELECT aufnr objnr auart txjcd pspel gstrp werks aufnr
            FROM caufv
            INTO table t_caufv
            FOR ALL ENTRIES IN it_afih
            WHERE aufnr = it_afih-aufnr
              And pspel = ' '
              AND txjcd = ' '
             ANd objnr ne it_crhd-objnr
              AND auart in s_wtype
              AND werks in s_plant.
             AND objnr ne it_jest-objnr.
    dont use NE in the select statements, it may effect performance also. Instead use if statements inside
    loops.
    loop at t_caufv.
    read table it_chrd............
      if t_caufv-objnr ne it_chrd-objnr.
      read table it_jest..........
       if   if t_caufv-objnr ne it_jest-objnr.
        (proceed further).
       endif.
      endif.
    endloop.
    hope this helps.
    Reward if useful.
    Regards,
    Anu

  • How to track the Back and Forword functiona on a JFrame

    We are Developing an Application with Java swings.In this we 've used some of the components and are JFrame,JPanel,SplitPane,JButtons and etc.
    In this we've used JButton for the Back and forword function as we have with the I.E.
    So the Problem is that
    when I click Back Button I need to get the Previous JFrame Contents and for Forword I need to get next JFrame Contents the Function are same as back and Forword Functions of Internet Explorer.
    I'tried with Undo() Package but I did not get the Required Output
    Thanks in Adv,

    How about the following:
    1. Creat a top level container (ie window) with menus,
    back/forward buttons etc. using whichever layout
    manager is appropriate.
    2. Create a panel, and add it to this window. Set the
    panel to use card layout manager.
    3. Display all output from your app in the panel, and
    let the window's back/forward buttons call the
    appropriate methods on the card layout manager.
    Thanks for reply,
    But i had done the same thing i.e icreated a top level(using JFrame) for the buttons menus and etc.
    then using the layouts manager.
    created a panel andused cardlayout manager but my problem is taht when i add those conetents(called panel contents of the frame) as component and add it this panel then i am geeting thaierror stating
    java.lang.IllegalArgumentException: adding a window to a container
    so that is the problem i.t it is not get added to the newpanel.

  • Why the step-and-repeat function (command+d) isn't working in Illustrator CS5?

    Why the step-and-repeat function (command+d) isn't working in Illustrator CS5?
    I am trying this. Take an object, move it some inches on the right while holding the option key, so I duplicate it.
    Usually, I pressed on command+d to duplicate this action on and on (duplicate the object and moving it some inches away), but now it is not working.
    any idea?

    kwakoo,
    It may be time for the list:
    The following is a general list of things you may try when the issue is not in a specific file, and when it is not caused by issues with opening a file from external media. You may have tried/done some of them already; 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    If possible/applicable, you should save current artwork first, of course.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to at least 5 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible), for CS3 - CC you may find the folder here:
    https://helpx.adobe.com/illustrator/kb/preference-file-location-illustrator.html
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall (ticking the box to delete the preferences), run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • Exclamation mark appears instead of photo. Recently upgraded from i mac to Macbook air and all was transferred over. I have run all the repair and rebuild functions in iphoto. Any other solution?

    Exclamation mark appears instead of photo. Recently upgraded from i mac to Macbook air and all was transferred over. I have run all the repair and rebuild functions in iphoto. Any other solution?

    Since iPLM failed to help try the following:
    Starting over from scratch with new library
    Start over with a new library and import the Originals (iPhoto 09 and earlier) or the Masters (iPhoto 11) folder from your original library as follows:
    1. Open the library package like this.
    2. Launch iPhoto with the Option key held down and, when asked, select the option to create a new library.
    3. Drag the subfolders of the Originals (iPhoto 09 and earlier) or the Masters (iPhoto 11) folder from the open iPhoto Library package into the open iPhoto window a few at a time.
    This will create a new library with the same Events (but not necessarily the same Event names) as the original library but will not keep the metadata, albums, books slideshows and other projects.
    Note:  your current library will be left untouched for further attempts at a fix if so desired.
    OT

  • How to get warning by using the previous value of the column and new value

    Hi all,
    Suppose the column A has the true and when I click on button which also sets the value of the column as true I should dispaly warning that column a is already true.How can I achieve this.How to store the original value of the column and then check wirth the new value.
    Thanks in advance.

    You dont have to store the value anywhere
    You can do this from setMethod of EOImpl.java
    eg:
    void setAttributeXXX(String Value)
    // value contains new value
    // getAttributeXXX() contains oldValue
    if (value.equals(getAttributeXXX()))
    // Verify value is > 0 if (value.compareTo(0) <= 0)
    throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT, // indicates EO source
    getEntityDef().getFullName(), // entity name
    getPrimaryKey(), // entity primary key
    "AttributeXXX", // attribute Name
    value, // bad attribute value
    "AK", // nessage application short name
    "FWK_TBX_T_EMP_SALARY_REQUIRED"); // message name
    setAttributeInternal(AttributeXXX, value);
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Can I use a deactivated verizon G'zOne Ravine phone for its nonphone properties such as the alarm and other functions? Do I have to do anything special?

    Can I use a deactivated verizon G'zOne Ravine phone for its nonphone properties such as the alarm and other functions?
    Do I have to do anything special?

    Just charge it

  • How to find the columns and tables used in a stored procedure?

    Hi,
    Can someone suggest how to find the columns and tables used within a stored procedure?
    Thanks
    VBK

    For example:
    SQL> create or replace
      2    procedure p1
      3      is
      4          cnt number;
      5      begin
      6          select count(*) into cnt from emp;
      7  end;
      8  /
    Procedure created.
    SQL> select  referenced_owner,
      2          referenced_name
      3    from  dba_dependencies
      4    where owner = 'SCOTT'
      5      and name = 'P1'
      6      and referenced_type = 'TABLE'
      7  /
    REFERENCED_OWNER               REFERENCED_NAME
    SCOTT                          EMP
    SQL> SY.

  • Can we hide the lines between the columns and rows of an alv in wd abap

    HI all ,
      I know that we can colour cell/column/row in an alv in wd abap.
       but, can we hide the lines between the columns and rows of an alv in wd abap.
         i have checked this link [hiding lines b/n rows and columns of an  alv|http://help.sap.com/saphelp_nw04/helpdata/en/91/e7eb40c4f8712ae10000000a155106/content.htm]
         but didn't  understand, can please anybody provide some example or any material..? it will be very helpful.
                                                                         THANK  YOU.
    Edited by: arfat111 on Feb 15, 2010 7:05 AM

    Code some like this in the WDDOINIT method of your view which defines the ALV component as used component.
    instansiate the ALV component
    data lo_cmp_usage type ref to if_wd_component_usage.
    lo_cmp_usage = wd_this->wd_cpuse_usage_alv().
    if lo_cmp_usage->has_active_component() is initial.
       lo_cmp_usage->create_component().
    endif.
    data lo_interfacecontroller type ref to iwci_salv_wd_table.
    lo_interfacecontroller = wd_this->wd_cpifc_usage_alv().
    data lo_value type ref to cl_salv_wd_config_table.
    lo_value = lo_interfacecontroller->get_model().
    hide the grid lines
    lo_value->if_salv_wd_table_settings~SET_GRID_MODE( value = '01' ).
    Thanks,
    Abhishek

  • How to hide the Columns and Views for Login user in SharePoint 2013

    Hi Friends,
    How to hide the Columns and Views for Login user in SharePoint 2013? Is it possible using OOB features? If not possible how can we hide the Columns and Views for Login user?
    Could you please help on this.
    Thanks,
    Tiru
    Tiru

    Hello Tirupal,
    There is no OOB way to do this.
    Please check this codeplex solution to achieve the same.
    https://sp2013columnpermission.codeplex.com/
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • Joker characters in the search and replace function

    Hello everyone,
    Just a quick question :
    I was wondering what character can be used as a joker character in the search and replace function (I did a research in the site, but didn't find any thread)
    To be clear, I have misspelled a word, for example «trouser».
    I know I didn't make any mistake with the first and last letter, but sometimes I wrote it «tourser», «turoser»
    (sorry if there is a weird meaning, i'm french, and for me it won't mean anything, so don't take it personally)
    I would like to be able te replace all the versions of «trouser», even the good ones, using «t*****r» in the search and replace function.
    I tried the «*» character, but it's not the jocker.
    Thank you for your help !

    As I can't edit my first message, just wanted to let you know it's also called «wildcard» characters
    Like here (Careful, it's… Ms Office)

Maybe you are looking for

  • How to set error message inside the loop...module pool

    Dear all,      Am creating Table Control without wizard. In that i am looping the values, that is, Once if i entered 5 digit values means, 12345-08... the values should be stored in z-table like this 12345,12346,12347,12348 . That is 5-8 it as to upd

  • How to find out if sata_nv is set to AHCI or IDE?

    Hello, I'm thinking about buying a small SSD (64 GB) since I'm only using 7 GB of my 120 GB anyway. My Laptop (HP dv6365eu) is around 5 years old and only supports SATA I. Unfortunately the BIOS doesn't allow any configurations whatsoever. For best p

  • Questtion about Third party returns process

    Hi All, We have an issue in returns PO process -Third party Customer Forward Processp flow as below OR (US Sales Order) -> US Purchase Requisition (NB) -> US Purchase Order (NB) -> MIGO (Mvt 101) -> MIRO (Vendor Invoice) -> F2 (Customer Invoice) Cust

  • Lightroom does NOT make use of new/fast hardwares!

    For those who are considering a new computer here's my experience.... Lightroom 4 does NOT make full use of new/fast CPUs / SSDs! I’ve been frustrated with Lightroom speed since launch and held on to my “old” Xeon work station for two years…. I recen

  • Hp envy 17

    I am having a problem with my laptop.when I plug in headphones, the computer doesn't recognize them. The audio keeps playing from the speakers. It originally did work, but then it stopped. I have tried updating the audio drivers to the current versio