WHEN nested inside the BOX

Hello

I'm trying to do something like this:
select .....
from ....
where .....
        and tm.actiune = case
                           when tm.msg is not null then begin
                             *case*
                               when r_act.executat = 'D' then 'E'
                               when r_act.respins = 'D' then 'R'
                               else 'C'
                             end
                           else null
                         end
But I get

Error: PL/SQL: ORA-00905: lack of keyword (in this case with "BOLD"). How can I correctly use this construction?
r_act is a cursor variable.

Thank you.

Published by: Roger25 on 22.04.2013 15:53
SELECT *
  FROM x_table
 WHERE tm.actiune =
          CASE
             WHEN tm.msg IS NOT NULL
                THEN CASE
                       WHEN r_act.executat = 'D'
                          THEN 'E'
                       WHEN r_act.respins = 'D'
                          THEN 'R'
                       ELSE 'C'
                    END
             ELSE NULL
          END;

Kind regards
Friend

Tags: Database

Similar Questions

  • I bought a Windows 7 Home Premium software on disk, however my product inside the box key does not work. Any help please?

    I have recently reinstalled windows 7 Home premium from the disk after deleting the existing partition.  During installation, I entered the key of product inside the box, but I get a message saying that this key cannot be used to activate wondows on this computer.
    Any help please?

    Skip entering your product key Windows 7 and complete the installation.

    When you reach the desktop, click Start, right-click on computer

    Click on properties

    Scroll down to the Windows Activation

    Click the link x days before activation.

    Click on the link that says: "show me other ways to activate.

    Enter the product key

    Click next

    Select the Activation of the phone

    Click Next when you enter your key page

    Select your country

    Click Next, call the number listed

    Be sure to explain your situation to the Appeals Officer.

    Provide the installation generated when ID requested by the call agent

    They give a confirmation ID in return, enter it

    Click next to complete the activation.

    However, the requirements for the media upgrade is that you have an operating system already eligible such as Windows XP or Vista installed to use it. Since the Windows 7 end user license agreement.

    15 UPDATES. To use upgrade software, you must first be licensed for the software that is eligible for the upgrade. After the upgrade, this agreement takes the place of the agreement for the software that you upgraded. After upgrade, you can no longer use the software that you upgraded.

    So, if you are always denied, you will just have to reinstall Windows XP or Vista and let it do the verification of eligibility.

    or

    How to activate Windows 7 manually (activate by phone)
     
    1) click Start and in the search for box type: slui.exe 4
     
    (2) press the ENTER"" key.
     
    (3) select your "country" in the list.
     
    (4) choose the option "activate phone".
     
    (5) stay on the phone (do not select/press all options) and wait for a person to help you with the activation.
     
    (6) explain your problem clearly to the support person.
     
    http://support.Microsoft.com/kb/950929/en-us

  • is there a product key for windows 8 when I buy the box?

    I plan to purchase Windows 8 in the box, but I want to create an ISO image of Windows 7 complete edition in case I don't like Windows 8. When I read some of what Microsoft says about this page: http://windows.microsoft.com/en-us/windows-8/upgrade-product-key-only, I looked down where it says make a backup of everything what you keep, which included creating a iso backup of your operating system. In conclusion, I want to create a backup of WIndows 7 first of all as an ISO, then install WIndows 8 with the product key without needing a disk.

    If your computer is pre-installed with Windows 7, you'll need create the system image, no not one. ISO:

    http://www.notebooks.com/2009/10/24/how-to-backup-your-installation-of-Windows-7/

    Additional instructions:

    The upgrade from Windows 7 to Windows 8

    Yes, there is a map product key located inside the box:

    Here, he is on the right.

  • Color inside the box of the item

    Is there a way to change the color inside the fiield of entry? This field could be date picker, list selection, text field or text box.

    Basically, asked me to change the color inside the box, not the box background color when it is a required field. This must be done in addition to the ' *' which indicates a required field.

    If it's important, I use the theme 15 and two legs level.

    Thank you
    Yivon

    Is there a way to change the color inside the fiield of entry?

    Yes, easy to achieve simply by setting the property color CSS to the required value. You could get the text in blue for a single item by entering style = "" color: Blue " in the attributes of elements in HTML form for the item." But you probably want to be specifying this kind of thing in the world, using a style sheet provided by the template page...

    Asked me to change the color inside the box, not the box background color when it is a required field.

    This looks much more delicate. APEX does not have anything that makes the 'required field', with respect to the generated HTML, inherently "required." There is, unfortunately, no automatically applied to the element of class "needed". It is 'necessary' because its (somewhat perverse) label there is a 'compulsory' class and there is a validation performed on presentation requiring its value is not to be null. It looks like there is not nothing output by the engine of the form which could be used as a CSS selector to style rules apply to elements, and form elements is not customizable models.

    The only "global" approach, I can see (certainly at this late hour) would be an exercise in Javascript to find labels required (not particularly trivial in itself, as the required class may be on an element that is framed by the label element, not on the label itself), get the ID of their components of the subject of the attributes to apply the desired for this item class.

    You could do this manually by entering class = "required-item" in the attributes of elements in HTML form for each item and by applying the color required in a style sheet.

  • Limited edition of Halo 4, metal case damaged inside the box.

    I was told by Xbox support to publish on this site... even if my question is not related to all topics here...

    I pre-ordered the limited edition Halo 4 of Amazon.ca and just got yesterday. The metal game case that comes inside the box has been damaged. There are scratches and missing paint on the case, and the ink on the logo of the UNSC is stained. It is clearly unacceptable for a game for $100... it does not go through QA, looks as they took out of the garbage and just threw it into the box.

    I contacted Xbox support, and they said that they cannot replace parts such as "cross game", so I was told that my best bet was to contact Amazon. So I called Amazon, and they told me that they were sold out of Halo 4 Limited Editions and my only option was to return the game for a full refund... but that does not help me. I tired to communicate with the people that make the game (343 Industries), but they do not have these coordinates. So... my only options are simply return it for a full refund, or go on Ebay and buy another for $130 - $175. It's ridiculous, you think that with such a big like Halo game that there might be a service customer out there, but not... I just dropped over $ 100 to do this, the manufacturer could even be bothered and Xbox support just shrugs and says "Oh well..." Sorry "... as this fact it is ok.

    I have all of Halo collector's editions... Halo 2 collectors, legendary Halo 3, Halo Reach legendary, and now Halo 4 Limited... All I want is what I paid for, and after WHAT I bought, I think I won for my Stinking full face, replaced by another which should have been in the area.

    One of you have the Contact information for ANYONE that can help me find a replacement for this game box?

    Hello

    As Brian said you work with Amazon.

    =====================================================

    The Microsoft Community (formerly answers) has no influence on the XBox or XBox Live
    If you need to contact them.

    XBox - Support
    http://support.Xbox.com/en-us/pages/default.aspx

    XBox - Contact us (support)
    http://support.Xbox.com/en-us/contact-us

    XBox - Support Forums - and my XBox (top-right)
    http://forums.Xbox.com/

    Xbox technical support phone number

    • Toll-free: (800) 4MY-XBOX or (800) 469-9269

    Opening hours: 600 PM 2200 h / Pacific / daily

    International (direct line in the U.S.): 425-635-7180

    XBox LIVE - Service status
    http://support.Xbox.com/en-us/Xbox-Live-status

    Manage the XBox Live account
    http://support.Xbox.com/en-us/billing-and-subscriptions/account-management/Xbox-Live-account-management

    XBox Live Sign-in problems
    http://support.Xbox.com/en-us/billing-and-subscriptions/Windows-Live-ID/Xbox-Live-sign-in

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • When I check the box to me connected, when I sign keep, it does not keep me logged on Windows Live.

    Original title: keep me connected

    When I check the box to keep me connected, when I sign, it dose not keep me connected. What can I do?

    Hello

    You can ask your questions on the links of the following forums.

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

  • I bought Lightroom 4 CD, but lack a CD-ROM in my ultrabook. Is there a download for Lightroom 4? Can I use the serial number inside the box to Lightroom 4.1?

    I bought Lightroom 4 as a CD, but lack a CD-ROM in my ultrabook. Is the download for Lightroom 4 still available? Can I use the serial number inside the box to Lightroom 4.1?

    Hello

    You can access the following link to download the Setup program for Lightroom 4.

    Adobe - Lightroom: For Windows: Adobe Photoshop Lightroom 4.4

    Thank you.

  • Acrobat Pro 9 - I want to add a watermark, but when I opened the box of watermark...

    I want to add a watermark, but when I opened the box to watermark it opens to big for my screen. The bottom of the page is not in view at the bottom. I'm guessing that the button apply or the OK button at the bottom is because I'm not able to get my watermark. I unlocked my taskbar and tried to click on the header for the move and size left. No use.

    You need to change your screen resolution, in order to see this section at the bottom.  I have the same problem, because I have bad eyesight and keep my resolution to widescreen.

  • Why Firefox «ask» when I checked the box 'don't ask me '?

    When you try to open media as something of an email, Firefox always shows me the window asking me to check which software program to use when opening the file, even though I checked what, to use and the box 'don't ask me. " I also checked the box 'always use this program ". It is very annoying.

    is always

    This occurs because the file that you download is an accessory, so Firefox will always ask you what you want to do with the file.

    This is a security feature, since attachments can often contain harmful files. So there's no way to automatically open an attachment without asking you first. This box can be confusing when it appears in a download of attachments, given that the setting does not apply to the attachments.

  • Layers down when you click the box 3d, motion blur, etc.

    I looked for an answer to this question, but couldn't find anything, so...

    Since the upgrade 2015.3, any time I click to enable or disable an option in the boxes for things like 3d, motion blur, lock the layer, interpolation, as well as other simple actions, rather than just by turning the option or not, the whole layer falls showing transformation, effects and audio data.  This happened with another version, but Adobe hastened to repair so it does not lead me to the point of madness.  This time, however, they seem to ignore, or don't care and are just ranking as "in order to help with the flow of work" which he KILLS my workflow, it helps any...

    My question is, does anyone know how to solve this problem, or if Adobe is working on a fix?  Today is the day, he pushed me over the top when I have a comp with 40 + layers and I need to activate or deactivate the motion blur that I saw... I hate Apple Motion, but if there is no solution, and before I go ballistic eager to break through the wall of After Effects, it's my option if no one can help me.

    Please help.  I hate interruptions in workflow.

    Thank you!

    Dan

    Thanks for your help, but I'm not sure that we are talking about the same issue.

    It seems to be the same problem. your layers have audio when clearly, they do not need to have the audio. Text, shapes and the whirlpool down problem. read Tim Kurkoski answer in the link I gave you:Re: new in After Effects 13.8.1 - with audio shape layers!

    The bug occurs when you work in a model that has been composed before and this model contains a layer with audio, when you add a new layer to this model (any type of layer except the cameras or lights), if this layer should not have audio it will win the audio properties in any case. When you click on a layer switch (for example, solo, lock, a blur of movement, etc.). these layers with superfluous Audio properties will automatically be twirl open their properties.

    See the workaround suggested and if it's a big problem for you, as I have written before - work in 2015.2 until it is fixed

  • Nested inside the ESXi Server ESXi

    Nested run ESXi in ESXi server.

    I can't turn on the virtual machine for Vcenter, I get an error "this host does not support Intel VT - x. Here's my server BIOS settings.

    Is there a solution for this?


    See attached screenshot.


    My server is running an Intel Xeon processor E5540 Proliant DL380 G6 2 x Xeon Quad-Core 2.53 GHz


    Physical server Bios settings

    -Intel(r) Hyperthreading Options-> active

    -Intel(r) Turbo Boost Technology-> active

    -Intel VT - d-> active

    Your hardware supports nested ESXi.  Is that you checked the box next to "Hardware-assisted virtualization expose to the guest operating system" on the settings of the processor in the web client?

  • Alignment inside the box of the bug.

    I don't know if it is a bug or by design, but I've done a text box with a background layer that strecthes across the page.  The text aligns in the Middle ok, but it seems to be up to high in the box itself (not centered).  I wasted for always with this try to look right, but then, he realizes that when you look in a browser it is aligned perfectly.  So basically, that it does not properly aligned in MUSE, but works fine in the browser.  This isn't a huge deal, but given THAT MUSE is a WYSIWYG editor, I'd love to see this problem somehow.

    Here is a picture of what I'm talking about the Screen Shot 2012-04-27 at 9.04.51 AM.JPG where it says OWB holsters you can see that the text is not aligned to the Center vertically.  It looks good, but if you look at it here.

    Vertical alignment of text in a frame is surprisingly difficult to achieve reliable HTML in browsers for all the different scenarios where the text can be used in Muse. I think we will make the investment to apply it at some point, but it is not their yet.

    Adjust the positioning of text of the form does not work in the States if you use paragraph withdrawals (due to limitations about how these attributes are propagated between the States of forms). However, you can achieve the same effect by setting a left Padding value in the spacing Panel.

  • Check Set when first loading the box JDev 10.1.3.3.0

    Hi all

    I'm trying to set a selectbooleancheckbox on a page the first time it is loaded. I need to get data from the verification of the database, the values and then based on the result of the box set. The problem is that I don't know where to put the code. I tried to override onLoad and after / beforePhase but it did not work. Sometimes, the controls are not ready and so I get null errors or controls are ready, but my changes do not display on the screen.

    Can someone tell me when/where I can get access to the control when it is ready for manipulation, but not yet displayed on the screen... basically I need "setup" of the control before be displayed.

    Thank you.

    Hello

    the simplest option is to point the value property of the checkbox on a pair of setter/getter bean manged and use the get accessor to look at the database to the default value. In this way during the loading of the page the checkbox is set.

    Frank

  • How can I stop Thunderbird to check for attachments when you send an email when I unchecked the box to do?

    I can sometimes send emails with no spare part because I get the pop box - up that says 'check' attachments. I unchecked the box in the settings so it should not check the attachments, but still the programs trying to find an attachment. I have to then search for the word "Join" in the body of the email and delete it, and sometimes it works so email can be sent, but even that doesn't work sometimes. This has happened for many months and I have the latest version of Thunderbird - 31.5.0. Thank you!

    Save this e-mail using the file save as and send as an attachment to the email address in my profile here https://support.mozilla.org/en-US/user/MattAuSupport so I can see what is in the message source that can cause this.

  • Thunderbird is not save my password even if I continue to check the Save password box. Fails to retrieve mail when I check the box.

    Recently, I've migrated my profile of Thunderbird to a new computer. Everything works great, except that Thunderbird doesn't remember my password for the account. I am the only user on the machine, and I check only one account, so I don't want to set up a master password... I want just the program to remember my password for the e-mail account. I get the question 'Do you want to save your password?', every time I run the program... but if I check the box to do this, mail is not retrieved. (No error message, just nothing happens.) If I get the password without the box, the mail is retrieved. Even with the sending - I wonder for the time of password the first by session I have send a message. If I check the box 'Save password' send fails. If I do not check the box, sending passes.

    This has been a consistent behavior for about a month now. I'm not just randomly in the password incorrectly. It happens that way every time.

    That is what it is? Y at - it a fix for this? I want to just Thunderbird to remember my password.

    Try this:

    Make folders and hidden files visible

    In thunderbird

    • Help > troubleshooting information
    • Click on the view file"" button.

    a new window opens showing profile_name folder.

    • Close Thunderbird now - this is important
    • Scroll down - find and delete this file: key3db
    • Close this window - upper-right X

    Restart Thunderbird.

    At the password prompt, enter the password and select the "Manager password use to remember the password" check box and click OK.

    Note: If you use a product like CCleaner, then it's probably compensation info session and password. In this case, you will need to make an exception for files of thunderbird in CCleaner to stop cleaning Thunderbird.

    Please report on the results.

Maybe you are looking for

  • MacBook Pro 2012 does not SSD

    Hello So a few months ago, I upgraded my MacBook Pro (13-inch, mid-2012, OS X 10.10.5) with a SSD Samsung 850 Evo. Things were much faster and the other Corsair CMSA16GX3M2A1600C11 Apple Mac 16 GB (2x8GB) was also nice. One day, the Macbook has no mo

  • Keep the photos in iCloud

    Is there an easy way to keep photos in iCloud library without having to keep them on your device? Right now, if I take a picture, he transferred to iCloud. But, if I want to empty space on my device, remove this picture erase all of my devices includ

  • are region free installation discs

    Purchase mac pro 2008. Want to run apple hardware test, but do not have the disks. Are the installation diskettes (which have the hardware test) region free? I found a set of UK. Thanks a lot for all the replies.

  • Scheduled task does not run on Windows Server 2008 r2

    Hi all Hope it's right, Sir I am using windows server 2008 r2. in what I use schedule a task to run a windows application that needs to run in 04:00 every morning.but this time he's not running as a last result, I get this error 0xE0434F4D code why I

  • TouchSmart IQ506 touch screen problem

    Our company has recently obtained a TouchSmart IQ506 with Windows Vista 64 bit and everything works fine. We did a cool, been reformatting in the network and ran all the updates and others. As you may, or may not, know, the IQ506 isn't a VGA port to