Why can't put several instructions box here?

I am currently having a case statement and instruction decode in the same query, and whenever I run it, it gives me the same error-

KEYWORD not found or planned.

The query that I am running is.

Select ctn_nbr, plt_id, locn_brcd, ctrl_nbr, substr(ref_field_1,3,8),
ship_via, user_id, mod_date_time, TRUNC (sched_dlvry_date), trkg_nbr as tracking_number,
DECODE (STAT_CODE,
"10', 'not selected."
'20', 'printed ',.
"35', 'in packaging."
"40", "complete package"
"70', 'loaded on truck."
"90', ' delivered/billed."
"99', 'cancellation."
'Unknown') THAT the status.
case
When SUBSTR (SOLDTO, 0, 6) = "BATH" and "special order".
else "Standard order"
end up like "order type".
Table A

Is this something ridiculously simple that I'm missing like a comma? I do not understand why this error message keeps coming up. Help, please!

end as "order type".

Tags: Database

Similar Questions

  • Why can't put 2 text boxes on the same page?

    I am trying to put 2 text boxes on the same page, but the 2nd box is still empty. However, if I move the 2nd box on the next page, or even on a previous page, the text block appears suddenly.

    Why can't put 2 text boxes on the same page?

    The little thing at the end of this first page must be a page break. Which is just what its supposed to change it to a Frame break or break column if you want to have the text to jump to the next available section.

  • Why can't put gps in your iPads as your phones

    Why can't put gps in iPads so you may use separate device

    You do not discuss Apple here. This is a technical support to the user forum, and speculation on why or why not Apple makes decisions is prohibited by the terms of use. Back to Apple go to http://www.apple.com/feedback and click on the box in this area.

  • several instructions box in where clause

    Hello

    I'm trying to create report filters using substitution variables in a case statement in a where clause clause. I have several instructions box running on the same column. I don't really know how to write it. Here's what I have so far but I know I'm going in the wrong direction.

    where

    i.compute_zone =

    case

    When: P14_zone is NOT NULL

    then: P14_zone

    of other i.compute_zone

    end

    AND

    i.compute_zone =

    case

    When: P14_zone_2 is NOT NULL

    then: P14_zone_2

    other: P14_zone

    end

    AND

    i.compute_zone =

    case

    When: P14_zone_3 is NOT NULL

    then: P14_zone_3

    of other i.compute_zone

    end

    AND

    i.compute_zone =

    case

    When: P14_zone_4 is NOT NULL

    then: P14_zone_4

    of other i.compute_zone

    end

    any suggestions?

    Thank you

    MICAH

    Hi, Micah,

    User12611868-Oracle wrote:

    Hello

    I'm trying to create report filters using substitution variables in a case statement in a where clause clause. I have several instructions box running on the same column. I don't really know how to write it. Here's what I have so far but I know I'm going in the wrong direction.

    where

    i.compute_zone =

    case

    When: P14_zone is NOT NULL

    then: P14_zone

    of other i.compute_zone

    end

    AND

    i.compute_zone =

    case

    When: P14_zone_2 is NOT NULL

    then: P14_zone_2

    other: P14_zone

    end

    AND

    i.compute_zone =

    case

    When: P14_zone_3 is NOT NULL

    then: P14_zone_3

    of other i.compute_zone

    end

    AND

    i.compute_zone =

    case

    When: P14_zone_4 is NOT NULL

    then: P14_zone_4

    of other i.compute_zone

    end

    any suggestions?

    Thank you

    MICAH

    How get the desired results of your data depends on the desired results and your data.  What do you do?  (I can't tell just by looking at the aat code that do not do).  After CREATE TABLE and INSERT statements for some sample data and a couple of sets of parameters (variables such as p14_zone) and the exact results that your choices in each set of parameters, given the same sample data.

    Check out the Forum FAQ: Re: 2. How can I ask a question on the forums?

    CASE expressions are generally not useful in a WHERE clause.  CASE expressions are a convenient way to IF-THEN-ELSE logic of the places where you can't do anything other than (the SELECT clause), but WHERE the clauses allow IF-THEN-ELSE logic in any case

    Maybe you want something like

    WHERE MERGE (: p14_zone,: p14_zone_2,: p14_zone_3,: p14_zone_4) IS NULL

    OR IN i.compute_zone (: p14_zone,: p14_zone_2,: p14_zone_3,: p14_zone_4)

    It returns TRUE if all 4 parameters are set to NULL.  If 1 or more of them are not NULL, then it will return TRUE if i.compute_zone is equal to one of them.

  • How can I put several still images on a clip?

    Hello!   I use first items 14 and usually much longer work with pictures like clips instead of clips of video file.

    How can I put several photos on the clip?  like two pictures arranged side-by-side in the same clip.

    Thank you!

    margin

    Hi - thanks - it was just what I needed.

  • How can you put several style of character class?

    @How you can put several style of character class?

    If I put: low magenta tooltip centre-left w150 slide down

    Adobe Muse done: Tooltip-magenta-bottom-left-center-w150-slide-down

    Can I apply several styles of character at a time?

    1 - tool - tip

    2 - magenta

    3 bottom

    4 left

    5 - Center

    6 - w150

    7 drag-down

    Not without coding, each time after Muse has updated the code of the web page...

  • I can't put several video tracks

    Hi all

    I have a problem when I create a new sequence in first, I y importer a video but I can not put some other videos on the other tracks. The software take the track the son.

    Sometimes I can't even put the first video, just the son.

    I try to convert all my videos in the same format without success

    Anyone have the solution to my problem?

    Thanks in advance,

    Hello

    You did it ensure that your tracking is patched?

    Please refer to this post: Re: what is happening? Missing audio track!

    Thank you

    Regalo

  • Folio versions... Why can not put us down?

    Hello

    I wondered why, after putting the version of the viewer in your folio 'up' (say 30) you can't lower (say 28). We can't be the only people who have momentarily lost track of our applications Viewer versions and found having to recreate folios by using a lower version number? It is so easy to increase the version number (without any scary warning reminding you of the possible incompatibility)...

    Gave advice I have received here (but haven't found documentation) that there is 'no need' to set your slips to a version higher than v26 (is that correct?) I almost feel like this option should not be available or hidden away somewhere, if it is really impossible to give people the opportunity to downgrade as well as upgrade. Y of the plans to make it softer or harder to spoil?

    Thank you


    Toby

    Copied from another thread...

    Default viewer version (which I think the "folio format") is v26. If you leave the default selected, you shouldn't have any problems of incompatibility because although the version of the viewer changes with each version, the folio format has not changed since v26. This is described in a couple different notes on this help page, but it's a lot of information to go.

    Unfortunately, it is easy for people to get pop up. When you see 'version of the Viewer' in the user interface, it is reasonable to think that you're missing out on some features if you select an older format rather than the newest one. At the same time, the orientation of a number of different sources indicates that the version of the viewer must be equal or lower than the version of the app, or your users will be invited to update their applications. New applications can always read older folios, but older apps cannot read the new sheets.

    It would be great if you can select a version of the viewer below once you realize your error, but this would require more technical effort that the team wants to spend. It's a similar problem with changing the format of the article. If you decide to place an article in PNG to PDF, for example, you must delete and re-create article rather than change the setting.

  • Can I put several sound tracks together or on top of the other?

    If so, how?

    Yes, but the best way to proceed is not literally put on each other.

    Work in multitrack view.  Put each sound different in another track, positioned how you want in time.

    Then, you can use either the tracks of automation and mixers or volume envelopes to control the relative level (volume) of each track in the mix.  When you are satisfied with the way it sounds, you can use File/Export/Multrack mix to put everything together in a final mix.  (There are other ways to make the mixture too but this will do for now.)

    This is pretty much at the heart of the works of hearing, so if you are not familiar with it, a few minutes to watch the tutorials would be time well spent and serve you in a good position for years to come.

    The first step tutorial is here: in place of the multitrack sessions. Adobe Audition CC tutorials

    And another would be Enhanced multitrack audio editing. Adobe Audition CC tutorials

    However, these are only two and if you Google "Adobe Audition CC tutorial on Multi track mixing" you will have tons of suggestions, other Adobe and many others.

  • Why can't I add a box securely in site manager?

    I can't add a box secured to my site from muse. Why the option in the site manager is not available?

    IF you do not see that and other options that you are not on a BC plan that supports these features, and if you would like to upgrade.

  • Why can I put only three e-mail addresses in when I send an email?

    When I send an email, I can put only in 3 e-mail addresses and I would like to put in more, the only way I can is the same e-mail twice before, sometimes it allows me to do it, but most of the time that is not,
    I hope I've explained this enough, clear
    I can't wait to get a response

    After the third address, simply press ENTER. This will add an additional to: line.

  • How can I put several addressed in a 'group' that I can send using the group name?

    I have an address book and you can send an email to several at once by adding each in hand and the cc or BCC fields. As I often do, I need to 'collect' in a group, so I can use the name of the group to send to several people.

    _ http://KB.mozillazine.org/Thunderbird: _FAQs_:_Create_Mailing_List

  • Why can't I delete this box full control of Firefox icon in my toolbar?

    I don't know where it comes from, but there's a box full of what seems to be Firefox control icons to the right of my Google search box in the toolbar. There are two lines; on the top row, they are all grey, so similar to 'back', 'before', 'reload page', 'Cancel', 'downloads' and so on (they are icons, not of words, but I think that's what they correspond to the). On the bottom row, there is a like a clock and the other as 'Favorites', those who are white. By clicking on one of these things does nothing and if I double click on and click 'Customize', the whole box behaves as a single object, but I can't delete it.

    I'd be happy to add a screenshot, but I don't know how. I looked around the internet and pages in Mozilla, but I don't see something like this. Sorry! Thank you!

    You can attach a screenshot?

    Use a type of compressed as PNG or JPG image to save the screenshot.

    This problem may be caused by an extension that is not working properly.

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/Firefox/tools > Modules > appearance).

    • Do NOT click on the reset button on the startup window Mode without failure.
  • Why can't copy several layers and groups in a new PSD file?

    I created a bunch of new files PSD w / they must be the pixel dimensions. But I can't copy over 1 layer in these new files in a source file (w / all of my work). Why is this? Does anyone know?

    Go to Image > Mode for each file type and check that they are both RGB, or the two etc. CMYK. An adjustment layer, such as a curve or a Hue/Saturation, which is setting red, green, and blue pixel in an RGB document, cannot be moved in a CMYK document (or grayscale, etc.) because the color channels, that layer is adjusted are not there. This means that your new PSD files should be replaced by the same color mode as the documents you want to duplicate adjustment layers of.

    Steve

  • Why can't put my ideo online on youtube

    I added music to my video and all im done and I want to publish on youtube. When I lick the youtube button a notification box says "unable to load Youtube categories. Please try again Later ".

    He let then sign me in, but the gel then, and that's it. Help, confused? LOL thank you!

    Hello

    Thanks for posting your question in the Microsoft community.

    I understand that you are unable to download videos on YouTube. I suggest you try these methods.

    Method 1:

    Use the Internet Explorer (No Add-ons) mode

    To do this, click Start, point to programs, point to Accessories, point to System Toolsand then click Internet Explorer (No Add-ons).

    If this resolves the problem, follow these steps to isolate the browser add-on that is causing the problem:

    1. click on Toolsand then clickInternet Options.

    2. click on the tab programs , and then clickManage Add-ons.

    3. click an add-on in the list name and then clickdisable.

    4. Repeat step 3 until you identify the add-on that is causing the problem.

    Method 2:

    Try to open the Web page in compatibility mode. For more information on compatibility view, see How to use Internet Explorer 9 compatibility view.

    Method 3:

    To reset Internet Explorer, see the links below.

    http://Windows.Microsoft.com/en-us/Windows7/reset-Internet-Explorer-settings

    Note: "Please note that the reset Internet Explorer (IE) resets all of the settings defined by the user, including those established by the installed extensions, toolbars and other add-ons for IE by default. This includes all the security, privacy and settings area. Also this will erase browsing history, delete all temporary Internet, cookies, form data files and especially all the passwords. »

    Let us know if this helped. If you have any further questions then let us know

Maybe you are looking for

  • Lack of Whatsapp icon Iphone 6s

    I read on other posts on this subject and tried to be perfect, but without success. Basically, I have installed Whatsapp (new phone), used, returned an icon is no longer where I placed it. When I go to AppStore it shows like a product purchased with

  • Pavilion s5-1234: button s5-1234 Pavilion not not opening DVD player

    A customer brought me a Pavilion s5-1234 with a dead hard drive to be replaced. I replaced the drive and ready to reinstall the OS, but pressing the eject button on the front panel has nothing. I was able to open the front cover and press eject direc

  • event refnum

    How to make a'Cluster of Refnums in the event for the cluster of entry of a bundle by name. I'm trying to understand the function of an existing code, in the code he used a cluster of event refnums as imput for the bundle by name. Unfortunately, I ca

  • constant flow of old emails arriving

    I get hundreds, soon thousands of each old e-mail I've ever received in my Inbox Windows Live. This dam began yesterday and so far my Inbox has each email read old since April. It will continue until I have find a way to stop it. And if I can't, I gu

  • How to solve 6 c 80

    Command-> 805500002D416D626F6B6120496D6D6163756C617465204F64696D617C313031333736303130303030303035317C 31323135Wrapped command-> 805500002D416D626F6B6120496D6D6163756C617465204F64696D617C313031333736303130303030303035317C 31323135Response <--6 80send