How to find which junk characters are there in the string

Hi Guys in my employee table ,I have a field name emp_name
and the data inside one of the record is 'BUSH ';
after trimming it ... length(trim(emp_name)) ... I expected the length to be 4,but it still returns 5.So I am wondering what that extra characters after H is.
Can some one tell me how to find it.
thanks in advance.

Hmmm. What you describe is not the behaviour I would expect from a CHAR(10) column. I would expect this:
SQL> CREATE TABLE bt (col1 CHAR(10));
Table created.
SQL> INSERT INTO bt VALUES ('BUSH ');
1 row created.
SQL> SELECT length(col1) FROM bt;
LENGTH(COL1)
          10
SQL> SELECT length(trim(col1)) FROM bt;
LENGTH(TRIM(COL1))
                 4
SQL> What version of the database are you using? Also, what does this query give you?
SELECT ascii(substr(ename, 5,1))
FROM emp
WHERE  substr(ename,1,4) = 'BUSH';Cheers, APC

Similar Messages

  • How to find which data elements are used in ABAP program ?

    I wish to find out which data elements are used in some programs .
    Is there any DD table which stores this information ?
    I know we can go to program and look in fields, but do SAP stores this information somewhere ?

    Dear Kaushal,
    Please check the table <b>TRDIR</b>.
    Regards,
    Abir
    Don't forget to award points *

  • How to find which all instances are not listed in groups?

    Hi
    We have 68 servers, 150 instances are there. I need to write a query to fetch from OEM repository, all the instances group by GROUP NAME.
    If any one knows how to get this information, which views/tables of sysman we need to touch please let me know ....
    Thanks in advance.
    RK

    SELECT group_name,targeT_name FROM MGMT$GROUP_MEMBERS WHERE target_type='oracle_database'
    ORDER BY group_name
    SELECT group_name,SUM(1) FROM mgmt$group_members WHERE target_type='oracle_database'
    GROUP BY group_name

  • How to identify Which function modules are used in the planning area?

    Hi all,
    there are couple of function module derviation is used to derive the calendar year, month, fiscal period etc.
    But how to identify which function module is used in which planning area?
    I cant find out from the where used list from function modules?
    Thanks
    pooja

    Hi Pooja,
    Go to characteristic relationship tab,click on detail icon on extreme left of the derivation,there you will get the name and the details of function module used for derivation.
    Regards,
    Indu

  • Junk Characters are coming in the Print Preview of True Type Font

    Hi
    I am facing one issue. Here I have installed on one of the True type font of Gujarati (one of Regional language for India) language.When I see Print preview using LP01 Output device (which has SWIN Device Type) these true type font coming as Junk characters. But when I take print it is coming perfectly Ok. I want to know is there any setting required to maintain for Output device to see Print Preview in Gujarati also ?
    I feel that when System is generating output for Preview it is ignoring true type font..
    If there is any solution kindly let me know
    Regards
    Bhavin Shah

    Hi,
    Try creating the spool using the unicode device type SWINCF(see note #812821) and check the result.
    regards,
    Aidan

  • How to find whether user exits are  used in the query or not??

    Hi ,
    I have to make the list of queris in which user exits are used.
    Please any body help me how to find the queries in which user exits are used.
    Thanks
    Maruthi

    Hi Maruthi,
    Using table RSZGLOBV you can find out the queries that have customer exit variables.
    Set filter VRPROCTP (processing type) = 3 means customer exit.
    and the field COMPID will give you the Query name.
    Best Wishes,
    Mayank

  • How to find which form fields are duplicated

    OK I've been making several forms in PDF to merge together at a later date. Now I merged them but its telling me I have multiple form text fields that are named the same. How can I find out all of which form text fields are named the same so I can change them. Is there a search function to do that or not?
    -Darian

    Thank you for your response and if i wanted to remove the form fields then this would defiantly help me. I am actually trying to put a few different PDFs together to make one big PDF and I have form fields that are named the same, per the message I get when merging 2 PDF docs. Because there is so many form fields to go through I was wanting to know if there was a quick way to see all the form fields that are named the same so I can go change the name of them. I want to keep all the form fields just cant have any of them named the same. thanks

  • FileNotFoundException Url /site_files/include/js/internet2_dcs_tag.js. How to find which page requested it, or locate the folder?

    Hi,
    I'm getting a frequently recurring error in the logs, as follows:
    GetFileFromUrl: FileNotFoundException when attempting get file Url /site_files/include/js/internet2_dcs_tag.js The system cannot find the file specified. (Exception from HRESULT: 0x80070002) at Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String
    bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder) at Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId,
    Int32& plType, Object& pvarFileOrFolder) at Microsoft.SharePoint.SPWeb.GetListItem(String strUrl, Boolean bFields, String[] fields) at Microsoft.SharePoint.Publishing.CommonUtilities.GetCurrentFileVersionFromUrl(String url, SPWeb web)
    How can I find out what is requesting this file?
    Also, any ideas on where is this file supposed to be?  I can't find /site_files/include/js/ anywhere, so I'm guessing its virtual.
    Hoping someone can help!
    Thank you.

    This could happen if you have the BLOB cache enabled and this issue got resolved in Dec CU package. Please refer the below link .
    http://blogs.msdn.com/b/spses/archive/2013/10/23/sharepoint-2010-using-blob-caching-throws-many-errors-in-the-uls-and-event-logs-the-system-cannot-find-the-file-specified.aspx
    Aravind http://aravindrises.blogspot.com

  • How to find which programs (and other objects) use the field LGORT

    Hi, Im an Abap freshman, and I have been asked to search all programs and objects that use the field LGORT (Storage Location), regardless of what table it is in.
    Is it possible to do it using the "Where-Used List"?
    This will be important since a new Storage Location will be created for MM, and we have to assure that no other programs that reference to it will be affected.
    I would appreciate any help. Thanks!!

    Hi George,
    Go to transaction SE11, choose radiobutton Data Element then enter the name LGORT. Now using the where-used-list in the toolbar, choose programs checkbox in the subsequent dialog and press enter. It should show all programs using the field LGORT irrespective of table name.
    Hope this helps.
    Cheers,
    Sougata.
    Using ECC6.0

  • How can I restore my playlist folders in itunes? They are there but the individual song titles aren't listed. They are only listed by album. This makes it very difficult to find songs in my playlist.  Also,when I click on music, it will not list options.

    My itunes account is messed up. How can I restore my playlist folders in itunes? The list's are there but the individual song titles aren't. They are only listed by album. I can only see the song titles as they are played at the top of my itunes. This makes it very difficult to find songs in my playlist.  Also when in the itunes store, I am not able to see music genre choices, or search for a song or group.
    Thank you

    Hi dones49,
    It sounds like your issue here is that iTunes can not find the files for some of the songs you have brought into it. This happens occasionally even if the songs have not been moved from the location that iTunes places them on import or purchase. When you try to use the song, iTunes prompts you to find the file, as you have seen.
    To find the file, use the information in this article to navigate through the iTunes media folders -
    Locate and organize your iTunes files
    If you are still unable to locate the files, you may need to download them from the iTunes store again, or rip them from your CDs. See this article for assistance with downloading your past purchases -
    Download past purchases
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • How to find which datasource are using  tables AFRU ,CAUFV and AUFM

    *how to find which datasource are using  tables AFRU ,CAUFV and AUFM*

    Hi,
    You can enter your table names in SE11 transaction and click "Display" and again click "Where -Used-List". Then it will show all the places where these tables are used(Datasources)
    Hope this helps.....
    Regards,
    SUman

  • HR   how to find which personal area belongs to which country

    HR
    how to find which personal area belongs to which country
    thank you,
    Regards,
    Jagrut Bharatkumar shukla

    Hi,
        You can use the table T001P for finding that  for eg.,
    <b>Select molga from t001p where werks = 'Your Personnel area code'.</b>
    Thanks
    Yogesh

  • How to find which model of iPhone 5 I am using? and is that GSM or CDMA?

    How to find which model of iPhone 5 I am using? A1428 or A1429 ? Is there any short code you can dial in and check the model number ?
    And which is GSM or CDMA out of this model.

    If you purchased the phone in the US with an AT&T contract then you have the locked CDMA A1428 version of the iPhone 5. 
    At the moment and if the contract is a new contact, then you won't be able to get the phone unlocked at the moment and no, you won't be able to use it in your home country.  You will also have LTE 4G compatibility issues too and your phone will only work on 3G and also you need to remember that iPhones are only covered by country specific warranty, so it is only covered in the US, so if you go home and then have a problem with your phone, you will have to come back to the US to get it repaired.
    You need to approach AT&T about whether they will unlock your phone for you as they are the ONLY ones that can do it, but the answer to your question is no and if you had wanted to use your phone at home, then you should not have purchased it in the US.  The best that you can hope for at the moment is to use it on international/roaming.
    If you purchased your phone in the US, then it will be a CDMA phone.  You don't have a GSM phone, but GSM phones are unlocked anyway and these are the ones that are selling in Canada and the UK.
    If you have your phone on an AT&T contract then ultimately, AT&T are the only ones who can help you with any questions regarding unlocking and they are the only ones who can unlock it for you, noone else.

  • How to find which VO assigned to which AM

    Hi,
    At one page, i can't find the VO which is assigned to which AM thru "About the Page" Link.
    Because i want to extend that CO file which has that AM related to VO.
    Then only i can do calculate the Total of one attribute when the RN loads.
    How to find?

    If i try to get the values from the CO of pageLayoutRN means, NullPointerException only coming.
    If the view object you are using in pagelayout controller is initialized(executed) in region level controller and you are trying to get/set rows or attributes from that VO it will throw null pointer exception.
    Please find out which controller is calling the method to initialize and execute the VO and write code(extend if is seeded) in that controller.
    If you want to write this logic in PageLayoutRN Controller and the VO initialization or execution logic is not there in this controller then you have first execute the VO in page layout controller PR method. (Make sure the VO is attached to the AM associated with pageLayoutRN.)
    Regards,
    Ram

  • How many classes are there in the java kit?

    i figured this was the most "general" forum to post this question in. and im curious to know, how many packages/classes/functions are there in the java sdk? like, all the prebuilt ones. ive looked but cant seem to find any info on it. anybody happen to know?
    Thanks!

    there are at least 4142 classes in the 1.4.2.x distribution ...Is that the number of files which end in .java? There's bound to be a lot more
    classes, when you u consider inner classes and especially anonymous
    inner classes.It was just a rough estimation ... and I wrote 'at least' 4142 classes ...
    and I was wrong: there are alse 4 .h files in the src.zip file, so that makes 4138
    classes at least :-)
    kind regards,
    Jos

Maybe you are looking for

  • IN NUMBERS HOW DO YOU FILL IN FOR A SERIES OF NUMBERS OR DATES

    In numbers how do you fill in for a series of numbers or dates without doing it manually

  • Video Import problems

    Hi Everyone, I wonder if someone could advise about a problem? We have a number of video clips from a client in WMV format and wish to import into Flash 8. We did this without any problems and created the flv files using the video import wizard. The

  • F-58 issue!

    Dear Experts! My requirement is to change the vendor reckon account no. (i.e.associated with the vendor code) at the time of document posting @ f-58 transaction. At the time of document posting this reckon acount no. of the evndor is automatically pi

  • Setting Classpath so one jar can access another jar

    I am having trouble with running an application as a jar that accesses other custom libraries. I have made a small example to try to get this working. I have      HelloWorld.class - that prints out "HelloWorld" and then throws a custom exception JWIE

  • Passing parameters from Trinidad Chart to Bean

    I am trying to pass two parameters with a trinidad chart, is that possible, I get setActionListener must be inside of a UIComponent tag. my jsp has                     <tr:chart id="chart" inlineStyle="width:680px; height:400px;"