What is the difference in the case of stmt

Hello
I get the same result with the following case
SQL> select (case when empno=7566 then 100 else empno end)
  2  from emp;

(CASEWHENEMPNO=7566THEN100ELSEEMPNOEND)
---------------------------------------
                                   7369
                                   7521
                                    100
                                   7654
                                   7698


SQL> select (case empno when 7566 then 100 else empno end)
  2  from emp;

(CASEEMPNOWHEN7566THEN100ELSEEMPNOEND)
--------------------------------------
                                  7369
                                  7521
                                   100
                                  7654
                                  7698
Apart from this we have no difference between the 2 above cases

Thank you

There is no difference in your two case statements. They represent the same logic, and that's why you get the same result.

There are two ways to use the case as statements evidenced as well.

"CASE deptno when 10 then...". "is used when we want to match the exact value by using the equality operator. It's the same as 'BOX when deptno = 10 then... ". »

"CASE when deptno > 10 then...". "is used when the operator is none other than the equality operator"="like" >,<, like,bewteen="" etc"="">

I thing you got the point.

Concerning

Published by: MYRIAM on November 4, 2008 21:44

Tags: Database

Similar Questions

  • What is the case with the 33rd host in the cluster?

    Hi all

    The limit for a DRS or a HA cluster is 32 ESX servers. What happens if you try to add a 33rd host?

    Well, I got up to 36 hosts in the same cluster and I haven't noticed any errors. Work of VMotion, DRS...

    ESX3.5 U2 and Virtual center 2.5 U3

    Best regards.

    Yes, as David said, there is a limit that has been tested by VMware, so it's a MAX supported.  Nothing will stop you from adding other nodes to a cluster, and it can work very well. But if something happens, you might reduce the node by number of clusters down a limit of support.

    On a side note, may I ask why you would have many hosts by cluster rather than simply create more clusters with a smaller amount of hosts?

  • What is the case fan just to get to a m9426f

    I need a case for hp m9426f fan it says it's a foxconn model PV902512Lwhere can get me a

    Thank you

    I ordered this one low Gelid Silent FN - PX09 - 20 9 92mm TC temperature controlled case fan silent 38CFM 11 ~ 23dBA

  • Java manually setting is necessary in the case of cloning in r12 on the new server.

    Hi experts,

    I need some suggestion. I demanded to clone my database of production on a completely new test server. for this, I know that I demanded to prepare the new test server for ebs r12. for exp rpm installation package, the core of installation parameters create group users and os etc...

    My confusion is that ' forced to install java manually when you copy the database on an entirely new test server (1st time on this server direct cloning) "

    According to my java knowledge already bundle with r12 and request not to install manually when we install r12 1st time on a new server. But what in the case of cloning.

    Please please suggest me right path. I have to do the cloning so client-side I m nervous. Please help me...

    Pritesh salvation,

    It's just a matter of preparing the server, with all prerequisites them and perform cloning immediately. You should not install java separately when you make a clone on a new server.

    Thank you &

    Best regards

  • What is the difference between Apple Watch sport and Apple Watch?

    What is the difference between Apple Watch Sport42mm space aluminum case gray with Strip black sports and Apple Watch 42 mm space with black Sport band black steel box?

    Hi Mathias

    There is no difference in the features of the software or the specifications of internal material between the Apple Watch models (with the exception of a few faces of exclusive watch on Apple Watch Hermès).

    The only differences are the materials used - including watch boxes, tapes, and views.

    For example: Apple Watch Sport models are designed to be as light as possible, using aluminum and glass aluminosilicate for the screen. Apple Watch models use heavy stainless steel case and sapphire glass for the screen.

    Your best option may be to make an appointment to try on Apple Watch in an Apple Store, see and feel the difference.

    More information:

    Try on Apple Watch - make an appointment

    http://www.Apple.com/watch/design/

  • Tecra A2 - what is the difference between the cooling modules Tecra A8?

    Hello

    I have Tecra A2 and my fan is almost 'dead '. So I think to buy a new one.

    And here my question:
    "What are the differences between Fans (P000401740) A2 and A8 (P000463770) for example?"

    Because despite the construction of the "rotor" as well as details of construction of the case they seem to be exactly the same.
    If I buy this A8, it would work with my laptop?

    Kind regards
    Christopher

    Hello

    I m not very well what s the difference between these two modules of cooling but the fact is that the motherboards are just different and I doubt that a cooling module that was not designed specifically for the Tecra A2 series would correspond with A2 motherboard and case.

    That's why I recommend buying a cooling module which has been designed especially for this series!
    I think you can order the Toshiba ASP.

    Good bye

  • What is the difference between AXIEM and EMSIght? What are the benefits of AXIEM by EMSight if any?

    I wonder what are the differences between AXIEM and EMSight. Are associated with application? One is better than the other? Please explain.

    AWR estimated AXIEM most powerful plan EM Simulator around.   AXIEM is at the center of continuous research and improvement, while EMSight is only worked on if revealed serious flaws.  Here is a summary of the differences:

    Mesh

    • EMSight must mesh the nearest grid drivers using rectangles.  This causes the mesh to have more elements mesh when there are small and large geometries.  The grid should be small enough to capture the small geometry but then causes large geometries to mesh more.   In addition, angled or curved structures causes inefficiencies mesh.

    • AXIEM STS forms, rather than a grid.  In addition, the mesh can be rectangle or triangle.   This allows a much more efficient mesh.   AXIEM generally have a much more efficient

    • AXIEM contains the ability to process forms to clean geometries that cause inefficiencies of the mesh.  EMSight does not have this feature.

    • AXIEM can forms thick metal mesh, EMSight can not, and user must make approximations when thick metal will change coupling (loss is recorded properly with the thickness of the metal)

    Ports

    • The ports are for the most part similar, but parasites due on AXIEM ports are less.  In addition, the AXIEM has a side wall, thus the effects of not move of the terms of reference of the edge of the line are a lot less AXIEM in.

    • Ports can be added to most any place in geometry with AXIEM.  For EMSight, the ports are usually only added outside the geometry and have limitations to the aircraft on either side of the reference speaker.

    Problem solvers

    • EMSight does not have a low frequency Solver.  Stop low-frequency and then extrapolate to DC.  This usually works well, but you must take into account if the extrapolation is accurate.  AXIEM presents both a low and high frequency Solver so will do better in a low frequencies generally much better in DC.

    • Solver of EMSight scales O (n) ^ 2 for memory and O (n) ^ 3 for the moment.   It has a special algorithm to break the question of memory, but the question of time is the killer.  AXIEM has a direct Solver which scales in the same way and an iterative Solver which will scale O (nlogn).   In other words, AXIEM can solve a lot of bigger problems than EMSight.

    • Several AXIEM processes are multithreaded as EMSight.

    Speaker

    • EMSight is inside a perfect driver side wall.   This works well if you the circuit is in the same cavity.  If not, you must know the rules of them on to the forms of space of the flanks and how that much to extend the port could reference planes.   AXIEM is not here.   AXIEM does not currently have to simulate a perfect driver side wall.

    I don't know that I missed a few aspects of the tools.   From the point of view of the AWR that AXIEM is the tool of choice, except in a few cases have been EMSight may be required.

  • What is the difference between a triangle wave, waveform of the triangle and the triangle pattern

    To generate a waveform of triangle, I have 3 vi I could use. Signal Processing-> generation of signals-> Triangle wave.vi, Signal-> signal generation processing-> Triangle Pattern.vi, programming-> wave->-> generation of waveform analog waveform-> Triangle waveform.vi.

    What is the fundamental difference between these 3. I understand that all 3 have a different set of entry and I can use them according to what combination of input data that I have. Are there any special cases for which each is used?

    You should get really understand DAQ and the difference between the data types. When you create a waveform data type, the data type includes timing information. For the acquisition of data the most important is the dt or the time between samples. You have configured the DAQ Assistant to use this information to generate the waveform. When you create the table 1 d, obviously it cannot contain information of timing and when you convert dynamic data, all you will get is a default dt 1.

    As indicated, you can use either feature, if you create the table 1 d, you will need to change the data to add to the dt you want.

    Look inside the basic function generator. It uses the lower level of triangular-wave function, you already mentioned. See how the timing information is added to the output of table D 1.

  • What is the difference between a backup of the plant and a recovery disk?

    For me a simple question, so I hope a simple answer.

    When I got to my laptop that I created a USB using DBR recovery. It is a little more than 8 GB in size and is appointed SYSRECOVERY.

    At that time there I didn't create a backup of the plant.

    Having recently been read on things related to the re-establishment of a system in case of disk failure hard etc, I saw that Dell has said you must create USB recovery media and a backup of the plant. So, I got a new USB and today created a backup of the plant.

    Looking at it, it is also called SYSRECOVERY and both have exactly the same list of files and folders and have almost the same size.

    So just what is the difference between these 2 options (if any)?

    Or do I now have 2 USBs that will do exactly the same work to restore my laptop computer provided that the factory?

    Case there is no difference, why Dell offer both (and recommend you create both)?

    Thank you

    Technically speaking a recovery media and backup of the plant are the same. But according to the post that you saw at Dell, recovery media is a backup of backup from the factory with the files and applications that you added later. Therefore, to be on the safe side, Dell recommends to create a backup of files and software that have been added later (or is not part of the default configuration).

    The factory backup contains all drivers and software according to the configuration of the PC, and that were pre-installed on your computer.

    Generally, Windows failure, you can use factory backup media to restore the PC without affecting your personal files and software. In the event of hard disk failure, where the hard drive is replaced, recovery media will be useful to restore Windows as well your files and applications.

  • Anyone of you happen to know what is the difference with a certificate in certificate authorities roots of trust?

    Hi all

    I am trying to solve the mystery of the ICP and have a question about the certificate stores, it would be very cool to have answered. Anyone of you happen to know what is the difference with a trusted certificate root, Enterprise Trust, intermediate Certification authorities CAs, publishers, to the third-party root CA, Active Directory object and so on?

    And does it matter where the physical store? Is there a difference if you use the registry, Local computer, group policy, AIA and so on?

    I noticed that you use the CA store root of trust to validate the server self-signed https, but apparently not so simple with tokens, access control with the EAP protocol network and so on.

    Best regards
    Alex

    Hi Alexander,.

    Thanks for posting your query on the Microsoft Community.

    With the description, I understand that you have a question about the certificate stores on your Windows 7 computer. I will certainly help you to the query.

    I suggest you refer to the of the items listed below and check if this is useful:

    Operating a Windows PKI: Certification Authority certificate life cycle and renewals

    https://blogs.technet.Microsoft.com/xdot509/2013/05/27/operating-a-Windows-PKI-certification-authority-certificate-lifecycle-and-renewals/

    ICP-the key usage attribute

    https://msdn.Microsoft.com/en-us/library/Windows/desktop/ms679125%28V=vs.85%29.aspx?f=255&MSPPError=-2147217396

    If the link above is not enough, then please visit the link below to post your query in the TechNet forums:

    https://social.technet.Microsoft.com/forums/en-us/home?category=w7itpro

    Hope this information is useful. Please come back to write to us if you need more help, we will be happy to help you.

  • What is the difference between a version of MAR and the software win7 INKL?

    * Original title: MAR v INKL

    What is the difference between a version of MAR and the software win7 INKL?

    Hello

    Thanks for posting your query in Microsoft Community.

    • What exactly you're talking about when you say, 'Version INKL of Windows 7?

    I'll be happy to answer your query, however, please explain more about abbreviation INKL. There is a version called Office of ink that is used in the Tablet PC.

    Here's the other version of Windows, you can make reference to:

    MAR - Microsoft Authorized Reacondicionador

    A new PC requires a version of windows with a new key license installed if purchased from a manufacturer.

    A refurbished PC is allowed to use an existing product key (2nd hand if you like) as long as it is always delivered with a certificate of authenticity (COA). This is referred to as MAR (Microsoft authorized Reacondicionador) which means that Microsoft allows to use existing keys/licenses products.

    Buy a version of windows means MAR technically you buy a second hand copy - being however, software, so it comes with COST, will make absolutely no difference at all.

    N and KN editions

    The features in N and KN Editions are the same full versions of their equivalent, but do not include Windows Media Player or other technologies related to Windows Media, such as Windows Media Center and Windows DVD Maker because of the limits set by the European Union and South Korea, respectively. The cost of n and KN Editions are the same as the full versions, as the Media Feature Pack for Windows 7 N and Windows 7 KN can be downloaded for free from Microsoft.

    Generations of VL

    VL builds work with VLK (volume license key). Volume license keys can be used to activate multiple installations of the software without a mechanism (for example, a product activation mechanism) controls the total number of facilities. The license for the software is going to impose restrictions on the use of the key. In general, the license will limit the key to a certain number of facilities which must be only the Organization of the licensee and also to place the holder under the obligation to keep a record of the number of facilities, hold confidential and perhaps even require that the holder organization makes available for a software license check check that his use of the key is in the terms of the license.

    Please let us know what exactly are you referring to when you say version INKL of Windows 7, so we can further research and answer.

    Hope this information is useful. Please feel free to answer in the case where you are facing in the future other problems with Windows.

  • What is the difference between win 7 pro DSP OEI DVD and the OEM or normal Full pack?

    1. What is the difference between win 7 pro DSP OEI DVD and the pack OEM or normal Full we learned normally?
    2. does DSP OEI DVD comes with CD of instalation?

    These versions are for small integrators (DSP = 'partners in enforcement service'), which usually contain a single Windows (1pk = 32-bit or 64-bit, not both as in commercial versions) and an OEM preinstallation kit to preconfigure Windows and/or integrate additional tools (OEI = 'Installation of Original equipment' or 'Integration organizational environment'). They have the same limitations that versions OEM = license is tied to the computer where the operating system has been installed initially and not transferable in case of death of the machine. "192GO should be enough for everyone." (of the miniseries "Next generation jokes")

  • What is the difference of windows 7 32-bit to 64-bit programs?

    What is the difference of windows 7 32-bit to 64-bit programs.

    Original title: * bits *.

    64 bit 32 vs

    http://Windows.Microsoft.com/en-us/Windows7/32-bit-and-64-bit-Windows-frequently-asked-questions

    My PC running the 32-bit version or 64-bit Windows?

    http://Windows.Microsoft.com/en-us/Windows7/find-out-32-or-64-bit

    http://Windows.Microsoft.com/en-us/Windows7/installing-and-reinstalling-Windows-7

    Windows 7 64 bit comes in handy when you need to deal with at least 4 GB of RAM or more. Windows 7 32 bit can use up to 3.2 GB of RAM. Because the address space of memory is much larger for 64-bit Windows, this means that you need two times more memory than the 32-bit Windows to accomplish some of the same task, but you are able to do much more, you can have more apps open, do things like run a virus scan in the background it will affect the performance of your system. 64-bit Windows 7 is safer too, malicious code cannot easily infiltrate it, drivers are more reliable because they must be signed before it can work with 64 bit Windows 7.

    Regarding compatibility, you need device drivers 64-bit hardware devices, you may have. In addition, there is no 16-bit subsystem in Windows 7 64-bit, which means, your applications must be 32-bit only, not 16-bit Installer or programs uninstaller. Also, if you decide to switch to Windows 7 64 bit in the future, there is no way to upgrade from 32-bit Windows, clean install only.

    Can I run 32-bit programs on a 64-bit computer?

    Most programs designed for a computer running a 32-bit version of Windows running on a computer running 64-bit Windows versions. The notable exceptions are many antivirus programs, and some hardware drivers.

    Drivers designed for 32-bit versions of Windows do not work on computers running a 64-bit version of Windows. If you try to install a printer or other device that only has 32-bit drivers available, it won't work correctly on a 64-bit version of Windows. For information on updating drivers and troubleshooting issues with device drivers for 64 bit versions of Windows, contact the manufacturer of the device or program.

    I would be using a 64-bit computer?

    The benefits are more obvious when you have a large amount of RAM (RAM) installed on your computer, typically 4 GB of RAM or more. In this case, because a 64-bit operating system can handle large amounts of memory more efficiently as a 32-bit, 64-bit operating system can be more responsive when you run several programs at once and switching between them frequently.

    If I am running a 64-bit version of Windows, I need 64-bit drivers for my devices?

    Yes. All devices devices need 64-bit drivers to work on a 64-bit version of Windows. Drivers designed for 32-bit versions of Windows do not work on computers running 64-bit Windows versions.

    To learn how to check for drivers, see update a hardware driver that is not working properly or go to the website of the manufacturer of the device. You can also get information about drivers by going to the Windows 7 Upgrade Advisor website.

  • What is the difference between reactive and thumbnail image?

    It may seem like a stupid question, but what is the difference between a tailored boot image and a thumbnail "bootstrap"?

    Mary + 8 wrote:

    So, there is no intelligent property to one thumbnail that is other than a gray border? It kind of implies that you can roll to get a larger version, but of course, this isn't the case.

    I think I'll stick to the image of reagent that has all the variety of forms, including a miniature option.

    Not really, its just style the element to look like what you would expect a "miniature" to look like.

    promoting the IMG is applied to any image you want to be sensitive, although by my philosophy of images "bootstrap" should have been reactive default as seems its supposed to be 'most popular worlds sensitive framework' - they got it wrong too, as well as many other things in their environment.

  • HP Pavilion 15-p101nx: what is the difference between 15-p100nx and 15-p101nx?

    I'll buy one of them. I'm hoping to do some games in there. What is the difference between them?

    The only difference seems to be that the version of p100nx has a then vibrant red case, the p101nx has a case of aqua blue.

Maybe you are looking for