To_number is not working for this??

any idea.. it's 10g
select to_number(trim(' 3020     '))
from dual;
ORA-01722: invalid number

I think you have TAB space in your string.
SQL> select length(trim('  3020                                  '))
f  2  rom dual;
LENGTH(TRIM('3020'))
                   5
SQL> select length(replace('  3020                                       ',' ','
')) from dual;
LENGTH(REPLACE('3020','',''))
                            5
SQL> select replace('  3020                                      ',' ','') from
dual;
REPLA
3020
SQL> select trim('1<TAB SPACE>') from dual;
TR
1
SQL>
SQL> select length('1<TAB SPACE>') from dual;
LENGTH('1')
          2
SQL> select length(trim('1<TAB SPACE>')) from dual;
LENGTH(TRIM('1'))
                2So remove the TAB space from the string and it will work fine
Message was edited by:
tekicora

Similar Messages

  • I started the OS system from a backup hard drive. Now My Adobe products doesnt work. "the licensing does not work for this product" Error code 150:30. Help me please!!

    I started the OS system from a backup hard drive. Now My Adobe products doesnt work. "the licensing does not work for this product" Error code 150:30. Help me please!!

    Reinstall the software properly. migration/ backups do not work due to the specific requirements of the activation system.
    Mylenium

  • Adobe AIR for Android as3 codes not working for this one project

    I'm trying to use Accelerometer in my flash game, which works for every other project I'm working on, but for some reason on this one project if I try using it I get errors, using the same code i've used before, such as this. 
    1046: Type was not found or was not a compile-time constant: Accelerometer.
    1180: Call to a possibly undefined method Accelerometer. 
    This is a fairly old file, not that old, so are there files I need to add to it to get it to work, or settings I need to change? This is very frustrating, I don't know what the problem possibly could be. Can anybody help me?

    The error message is indicating it cannot find the class.  Make sure you are importing it:
         import flash.sensors.Accelerometer;

  • Flash player not working for this site

    Hi All,
    When I am at the site down in this message, my flash isn't
    loading and it is asking for flash download. only in IE in firefox
    it's working ok. Do you have any suggestions?
    The site is
    www.nedfinity.com

    There is no problem with SWFObject. It's loads better than
    the default
    settings - aka Adobe's script. Which is why Adobe uses
    SWFObject on their
    own page.
    Dave -
    www.offroadfire.com
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Enabled cookies, but not working for this specific site...

    I was trying to log in to milwaukeejobs.com, but then it takes me to a page which says, "If you have tried to log in, but are being redirected to this page. It may be because cookies are not enabled on your computer." I made sure my cookies were enabled (I have "accept cookies from sites" and "accept third-party cookies"), but I still can't log in. I tried logging into my milwaukeejobs.com account from another browser (Safari) and that worked so it's not a problem with my account. It is firefox. I didn't have a problem with this until I upgraded to firefox 4. Please help! Thanks so much.

    Had the same problem with a different website. Solved by doing this:
    # Clean browsers cookies and cache
    # Go to the specific login/registration page that didn't work. Make sure it is http://'''www'''.site.com and NOT just http://site.com
    # Login/register

  • Changing playback quality to 1/4 does not work for this one clip...

    So, I've recently ran into a really annoying problem when editing one of my videos, even though I click the 1/4 playback quality, this one clip still plays in full. My recording setup has not changed, I still and have always been using my iPod Touch and this is the first time I encountered this

    It's likely that the resolution of the footage from the iPod Touch is much higher than the rest of your clips. In this case, the other clips will appear to be much more pixelated than the one from the iPod when you turn down the playback resolution.
    Rest assured that the iPod footage is being affected by the resolution setting, even though it might not be as visually obvious as the other clips.

  • Safari do not work for this "Discussions"

    Yes. I've try a lot of times, but when login to participate, Safari send me to suscribe a new count in an infinite loop.
    This problem not happens with Firefox (I'm using it now fot get write this post). Fire fox get login me without a problem.
    Anyone have the same problem?
    I'm using the last version of Safari (3.2.3)

    Hi,
    Do you have any accented characters in your full name? If you do, there's an issue with Safari and Discussions that causes this bug. To fix it, you need to change the accented characters to unaccented ones.
    You can adjust your full name under the Email section at http://myinfo.apple.com

  • TS2755 I used to get iMessages on my iPad 2 and iPhone 4 now it goes to one or the other, not both.  Icloud is not working for this and iMessage texting doesn't work I need to send it as a regular text. How do I fix this issue.

    Icloud doesn't work between my iPad 2 and iPhone 4. And when I try to iMessage from my iphone 4 it doesn't send. I need to send it as a regular text message. Any ideas why they won't sync and iMessage won't send?

    To delete, tap "Edit" (tap to enlarge image)

  • ReplaceAll string by regular expression not work for this case.

    I will delete all tag and want "pure text" but the output is delete all.
    String content = "<aaa>pure text<fff>";
    content = content.replaceAll("<.*>","");Content has output is blank because reqular expression match from begin and end of string
    But when i change
    String content = "<aaa>pure text<fff";
    content = content.replaceAll("<.*>","");The output is ==> pure text<fff
    How make req match in sequential
    Please lead me to solution

    peterdog1234 wrote:
    Thank you very much.
    I know '?' is a Quantifiers.
    I do not understand using ?
    Please lead me againSee the paragraph "Laziness Instead of Greediness" from [http://www.regular-expressions.info/repeat.html].

  • TS1814 I have windows vista and this did not work for my ipod it still will not update PLEASE HELP!

    I have windows vista and this did not work for my ipod it still will not update PLEASE HELP!
    iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server

    Try this:
    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 n above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    If you do get a prompt after restart windows to remap LSP, just click NO.
    Now launch your iTunes and see if it is working now.
    If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
    iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123?viewlocale=en_US

  • HT4623 Why do my iPhone cords for my 5 say it is not certified and may not work with this device? It's the same cord that came with my phone. The only difference is the iOS7 update.

    Why do my iPhone cords for my 5 say it is not certified and may not work with this device? It's the same cord that came with my phone. The only difference is the iOS7 update.
    Maps took me to the completely wrong side of town for a long standing business in town.

    Hello margmcarlson,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    Troubleshooting iPhone, iPad, and iPod touch accessories
    http://support.apple.com/kb/TS2634
    Restore iPhone, iPad, or iPod touch to its factory default state. You should rarely need to use this step with an accessory issue.
    Best of luck,
    Mario

  • HT5557 The ibooks dictionary works fine for my iPhone 5, but it does not work for my iPad 2. Is this fixable?

    The iBooks dictionary works fine for my iPhone 5, but it does not work for my iPad 2. Is this fixable?

    I went to the Audio store to see about getting a surround sound and the salesperson asked me why I wasn't using AirPlay, he said it was better than the Bluetooth, better quality. So I do have AirPlay on my Sony and I installed the app on my iPhone 5 but they can't find eachother.......when I try looking for my iPhone on my receiver it does not show it. The Sony display works through my TV, the set up screen is there but it says no devices found. Like I said, the Bluetooth finds the iPhone and works ok, but the AirPlay does not.....looking at the manuel it says that the AirPlay will recognize my device (iPhone 5) but it does not..........

  • I just upgraded my iPhone 3GS to 4.3.5 and my universal doc stopped working with it?  It has worked flawlessly for the last year and suddenly I get the message: "this iphone is not optimized for this device."  The music comes out too quiet to the speakers

    I just upgraded my iPhone 3GS to 4.3.5 and my universal doc stopped working with it?  It has worked flawlessly for the last year and suddenly I get the message: "this iphone is not optimized for this device."  I dismiss the message, but the remote no longer works with it and the music is too quite to the speakers.  The remote works fine with my Macbook Pro.  I tried a restore on the iPhone and started from scrach, but the same problem exists.
    Any help with this?
    Thanks,
    JT

    yep... my iphone 4 also having problem like astoker.. u see on dock pin using torch light.. i found 2 pin touch each other.. i solve my problem ready.. thanks wjosten.

  • I have a licensed copy of Adobe Acrobat X Pro for Windows.  I recently switched over to MAC OS and would like to move my Adobe X Pro over but the CD will not work for Mac OS?  Can anyone assist me with this conversion?  Best,  James.

    I have a licensed copy of Adobe Acrobat X Pro for Windows.  I recently switched over to MAC OS and would like to move my Adobe X Pro over but the CD will not work for Mac OS?  Can anyone assist me with this conversion?
    Best,
    James.

    you cannot use your pc license to install on a mac.  you would need a separate license (and serial number) for that.
    adobe allows platform swaps, but only with the latest (xi) version, Order product | Platform, language swap
    your option to use acrobat on a mac are to upgrade to acrobat pro xi and change platforms, use a windows emulator (parallels/boot camp etc) on your mac or swap with a third party.

  • Autofill in Google Toolbar does not appear to be working with Firefox 4 - Aways saying Autofill not available for this page even on pages I have used it before FF4 upgrade

    Autofill in Google Toolbar does not appear to be working with Firefox 4 - It aways gives the message "Autofill not available for this page". This is happening on pages I have used Autofill on before upgrading to FF4 from Firefox 3.5.x

    i did not see a solution posted - I tired what I read. Going back to an old version may solve the problem but it is a stupid solution so I have yet to do that.
    I am on version 4 and autofil this does not work :
    Popular answer Go to this answer
    Uninstall version 5, then Google "google toolbar version 4", follow the link to FileHippo.com, and download and install the last version 4. When you reinstall it, make sure you turn off the option to perform automatic updates.
    6 of 7 people found this answer helpful. Did you? Sign in to vote. Report abuse

Maybe you are looking for

  • Is there any way to get the latest equipment? ( The Verizon anti-loyalty program.)

    My DVR is the old 80GB model. The new 500GB model has been available to "new" customers for some time now. Current customers can only get on a "someday" waiting list. Full story below. Incidentally, this is the worst treatment I get from any service

  • ISync can't be launched on this computer

    This is almost a follow on from my first post raised on 24th Dec 2010, and may shed more light on the iSync issue - there's some great mac-minds reading these; I'm not really one of them, so some basic guidance would be ideal, for someone to nail the

  • Text in e-mail or medium 7 with pdf

    Hello, I try to send documents (Orderresponse, Invoice, ...) as e-mail. So far it works fine - I customized everything like SCOT, send via Medium 5, ... and the sytem creats automaticly an e-mail with an pdf-attchment ! But now I search a solution to

  • How to calculate Average

    Hi, I have a calc that is supposed to calculate the average but I dont know how to do it. Time prompt: enabled to take X number of months. $$: a certain amount of $$  corresponds to each month taken by the prompt Example:  8 months (Jan to Aug), $100

  • URGENT : replacing some letters in an expression

    Hi all I think that I should post this topic here because I think it concerns SQL and PL/SQL functions. Here is the problem : I am developping a forms application . There is a listbox named FORMULA containing list of formulas. When I choose a formula