Why does PL/SQL not support 0 length strings?

Why does Trim(' ') return null instead of an empty string?
Why does '' return null instead of an empty string?
Because of this, LENGTH(Trim(' ')) returns null. And I want zero.
I ask because I'm cutting up a string and in other languages (even ones that support Null) when these techniques are used, I get a valid empty string.
Am I wrong in feeling that an empty string is the equivilent to a 0 in a numeric field and that null in a string is equivilent to null in a numeric field?
Andy

For Oracle, by definition, a null string is a string of length 0 since at least Oracle 5.0 (i do not know the previous ones).
use NVL
Why does Trim(' ') return null instead of an empty string?
Why does '' return null instead of an empty string?
Because of this, LENGTH(Trim(' ')) returns null. And I want zero.
I ask because I'm cutting up a string and in other languages (even ones that support Null) when these techniques are used, I get a valid empty string.
Am I wrong in feeling that an empty string is the equivilent to a 0 in a numeric field and that null in a string is equivilent to null in a numeric field?
Andy

Similar Messages

  • Why does apple tv not support amazon prime?

    why does apple tv not support amazon prime?

    If you have an iPhone/iPad it may be possibel to 'Airplay' from teh Amazon Prime app on the device - no Amazon Prime in UK so I can't confirm it works.  Check reviews of the app in iTunes.  Airplay is not something I like much as you have to have another device to work with the AppleTV.
    As to why there is no native support for Amazon Prime on the AppleTV itself, we could ask the same for any number of services, but:
    1 - Apple/Amazon are competitors to some extent so they may not want to
    2 - It may simply not feature in Apple's plans for the device
    3 - Rights owners may not allow Apple/Aamzon to collaborate
    .....and dozens more possible reasons I suspect, none of which really make sense to you an I as a consumer...

  • Why does the iPad not support flash player? I would like to watch programming from att uverse but cannot because of this restriction

    Why does the iPad not support flash player? I would like to watch programming from att uverse but cannot because of this restriction

    Because NOTHING that is iOS supports Flash. Never has never will.
    The only possible option is to try the Skyfire browser from the App store. It is an internet browser that converts flash to HTML 5 so that you can attempt to view it on iOS devices.
    I have never tried it so I can tell you if it is any good, but it has gotten decent reviews.

  • Why does Firefox 4 not support Norton Passcards?

    Downloaded Firefox 4 and find this does not support Norton status bar. This means I cannot use Norton Passcards whereas these always worked with previous version. If I revert to version 3 will the Passcards work again? If not I will have to uninstall Firefox and revert to Internet Explorer.

    Symantec have made an update for their add-ons to work in Firefox 4, but they only listed them as compatible with Firefox 4.0, they need to update them to let them work in Firefox 4.0.1. For details see http://community.norton.com/t5/Norton-Internet-Security-Norton/Norton-product-compatibility-with-Firefox-Updates/m-p/443808

  • Why does Apply IOS8 not support CarPlay in New Zealand yet?

    Hi Apple and community, why is New Zealand not listed in countries that support CarPlay in IOS 8 but Australia is?
    It is frustrating as we have cars and 3rd party Pioneer head units that support CarPlay but Apple is not allowing our country to have the functionality??
    So when will this be released and in the meantime what are the workarounds?

    Hi Apple and community, why is New Zealand not listed in countries that support CarPlay in IOS 8 but Australia is?
    It is frustrating as we have cars and 3rd party Pioneer head units that support CarPlay but Apple is not allowing our country to have the functionality??
    So when will this be released and in the meantime what are the workarounds?

  • Why does this video not support on my ipod?

    Hey, i imported a video with handbrake and decided to put in the chapter markers. But this video when i added it to itunes and i plug my ipod in, it says that it isn't able to transfer it onto my ipod because my ipod doesn't support this kind of video. This video should work because the bitrate is 1500kbps and 160kbps for audio. The size is 720x384. And i have other videos that size on my ipod so i know this isn't the problem. But i just need to know why this is happenin.

    The error $ is not defined means that the jQuery library isn't loading correctly. The page is loading the library from Google rather than from the site itself.
    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    Alternately, you also can clear Firefox's cache completely using:
    orange Firefox button (or Tools menu) > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now"
    If you have a large hard drive, this might take a few minutes.
    (2) Remove your google.com cookies (save any pending work first). You can call up the cookie dialog anywhere on google.com using:
    * right-click and choose View Page Info > Security > "View Cookies"
    * Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
    Or if you call it up from another site, change the site in the search box at the top of the dialog to google.com. Then you can remove your Google cookies individually.
    Then try reloading the page. Does that help?
    If jQuery still won't load, review your extensions for any designed to reduce cross-site interactions or targeting Google or privacy. You can review those here:
    orange Firefox button (or Tools menu) > Add-ons > Extensions category

  • Why does Airport Utility not support Airport Express A1084?

    Airport Utility 1.3.4 (134.22) on my iPad (iOS 8.1.2 (12B440)) and the version of Airport Utility included with the very latest issued version of OSX on my iMac do not recognize Airport Express model A1084. I can still get on the internet via the AE A1084. Because I cannot configure the AE A1084 I am unable to set password protection on the wifi network or perform other functions.
    Is there a fix or work around?
    Has Apple abandoned these older AE's (programmed obsolescence), meaning I'll have to buy a new device?
    Safari on the iPad has been having problems with web sites, dropping and reloading them - attempts to fix that by resetting network settings resulted in losing access to the AE wifi network. The Airport Express network appears in the "Set up new Airport Base Station" window, but attempts to access it produce the message "The Airport Express named "Apple Network XXXX" cannot be set up by this software."

    That is a complex question, and would assume that you had Snow Leopard on the Mac at one time. Best to post your question in the support forum for the operating system that you are using now. Click the link and select your current operating system.
                  Mac OS & System Software     
    Doing something like this not for the faint of heart, and should be best left to an IT technician. That is going to be a significant expense.
    For far less money, and many less headaches trying to revert to an earlier operating system, and knowing that most Express devices only lasted about 5 years, on average, if it were me, I would buy a new Express device or devices and be thrilled that I got about twice as much use as normal from the older A1084 model.

  • Why does jax-ws not support bpel

    I would like to put my jax-ws services in some bpel process, but I've read in JBoss forum that jax-ws doesn't support BPEL. Why is it so? Can anybody explain it to me ? Why putting BPEL into JBI module "saves the situation"?
    I would be gratefull for any kind of articles, links, explanations...
    Thanks,
    Kasia

    Well, they can - I use it on the machine to watch videos and to read while exercising, without the Nike+ app. The Nike app measures the distance you've travelled, doesn't it? Would it work on a treadmill, in which you're not really travelling any distance? I can't remember the specifics... but in any event, you should be able to run the iPhone app on the app, the display just won't be optimized for the iPad.

  • WHY DOES THIS SQL NOT WORK

    I have 4 statements.
    echo off
    plus80 / @z:\nesp1483_batch
    plus80 / @z:\nesp1484a_batch
    exit
    The first statement plus80 / @z:\nesp1484_batch inserts records into a table and creates a report and deletes the table.
    However the second statement plus80 / @z:\nesp1484a_batch is not working properly. I want it to insert records into a table, create a report and then delete the table but it is not working properly. It is hanging up on this statement.
    I need to say plus80 to get the program to execute properly.
    I have also tried sqlplus /@z:\nesp1484a_batch but this does not work either.
    What do I need to do to make the third statement to execute properly?

    I know that it is not working
    because the response time is slow and I have over 15 minutes
    and nothing is happening. How do you know it is not working as opposed to just working slow?
    Do you have any logging routines in your code? If you have, switch on them on and see what's happening. If not, now is a good time to think about including them...
    Cheers, APC

  • Why does mountain lion not support midi in browsers anymore?

    and can we expect it to come back?
    It's a very important tool to all  classical musicians. If anybody knows of a plugin for safari, firefox, chrome, opera or something, please do tell!

    Hi Janedoessis,
    I think you mentioned that it is not working in your another post. Anyway, I have tried that and it does not work, in fact, upgrade to the latest Java version 1.7.0_09 has made the Parallels Desktop run slower

  • TS1702 Why does iphone 3g not support skype anymore?

    and the earlier versions are either not available on itunes, or are impossible to instal if downladed from other sources (not via jailbroken iphone cydia or other)

    It's probably because of the old version of iOS that the 3G runs. It can not be updated to more current OS versions.
    More and more apps will not be supported on older OS versions as time goes on.

  • Why does action script not support constructor over loading?

    This would make life so much simpler? is there an official reason or is it "were too lazy"

    Don't know how anyone could answer the why here, unless they're an Adobe engineer. You can simulate overloading with an arguments array.
    public function doSomething (myObject:Object = null, ...rest)
    So you could do something like
    public function savePersonalListItems (personName:String, ...rest) and then act upon the array of parameters that would be passed into the rest array. http://www.sephiroth.it/weblog/archives/2006/06/actionscript_3_rest_parameter.php
    If you want to overload with known entities, it's probably just as good to go with default values so they parameters become optional
    public function saveTopThreeItems( object1:Object = new Object(), object2:Object = new Object(), object3:Objects = new Object())
    then you can pass in none or all three. Just some ideas that you may already implement.

  • Why the f**** does ios6. Not support YouTube on iPad 2? This is ridiculous if I would have known I would've never updated... I'm livid

    Why the f**** does ios6. Not support YouTube on iPad 2? This is ridiculous if I would have known I would've never updated... I'm livid

    YouTube is  not now part of iOS 6. However, you can download the YouTube app at http://itunes.apple.com/app/youtube/id544007664.
    See this similar post https://discussions.apple.com/thread/4335468?tstart=30
     Cheers, Tom

  • Why does my iMessage not work even with my apple ID signed in?

    Why does my iMessage not work even with my apple ID signed in?

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457
    Send an iMessage as a Text Message Instead with a Quick Tap & Hold
    http://osxdaily.com/2012/11/18/send-imessage-as-text-message/
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom
    BTW- Your profile shows you have iOS 6.1.4 installed. The max iOS for an iPad is 6.1.3. iOS 6.1.4 is for iPhones only.

  • Why does my imessage not work with only 1 phone number

    Why does my imessage not work with only 1 phone number? It keeps going to imessage and then back to text message

    Both you and the recipient have to have active data connections, and both devices have to have iOS 5 or higher to be able to use iMessage. Also, they both have to have iMessage activated. If that is already the case, there is a possiblility that iMessage is down. It has gone up and down several times in the past week. Check this page for status, and if necessary you can report a problem with a link in the lower right corner. http://www.apple.com/support/icloud/systemstatus/

Maybe you are looking for

  • Connecting to other computers on network doesn't work as expected.

    This is kind of interesting. I do this: From Menu Go > Network Then I choose either my iMac or MacBook Pro and double click the user name for my home folders on the other computers. A window opens up and the bottom right of the window the little twir

  • Not on 6 Stores

    Hi, Can any one help me? I have convert a fixed epub for ibookstore through my client, but clent whenever he has upload this book an i connect, then one of error (Not On 6 Stores) is showing please see the error in below: If any one help me in this r

  • Please provide me inputs regarding Endeca Personalization

    Hi , I have started working on Endeca Personalization.So can anybody help me with any reference documents or technical guides?. Many Thanks Mallikarjun.S.I

  • Intermittent loss of sound on Toshiba 32BL505B

    Could someone please help me. I purchased a Toshiba 32inch Flat Screen television (Model No 32BL505B) approximately 14 months ago. For the last couple of weeks we have been struggling to use the set. All appears ok for the first hour, but after that

  • Creating untrashable folders

    Some of our folders at work keep being trashed by accident. Is there a way to create a folder that is editable by all, but requires admin conformation on trashing? thanx 20' G5 iMac 2.1ghz   Mac OS X (10.4.9)