How to manage an invisible character in a string?

Hello
I have an interesting situation-

Select bac_person_id, (bac_person_id) length of bkmap_personid_stg, where BAC_PERSON_ID like '% 27136317% '.

The result is-

BAC_PERSON_ID | LENGTH (BAC_PERSON_ID)
27136317 |     9

I don't know what the invisible character here?

It is certainly not a space character as pad does not work-

Select * from bkmap_personid_stg where trim (BAC_PERSON_ID) = '27136317'

no record!

But substr does not give me the resullt-

Select * from bkmap_personid_stg where substr (BAC_PERSON_ID, 1, 8) = '27136317'

How will I know which is the last character? and how to manage it?

to get the details of your data use dump()
as

Select double dump('27136317');

DUMP('27136317')
-------------------------------------
Typ = 96 Len = 8: 50,55,49,51,54,51,49,55

in your case
use

Select dump (bac_person_id) in the bkmap_personid_stg where BAC_PERSON_ID like '% 27136317% '.

Tags: Database

Similar Questions

  • Insert the tab character in a string

    I am trying to create a string that will be eventually written to a text file, which must be delimited by tabs. I can't figure out how to insert a tab character in the string. Here is an example:

    < cfset headerline 'H' & TAB = & #FORM.order_ID # >

    Obviously, "TAB" doesn't work here. Help?

    Michelle

    michellezee@Comcast. wrote:
    > I am trying to create a string that will be eventually written to a text file
    > who should be delimited by tabs. I can't understand how to insert a tab in the
    > string. Here is an example:
    >
    >
    >
    > Of course, "TAB" doesn't work here. Help?
    >
    > Michelle
    >
    >

    TAB = #chr (9).

    --

    Azadi Saryev
    SABAI - Dee.com
    http://www.SABAI-Dee.com

  • How to manage the plsql error occurring in the exception block

    We know how to manage exceptins located in the BEGIN block.
    But I am unable to catch the exception in the exception block. Write an erroeneous code so that the control will go to the exception block and there is also a plsql error, but I am unable to handle that error, it returns the error to the calling environment.

    DECLARE
    CNT NUMBER (5): = 0;

    BEGIN

    Select "Chris" IN double's NTC;
    DBMS_OUTPUT. Put_line (to_char (CNT));

    EXCEPTION
    WHEN invalid_number CAN
    DBMS_OUTPUT. Put_line (' error occurred inside the start block ');

    CNT: = "deba";

    WHILE OTHERS THEN
    DBMS_OUTPUT. Put_line (' error occurred inside the start block ');

    END;

    Please suggest me how to catch this exception?

    Hello

    DECLARE
    CNT NUMBER (5): = 0;

    BEGIN

    Select "Chris" IN double's NTC;
    DBMS_OUTPUT. Put_line (to_char (CNT));

    EXCEPTION
    WHEN invalid_number CAN
    DBMS_OUTPUT. Put_line (' error occurred inside the start block ');

    CNT: = "deba";

    WHILE OTHERS THEN
    DBMS_OUTPUT. Put_line (' error occurred inside the start block ');

    END;

    First of all your exception mouhamadou who you have sent i.e. invalid_number itself does not.
    You should use named exception VALUE_ERROR to catch the exception in the main block.

    SQL> DECLARE
      2  cnt NUMBER(5):=0;
      3  BEGIN
      4  select 'debalina' INTO cnt from dual;
      5  DBMS_OUTPUT.PUT_LINE(to_char(cnt));
      6  EXCEPTION
      7  WHEN Invalid_number THEN
      8  DBMS_OUTPUT.PUT_LINE('error has occured inside main block');
      9  end;
     10  /
    DECLARE
    *
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    ORA-06512: at line 4
    
    SQL>  DECLARE
      2   cnt NUMBER(5):=0;
      3  BEGIN
      4  select 'debalina' INTO cnt from dual;
      5  DBMS_OUTPUT.PUT_LINE(to_char(cnt));
      6  EXCEPTION
      7  WHEN VALUE_ERROR THEN
      8  DBMS_OUTPUT.PUT_LINE('error has occured inside main block');
      9  end;
     10  /
    error has occured inside main block
    
    PL/SQL procedure successfully completed.
    

    Your doubts regarding catch the exception in the exception block, you can run as below, by nesting a block Begin in the exception block itself.

    SQL> DECLARE
      2  cnt NUMBER(35):=0;
      3  BEGIN
      4  select 'debalina' INTO cnt from dual;
      5  DBMS_OUTPUT.PUT_LINE(to_char(cnt));
      6  EXCEPTION
      7  WHEN Value_error THEN
      8  DBMS_OUTPUT.PUT_LINE('error has occured inside main block');
      9  Begin
     10  cnt:='deba';
     11  Exception
     12  WHEN OTHERS THEN
     13  DBMS_OUTPUT.PUT_LINE('error has occured inside exception block');
     14  End;
     15  END;
     16  /
    error has occured inside main block
    error has occured inside exception block
    
    PL/SQL procedure successfully completed.
    

    Hope your question is clear.
    :)
    Twinkle

  • How to manage what programs open when I turn on my Mac

    How to manage what programs open when I turn on my Mac

    System Preferences > users and groups > Login. Unlock the padlock (bottom left), select the item you want to remove, and then click the sign less.

  • How to manage search engines in Firefox Beta for Android

    When I type a search in the search bar, I get a list of search engines to use options:

    Google
    Amazon
    Twitter
    Wikipedia

    I would use google.co.uk not google.com (and probably amazon.co.uk and not amazon.com) but may not know how to manage search engines.

    Could someone let me know if this is possible

    see you soon,

    Malcolm.

    You can add new http://mycroft.mozdev.org/ research search engines

    To the best of my knowledge, it is not possible to remove search engines.

  • How can I view my character in firefox not yet presented firefox 10.0.2

    How can I preview my character in firefox not presented yet firefox 10.0.2, I can't find the option

    I installed the character more and used the button on the right Fox

  • When you configure synchronization how sync manages information on two computers? It merges the information?

    When you configure synchronization how sync manages information on two computers? It merges the information?

    Hello!

    Yes, how Sync is that it brings together all the bookmarks and pushes them to all your devices. Same thing with the story.

    You will lose all the information in one of your computers.

  • How to manage or disable my 'guest user '.

    How to manage or disable my "Guest User" if I can't click on it and it's all gray? Help, please. I tried to manage or disable my 'guest user' for months now ~ Emma Saige

    Try screen http://osxdaily.com/2011/10/13/disable-guest-user-account-mac-os-x-10-7-2-login-/

  • How to manage Windows Vista power management features

    Hi guys

    I searched a bit in the technical knowledge of the Toshiba and found a very interesting article on Windows Vista power management features.

    * [How to manage Windows Vista power management features | http://aps2.toshiba-tro.de/kb0/HTD84026Q0000R01.htm] *.

    The fact is that you will not find one tool of Toshiba Power Saver on Vista as on Windows XP laptops and the parameters energy saver is a bit hidden in Vista power saving settings.

    But you can also control some options as a method of cooling or power saving Mode.

    I think that it could be interesting for some people here in the forum!

    Greetings to all!

    Thanks JayJay.

  • How to manage multiple hardware or auto select a sequence according to a condition?

    How can manage us mutiple devices to TestStand?

    I have 2 types of DMM, because some are no longer available (AG34410 which must be replaced for a 34465 has when he goes to the calibration or breaks down).

    Each DMM is structured in its own *.seq file, which includes all hardware calls.

    Example: Normally the TS developer adds a call sequence and links to 34465.seq and selects the module sub 34465 read several voltage.

    What I'm trying to do is an automatic selection for the correct DMM according to the DMM in StationGlobals:

    34410.SEQ and if he chooses the module sub 34410 read several voltage

    34465.SEQ and if he chooses the module sub 34465 read several voltage.

    All the submodules of the same 'measure' have the same settings, so the call that never would not cause any problems.

    Is this possible without having to implement a ton of if/else conditions for each type of measument or function in a DMM.seq shell?

    We are still at the beginning of a new project, I can change around a few ways to call my sequences or rename all the subsequences under the same name. LabVIEW TestStand API call might be a viable option (although I have not worked with API TS in BT yet).

    Thank you.

    So I threw this example that shows how to dynamically select what sequence of execution.  As long as they have the same prototype you should be good.

    Kind regards

  • I would like to know how to manage the ASN.1 encoding/decoding in LabView?

    I would like to know how to manage the ASN.1 encoding/decoding in LabView?

    Hello J,

    in the example given here , it looks like a format simple bytestream...

    You must read the byte stream, get the first and the second byte to decode the data type and length and then read & catalogued according to number of bytes. And then read 2 bytes and so on...

    Encoding will work the same but in reverse

  • How to type the third character

    Several T500 keys have three characters on them. I know how to make the default character and uppercase characters, but may not know how to get the character down to the left of the key. Seems like a stupid question! Thank you.

    All,

    The keys you mention are part of the integrated numeric keypad on the * series 20 and earlier versions. Press Fn + scroll stop to activate.

    I hope this helps.

  • How to add contacts to your existing groups or how to manage your groups?

    Anyone know how to add contacts to your existing groups or how you manage your existing groups. How do you even add new groups I can't find a way to do this in the ocntacts.

    Hello

    1. what version of Windows is installed on the computer?

    2 are. what groups you referring?

    3. What mail client do you use?

    If you use Hotmail, you can post your request in the Windows Live Forum.

     

    http://answers.Microsoft.com/en-us/windowslive/Forum/Hotmail

    You can check the link:

    http://Windows.Microsoft.com/en-us/Windows-Live/Mail-import-backup-restore

     

    Please get back to us with the above information so that we can help you accordingly.

  • restore display setting - how can manage view like forms option or brightness?

    How can manage the option to display as forms or brightness?

    Hi Hekmat,

     
    1. what exactly mean you by forms?
    2. What is the operating system installed on your computer?
     
     
    I suggest you to visit the links below and check if it helps.
     
     
     
     
     
     

     
  • How to manage the tv after hdmi to hdmi connection

    I want to connect to my computer windows 7 with tv on my Vizio tv hd tuner. I intend to use the hdmi to hdmi connections. After that I made the connection how to manage the tv without going back to the computer. My TV is in another adjacent room to my computer, sbout 20 ft away. Can I use a wireless mouse to manage the tv? The monitor and tv both appear at the same time? What are other options? Thank you for taking my question and to meet others, I put in the forum. Donnie

    I guess that the xbox 360 is a must for my setup. Thanks for your reply, Donnie

Maybe you are looking for

  • Apple USB Super drive not supported error message...!

    Hello. MBP 17 "in early 2008, El Capitan 10.11.2... Just bought a new drive for Apple USB Super brilliant at my local Apple store there are not 30 minutes.  Came home, plugged in and got the error specified in the JPEG format attached, namely "USB De

  • Local disk C does not it is red__Windows vista basic__Please help me__Arelys Moya

    Remember - this is a public forum so never post private information such as numbers of mail or telephone! Ideas: local disk (C) has no space Recent changes to your computer What you have already tried to solve the problem

  • Can I add a switch to the pile of work of 3750 s without traffic interruption?

    I need to add a third stackable 3750G switch to an existing pile of 2 and I was wondering if the first 2 must be turned off before installing the third? I have to configure the new switch with anything specifically? (apart from the allocation of port

  • How does ACS check redundancy?

    Hello In a router, if you configure the RADIUS server, Ganymede-1 host Ganymede-2, this is how you configure the redundancy of the ACS.  My question is, how does the router check the pulse of each RADIUS server?  By ping or another keepalive mechanis

  • Captivate comments to?

    Can someone tell me about this comments option in Adobe Captivate 8?  My guess is that it is where the Captivate authors write comments on the projects.In my view, there are preferences for spelling and Messages of Confirmation options. This adds to