Don't know why it does not work

Hi all
Version details :
----------------
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
"CORE     11.2.0.2.0     Production"
TNS for Solaris: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
Select * From Dual
Where 'A' In (Decode( 'A','A','''A'''
  ||','
  ||'''B''','C','C'));

Result :
   no rows
Select * From Dual
Where 'C' In (Decode( 'C','A','''A'''
  ||','
  ||'''B''','C','C'));

Result :
 Dummy
------------
   X
Please let me know why it does not work like that...

Problem:

When the input is 'A' then the State must be 'A' in (' a ',' B ')
When the entry is 'C', should be 'C' ('c')



Thank you
Prakash P

Published by: prakash on 4 February 2013 22:41

Prakash wrote:
Thanks knani.

Is there an other way around to achieve this.

Thank you
Prakash P

Use may be able to use the CASE.

For more help, you need to explain your problem in detail...

Tags: Database

Similar Questions

  • How can I get my webcam built into my computer at work when he was working before I brought my computer to a professional to get fixed, don't know why it does not work?

    I try to webcam with friends or family on MSN and it says it is already in use. Ive searched the computer better I can and can't seem to find a problem. Help.

    Hello

    Make sure you have the latest vista drivers and software for your computer which you can get your computer manufacturers Web site

    go to their website and look for a driver and software download section

    Enter your model number for the last look drivers vista then download and install

    and look for a manual while you're there on how to use your machine

  • Don't know why sound does not play when I read my slides in Captivate 5.5?

    I don't know why but all of a sudden when I'm working on a project in Captivate and record to the slide, and then click Play move it I play the Visual, but I can't hear the voice recording.  If I only click on the audio icon on the slide to play the record I can hear him, but he doesn't play with the slide.  Any ideas why this might be happening?

    Thanks in advance.

    Hello

    Please check if you have accidentally selected the mute button controls on the timeline.

    You'll find it here-

    Thank you!

    Anjaneai

  • I don't know why Microsoft does not offer a laptop stolen, followed by assistance to all its users under license?

    A creator of this popular software, this should be the most logical part. Given that each authorized user registers with it as well as the id MAC, regularly logs in to windows update, if the same is machine is stolen, even where it is formatted, as and when the new user comes in contact with microsoft for windows update, it should be able to catch the really fast user's ip and report it to the original user.

    Microsoft listening?

    Not all users * records * Windows - in fact, I would say that VERY FEW users register their software.

    More * activate * the software - but since there is no personal information associated with the activation - this does little or nothing to prove ownership (wouldn't attach the product to one person in particular).

    I think you are oversimplifying the ability to do what you're talking about.  You buy the right to use the Microsoft operating system - you do not have.  You actually already saved your Microsoft operating system , or simply activated?

  • simple JavaScript with the .onClick function does not. I have the following little script and does not know why it does not work through. any ideas?

    #target illustrator

    main #targetengine

    Function

    function count_selected_objects() {}

    Alert ('start of the function'); works well!

    myDocument var = app.activeDocument;

    var items = selection.

    var totalSelected = items.length;

    for (var i = 0; i < totalSelected; i ++) {}

    var my_elementy = app.activeDocument.selection [i];

    Alert ("no" + i);

    }

    }

    Palette window

    var win = new window ("palette", 'Éléments Count');

    win.alignChildren = "fill".

    Win.My_Button = win.add ("button", undefined, "Run");

    Win.My_Button.onclick = function() {}

    count_selected_objects();

    }

    Win.Show ();

    You can reference below:

    Calling functions from the palette of the user interface

    Ten

  • When I put pictures on my Mac, I chose my Aperture library. Now there is no pictures in Photos or Aperture! They are all in the photo library, but I don't know why they are not in the pictures when I open it?

    When I put pictures on my Mac, I chose my Aperture library. Now there is no pictures in Photos or Aperture! They are all in the photo library, but I don't know why they are not in the pictures when I open it?

    Sorry try again - your post does not calculate

    They are all in the photo library, but I don't know why they are not in pictures

    What version of the operating system and Photos you have? Explain what exactly you're actually seeing and what has changed since it worked

    LN

  • I can´t download cloud creative, because a window that says error 204 appears, but I Don t know what file does not allow me to download the program or file is Miss

    I can´t download cloud creative, because a window that says error 204 appears, but I Don t know what file does not allow me to download the program or file is Miss

    Error 204 https://forums.adobe.com/thread/1492846

  • Why chat does not work? I can ask questions in here.

    Why chat does not work? I can ask questions in here.

    Kindly share your concern, so that we can try to help you with it.

    Here is the link to contact customer service

    You can use: http://helpx.adobe.com/x-productkb/global/phone-support-orders.html

  • Why jumpmenu does not work in firefox?

    http://Eelke.home.xs4all.nl/Philidor1847/intern/1314/ladderframe.html

    Why this jumpmenu does not work? In the works in Chrome and IE.

    You cannot use frames [id] in Firefox, only executives with an index of works.

    You must use document.getElementById(\'ronden\') to select this item.

    MM_jumpMenu('parent.document.getElementById(\'ronden\').contentWindow',this,0);
    

    Another possibility is to change the image src attribute (Firefox does not pass the location of the document, but simply creates a place variable which has no effect).

    function MM_jumpMenu(targ,selObj,restore){ //v3.0
      eval(targ+".src='"+selObj.options[selObj.selectedIndex].value+"'");
      if (restore) selObj.selectedIndex=0;
    }
    
    MM_jumpMenu('parent.document.getElementById(\'ronden\')',this,0);
  • Why Javascript does not work properly?

    I'm working on a web page and try this script, but it does not work (although it works fine in IE). The code is given below:

    My function is:

    function validateNumber()
            {
                var x=window.event.keyCode;
                //alert(x);
                if(!(x>=48 && x<=57))
                    {
                        alert("Please type a number between 0 and 9 !!");
                    }
            }

    I use it as:

    <input type="text" name="cust_age" value=0 size="15" onkeypress="return validateNumber()" style="font-size: 16pt" />

    Please let me know how to solve this problem.

    Firefox does not use a global event of the window.
    On Firefox, you will need to pass the event to the function.

    I think it should work (I'm not an expert):

    <input type="text" name="cust_age" value=0 size="15" onkeypress="return validateNumber(event)" style="font-size: 16pt" />
    
    function validateNumber(event)
            {
                var x=window.event? window.event.keyCode : event;
                //alert(x);
                if(!(x>=48 && x<=57))
                    {
                        alert("Please type a number between 0 and 9 !!");
                    }
            }
  • My security firewall keeps goes off. I don't know why, it is not in all programs

    I get a security warning that my firewall security is disabled.

    * original title - my security firewall keeps goes off. I don't know why. It is not listed in my Programs.com* all

    Hello ChristieEvans,

    You are referring to the Windows Firewall or you use a third-party software?  I have included a link below that I hope will help to ask a question.

    Microsoft KB:

    http://support.Microsoft.com/kb/555375

    Thank you

  • Why Firefox does not work with Hotmail more?

    Hotmail opens but I can't click on anything whatsoever, can not open e-mails or open folders.

    Hello

    Try Firefox Safe mode to see if the problem goes away. Firefox Safe mode is a troubleshooting mode that temporarily disables hardware acceleration, restores some settings and disables add-ons (extensions and themes).

    If Firefox is open, you can restart Firefox Safe mode in the Help menu:

    • Click on the menu button , click Help , and then select restart with disabled modules.

    If Firefox does not work, you can start Firefox in Mode safe as follows:

    • On Windows: Hold down the SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • On Mac: Hold the option key during the startup of Firefox.
    • On Linux: Exit Firefox, go to your Terminal and run firefox-safe-mode
      (you may need to specify the installation path of Firefox for example/usr/lib/firefox)

    When the Firefox Safe Mode window appears, select "start mode safe."

    If the problem is not present in Firefox Safe Mode, your problem is probably caused by an extension, theme or hardware acceleration. Please follow the steps described in the section Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems to find the cause.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

    If Safe Mode did not help, delete all references to Hotmail, as described under the heading "How to remove a single website to my story?" in this article - delete navigation, search and download history on Firefox, then try again the site (not related to an old favorite). Note: It may take a few minutes to complete the removal.

    When find you what is causing your problems, please let us know. This might help others with the same problem. Thank you!

  • Why java does not work in internet 10 windows explorer 8?

    Java does not work on my computer. It's the new computer with windows 8 and internet explore 10. I downloaded Java and using Explorer to desktop.

    But whenever I go online and website requires Java I get same error message "ClassNotFoundExeption". Same error I get if I go to the Java Web site and press the button Test Java. I tried different things that have been proposed on Java.com and Microsoft.com but nothing has worked. I have newest Java and had no problem in downloading. I appreciate any suggestions.

    Thank you

    The initial problem was never solved?  I still can't get Java to work and I tried everything above except set up a new user account that has no meaning.  Using Windows 8 to 64-bit, Java 32 bits and I have installed and uninstalled several times on the desktop.  The site I can access works fine on my Windows 7 laptop and I have the same settings in Java on two laptops.

  • Export Flash CS5 to Quicktime - why it does not work?

    I have a 2.93 Core 2 with 8 GB of RAM.

    I have a Flash video with text, graphics and animations. It's long 2 minutes. The SWF works fine. ActionScript 3.0. resolution 900 x 500.

    When I first attempted to export to quicktime, it gave a very close message that:

    «WARNING: Runtime Shared libraries (RSL) could not be associated with the file because of the publication settings Quicktime.»

    The wording may be a bit off, it's memory. Don't forget, that I'm not even publish at this point, I export. Not that I could make the difference.

    If, after the display of this message, the progress bar continues to fill up until it is completely filled, and then nothing happens. The juice bar is full, do nothing. For hours.

    So after that I've explored the parameters of publication, I found on the 'Flash' tab, a drop-down menu that allow me to choose "merge in code" as the integration of the Runtime Shared Library with the file. Then I hit publish. The progress bar fills up and disappears, press OK. Still, I can't find any movie file (or even the place where published GB of files) on my computer.

    After that, I try to export. The appeared before warning disappeared, but the progress bar always crashes when it is full, and no file is produced.

    One thing I thought is maybe it has to do with the number of images in my file. I inserted the action stop at the end, so the video stops and does not loop when previewing the SWF, however there are still many blank executives, which contain all objects or interpolations or something like that. The setting is currently 'stop encoding finally framework', which I guess means the last picture of my video before automatic shutdown. I can't find a way to make the empty frames after this point to disappear, I tell myself that it is part of the program itself.

    If anyone has other issues that will help in the face of this point, let me know.

    I searched these forums and is about 4 with the unanswered question, I can find no help anywhere else on the web either.

    If anyone knows of any other method to convert the SWF or FLA file about any other useful such as MPEG, AVI, etc., please let me know. I tried Media Encoder and After Effects, and none of them could help me to convert the file.


    Thanks in advance for any input about what you might have!

    Post edited by: elephantdesign

    When you select "when the last image is reached" for the option "Stop exporting", it will stop recording when the movie reaches the last frame of the movie. However, if you have "stop();" action in the context of the film, it stop the film, but continues to record the movie and the memory of your system runs. You can comment out the stop action or specify the duration of the recording control option "after a time' option 'stop export '. There is a tip on the optimization of the export of QuickTime in our site knowledge base: http://kb2.adobe.com/cps/401/kb401520.html. Thank you

  • Why Roboform2Go does not work because the new Firefox undate?

    Each time is updated to Firefox (which happens every 2 weeks or more), the ability to use Roboform2Go on a flash drive is broken. Sometimes Roboform2Go update fixes this, but usually not. Sometimes go back to a previous version of Firefox works, but then I am constantly encouraged to upgrade to the latest version. Today Firefox v 37.0.2 worked with Roboform2Go v 7-9-12-2, and then suddenly crashed. When I restarted Firefox, the Roboform2Go toolbar was gone. When I ejected and restarted Roboform2Go, the toolbar was still gone. When I stopped and restarted the PC restarted Firefox and the Robofmr2Go, still no toolbar. I like Firefox, but I can't live with Roboform2Go. Firefox can not learn to play nicely with Roboform2Go?

    I do not see Roboform in the list details of the system, either as active or disabled, so it seems that Firefox cannot find the extension.
    I don't know if the extension is installed worldwide and normally found by Firefox via an analysis of the register or that the extension is installed in the Firefox profile folder.
    If the extension is found through an analysis of the registry, then it looks like that this registry key is missing.

    Have you tried to uninstall and reinstall Roboform?

    It is possible that there is a problem with the files that store the registry extensions.

    Delete the files (extensions.json, extensions.sqlite, extensions.ini) extensions.* and compatibility.ini in the profile folder of Firefox to reset the extensions registry.

    New files will be created if necessary.

    See "extension corrupted files:

    If you see disabled extensions or is not compatible in ' Firefox/tools > Modules > Extensions ' and then click the Tools button at the left end of the search bar to check if there is an update available compatibility.

    If this did not help, then also delete the files addons.json and addons.sqlite possible.

    Try resetting the pref browser.uiCustomization.state via the context menu, by default.
    You can open the topic: config page via the address bar.
    You can accept the warning and click on "I'll be careful" to continue.

    You can try to rename (or delete) the file xulstore.json in the Firefox profile folder.
    You can use this button to go to the Firefox profile folder currently in use:

Maybe you are looking for

  • Finder windows keep crashing - several finder.plist creating

    Yesterday, it started as windows buggy. Now I can't even open a Finder window without having to relaunch the Finder to move to the following subfolder. I tried to remove/delete the finder.plist - I found several. Everytime I open a window, one is cre

  • CD will no longer play in a cd player.

    Recently, I've burned audio CDs in WMP and they play in the computer, in my two dvd players connected to TV and my car stereo but won't play in my two stereo cd players.  In fact, a few but they take a lot of time to "load".  Others never load nor a

  • His works on laptop but the headphones don't

    Hello I spent the last few hours LURKING through forums to try to solve this problem, but I have not thought about it then it is my last chance before I lift my hands upwards!  I have a laptop hp Compaq nc6220 I bought a refurbed just a week ago (but

  • Very high Volume TOO low; How to increase?

    The largest volume I can get with the wheel turn, the level is too low to hear it on the machines, the YMCA, when doing the exercises.  I have the latest firmware update (I'm in the U.S. region.).  Y at - it a setting I can use to enhance the level o

  • Do a system restore will delete all my data on my drive?

    Hello. I just found out that installed programs appear correctly in the menu programs in Control Panel and am not able to uninstall some programs. If I want to perform a recovery of the system using HP Recovery manager (the factory reset option). My