question about this instruction box... Never seen written in this way

I case this statement written by a developer, and I try to understand what he was trying to accomplish with the write this way
CASE t_CELL
                WHEN 'XML' THEN
                    'Mods'
                ELSE
                    CASE WHEN t_CELL IS NOT NULL THEN
                        t_Cell
                    ELSE
                        CELL
                    END
                END
            = CELL OR CASE t_CELL
                WHEN 'XML' THEN
                    'Amps'
                ELSE
                    CASE WHEN t_CELL IS NOT NULL THEN
                        t_Cell
                    ELSE
                        CELL
                    END
                END = CELL);
What is throwing me off the coast is the = CELL which was included... Please note, this is just one example of code

Well, simplified, it looks like:

CASE WHEN t_CELL = 'XML' THEN 'Mods'
     ELSE NVL(t_CELL, CELL)
     END
= CELL
OR
CASE WHEN t_CELL = 'XML' THEN 'Amps'
     ELSE NVL(t_CELL, CELL)
     END
= CELL

Shows that there are two distinct conditions to test, so I guess this is part of a WHERE clause of a query or an another CASE statement, or an assignment to a variable of the BOOLEAN in PL/SQL?

It is often more logical (more readable) to put the MATTER on the right side of the State, for example

WHERE CELL = CASE WHEN t_CELL = 'XML' THEN 'Mods'
                  ELSE NVL(t_CELL, CELL)
             END
OR    CELL = CASE WHEN t_CELL = 'XML' THEN 'Amps'
             ELSE NVL(t_CELL, CELL)
             END

Tags: Database

Similar Questions

  • Satellite L650-11R - a few questions about this

    Hello there :-)

    I have a few questions about my new L650.

    I've never had Toshiba notebook before so I apologize if some of these "quirks" are actually quite normal on this laptop. I really want to hear the views of other users L650.

    1)
    First of all, by the time I turned it on I saw gradient thin (1-2 mm) along the right edge of the screen that goes from the bottom up. Maybe "degraded" isn't the right word, but it seems that since two or three pixels are kind of discoloration or lose brightness/sharpness to the edge along the straight bezel. It is not really that visible, looks like the colors are desaturated a bit here or brightness is a bit lacking. He can be seen everywhere (bios or no color in Windows, but better in the lighter background).
    The left side (or other) seems ok, all this along the right edge is somewhat suspicious. If one can compare? I don't know if it's something to worry about or is just supposed to be like that.

    2)
    The other thing I noticed heating of the processor (Intel i3 330M) and GPU (ATi Mobility Radeon 5650). It's pretty hot here right now (I would say that the temperature is around 28 degrees Celsius when using cell phones). He is sitting on the hard surface (table) and nothing is blocking the vents.
    However, at "rest" (surf the web & regular light stuff), average CPU temp hovers around 58 ° C. It usually goes from 45 to 62 in just a few minutes after starting, and then I can hear and see (Toshiba PC Health Monitor) evacuate the kicks in. Temp goes back to 50 +, event stops and then the temp rises to 60 + until the vent is used again.
    During load full (Prime95 or some games), CPU is going all the way up to 75 degrees (the highest being 77). Fan runs at 75 to 77% during this time, never go faster.

    GPU idling is usually around 5 degrees above temp CPU (62-65). During full load (for example. Benchmark of Far Cry 2), I see a lot of stuttering with the latest drivers Catalyst and DX10 (not sure if the stuttering has something to do with heat), otherwise it is ok (no artifacts or anything like that). Temp of GPU during the loading goes up to 74-75, fan speed is locked at 30%, the frequency of the heart 5650 is 450 MHz. left side of the laptop (vent and below) is pretty hot, while the keyboard is warm (or slightly warmer who who).

    These time seems correct and safe in the long term? I'd rather events works all the time (they aren't really very strong) and keeping time less than 50, but there are just wishful pious bios control events and I can't control not the bios. :-)

    3)
    This is just General related products. :-)
    Official specifications of Toshiba L650 say ATi 5650 (between other low range GPU), but I saw a few specifications calling for there 5730 (same model 11R). Is there really a Satellite L650 with ATi 5730 GPU models?

    Sorry for the long post, I tried to include the best possible description that I could do. :-)

    Thank you in advance.

    Thanks for the additional info!

  • Messages/questions about this mac

    I have a late 2008 macbook unibody. A few months ago I updated and it worked find. 8g memory on El Capitan. My wife has a macbook 2009 (white) and he has had some problems. It is currently running 10.5.8 (Leopard?). I decided that it would be a good idea to create a profile on my computer because it is higher and actually works. So, I took out his hard drive and used the migration assistant to move its data to a profile on my computer. Everything seemed to work very well and everything going on above.

    Now, I learned today that I can't use Messages. For some reason, I think he's trying to open its version which may have migrated from his computer. I don't know why he would do that and I can't understand how to solve. I can't remove it because it tells me that it is used by OS X and cannot be deleted. I've attached screenshots of the error I get. I have since deleted his user profile to try to remedy, but it did not help. I'm still stuck with all applications and files that came with the migration. I don't know how to remove one of these.

    There is another question. Since I migrated the data, I was no longer able to open "about this mac". Or from the top menu, or the finder by using system information. Really at a loss here.

    Any help would be appreciated.

    System profiler does not open on my iMac. Apple support communities

    OS X: about system information and System Profiler - Apple Support

  • Sides - a few questions about this generation of switching

    Well, I'm here... A user of Final Cut Pro, building a new box for CS5 of Prime Minister. He would you believe? I mainly work with AVCHD / H.264 if all goes well in native mode depending on how the system behaves. Mostly just first edit and convert it to MPEG and H.264 for web and blu ray.

    This is the build I have came with. I love the case, it seems huge.

    Antec twelve hundred black steel ATX Full Tower computer case

    GIGABYTE GA-X58A-UD3R

    Intel Core i7 - 930 Bloomfield 2.8 GHz

    Mushkin Enhanced Redline 6 GB (3 x 2 GB) 240 - Pin DDR3 SDRAM DDR3 1600

    EVGA 012-P3-1470-AR GeForce GTX 470 (Fermi) 1280 MB

    Series HX of CORSAIR CMPSU - 650HX 650W ATX12V v2.2


    I have a few questions if you guys don't mind:

    (1) the RAM I have listed is speed 6. But it's only 6 GB. I could spend more and get 12 GB, but it would be much slower (9 speed). I am using only the Prime Minister, encoder and again. Little, or even no AE, etc. The performance gain will be worth investing in slower 12 GB of ram?

    (2) any experience with the Matrox card? Everything I do is exported to blu ray and some of them online (h.264). Looks like the $500 would be well spent.

    (3) what is the cheapest version of Windows 7 that has the characteristics that a person like me would need?

    (4) POWER supply is enough @ 650w? I intend it power hard drives 6 +.

    I have a lot of help apprechiate! Thank you very much!

    1. download both sets of 3 x 2 GB, arrive at 12 GB total.

    2. a complete waste of money. The Matrox cards are great as one doorstop, not much else.

    3. at least Home Premium, but better Pro.

    4. go to eXtreme Power Supply Calculator Pro v2.5 and download the Pro version. The value of CPU load to 100% and the ageing of capacitors to 30% and add 10 to 15% for safety. Don't forget to add a BR burner, fans, USB etc devices

    Discover the impact of memory on the system performance on base here information page: Référence PPBM5

    For other items of interest possibler, click on the preview at the top of the forum Hardware tab and go to the menu drop down.

  • Question about this forum

    What the hell does that mean in my preferences?

    "Always subscribe via email to threads, I create: Yes No.

    How can a person 'subscribe' to anything by e-mail?

    Why would I want to subscribe to a thread or not?

    A dictionary is a typical definition "subscribe":

    "to Gage, as by signature an agreement, to give or pay (a amount of money) as one contribution, gift, ou investment: he subscribed $ 6 000 for the new Church. «
    or
    "to agree or sanction to '

    Can someone explain this strange use of the word subscribe?

    Ted,

    There are essentially two ways/places to get notifications by email:

    • You can subscribe to a notification for the positions that they have the initiative. If we're looking for an answer to a question, they might want to be informed of any activity in this thread.
    • You can subscribe to a forum, so that all posts to this forum generates an e-mail notification. If we follow the forum, it's their choice.

    This ARTICLE will be the location to TURN the notifications by e-mail.

    Personally, I have the two OFF and just drag by the forum when I have a moment. Otherwise, my Inbox would be filled, since I followed several Adobe Forums.

    Good luck and we hope this helps,

    Hunt

  • Question about the text box

    Hi all

    I have a weird problem in Indesign cs4.  I don't know if it's something I need to change or what.

    Basically, I am trying to create a layout of the brochure and I have 4 text boxes I mean aligned on the axis Y. On some occasions, I could put the y-axis to say 25 p 3 (for example and 3 4 boxes would sit on it aligned to that.  Yet, for some reason any the strange box when you set it to 25 p 3 is located far higher or lower that the other text boxes.

    Is there a reason that this is happening? All my fonts in the text boxes are the same.  Can anyone shed some light on this.

    First box is a different height and you're lining up the bottom...

  • question about this query... using parameters if it is null

    Hello all;

    I have the following query below
      SELECT p.id            
                 ,p.place
      FROM table_one p
           WHERE p.id = decode(p_parameter_one, is not null, p_parameter_one, is null, p_co) 
    what I'm trying to do, it's pass two parameters in my function, and if p_parameter_one is null, then use p_co, else if p_parameter_one is not null, and then use it and do not use p_co.

    I use oracle 9i

    you want?

    SELECT p.id ,
      p.place
    FROM table_one p
    WHERE P.ID = NVL(:P_PARAMETER_ONE,:P_CO)
    
  • Questions about tables in text boxes

    When I convert the text to a table, there is a small space between the text block and the table. I have two questions about this:

    1. Is it possible to remove this gap? I put the text block options set spacing to 0 and gutter to 0 and spacing of table before and after to 0.
    2. Is it possible to create a table that is not in a block of text, especially when converting text to a table?

    Attached is a few screenshots that I hope will be useful. In the first image, East of the limit of the framework text in magenta and the structure of the table is in light blue. The gap between the blue magenta and light vertical lines on the left, that's what I want to remove.

    Screen shot 2012-05-11 at 11.45.46 AM.pngScreen shot 2012-05-11 at 11.50.47 AM.pngScreen shot 2012-05-11 at 11.53.05 AM.png

    Tables are always in a text frame, and in fact, they are part of a paragraph, so I would check the assigned to this paragraph paragraph style and see if there is a left indent applied, or perhaps a paragraph alignment is set to something other than the left.

  • Questions about reinstalling Windows XP after the end of Support

    Several members of the family of my friends that I sometimes provide technical assistance for are still under XP SP3 on their systems.  These systems are too outdated and underpowered to upgrade to a newer version of Windows, and it will probably be some time until they are able to upgrade to a more recent hardware capable of running most modern versions of Windows.

    If in the meantime, something happens to one of their computers requiring a reinstall of Windows after support for XP purposes, but before they can get a newer computer, I have a few questions about what will happen:

    1. Is there still a way to activate their existing copies of XP during installation process?
    2. While I understand that new patches, updates, patches & will be is no longer provided, existing patches will be available through the Microsoft Update service so that I would be able to get those computers to update state that they would be about to XP supported ends, or do I have to search elsewhere to try & find these updates?  (It would be nice if Microsoft put up a cumulative update that would be sort of a mega-patch for people in this situation to be able to get back to the most current state systems, but I would not be surprised if there wasn't such a thing).

    Anyone know the answers to these questions?

    Thank you

    You should be able to clean install and activate Windows XP.  You should be able to upgrade as well, even if the wise move would be to get the updates stored on portable media or integrated into a multimedia installation (or both) as soon as POSSIBLE if the plan is to continue using Windows XP for a while.

    My suggestion is to set up and to buy Windows 7 Professional renovated systems / lease from places like TigerDirect.com - as pricing is generally about the same as just a license for Windows 7 or a little professional, the hardware specifications of these machines are likely machines Windows XP current in use, using something like the PC Mover take care of Laplink and Microsoft to move files (or for the more than 25 USD the) applications that can be moved as well) to the new system of the former is possible, and Windows 7 will get updated until 2020.

    Recently research I've seen systems to Windows 7 Professional for as little as 150 USD with 4 GB of memory and dual core processors.  Not bad.

  • Many questions about the HP 50 g

    I just ordered a HP 50 g graphic calculator! I have a few questions about this so hang on tight! What is the USB connector on the calculator? Mini-USB, micro USB, or is it a connector owner, "custom". Then, it would be possible to connect a keyboard to the HP 50 g by using the USB Port? Is there a program that would make this possible? (I doubt it would work if you plug it..) I have a Mini-USB to female USB 2.0 connector. So I could just plug the keyboard right, provided that the port on the calculator is a Mini-USB Port. If this is not so that I could use my female to female USB adaptor to connect the keyboard.

    Thanks for your help,

    Zekelegge

    Hi!, zekelegge:

    Welcome to Forum!

    The only printer I use, 50G calculators, 48GII, 39GS and 17BII +, as well as many former models, such as the 48 s/SX/G/G + / GX, 38 G, 39 G, 42, 41 C/CV/CX and 28 C/S, is the infrared printer HP 82240 b. If you can use the emulator HP50G, on the PC, the simulator of the printer, you can download, since... http://www.HPCalc.org/details.php?id=7386

    The printer... HP 82240 B

    The cable series...

    The description... http://www.allenwan.com/hpcalcserialcable/

    The original cable...

  • A few quick questions about the Satellite P300 - 18 M

    Hello

    I am about to order a Satellite P300 - 18 M and have just a few questions about this:

    (Although these may apply for other similar Satellite/Equium P300.)

    Is the touchpad made by / to use the Alps or Synaptics driver?

    It has the Wireless N network card, is the map made by Intel or Realtec?

    And also, someone has experience with face recognition software to connect?

    If so, does it take a lot of time to initalise?

    Thanks in advance,
    Jack

    Hello

    The P300 - 18M belongs to the PSPCCE series.
    It uses the two touchpad drivers. Synaptics & Alps Electric
    There is an Intel 802.11agn minicards WLan installed

    The face recognition is a nice tool but local to be illuminated and you must take your face the right of the post sometimes it of not very easy

    But if you face is recognized correctly that the connection should work properly

    See you soon

  • Qosmio E10: Question about PX1211E-1TVD Toshiba DVB - T USB Tuner

    Hey all,.
    While the analog TV tuner that is inside my Qomsio E10 is OK for now, I'm looking forward to get a Digital Tv Tuner USB from Toshiba adapter.

    HTTP://UK.COMPUTERS.TOSHIBA-EUROPE.COM/CGI-BIN/TOSHIBACSG/INDIVIDUAL_OPTIONS_PAGE.JSP?SERVICE=UK&ACTION=SHOW _ATTRIBUTES & OPTION_ID = 109331

    And I have 2 questions about this article on Qomsio:

    1 MCE (version 2004 on E10) will be able to use this DVB - T Tuner for me to record digital programs in MCE?

    2 "Intervideo WinDVD Creator 2 Platinum for Toshiba" (comes with E10) will be able to see the PX1211E-1TVD so?

    If not, what software could be used to record DVB - T programs?
    Later,.

    Alcahest

    Hi Alex

    You will be very happy if someone can give you a precise answer to your questions. I didn't see this before, but it will be interesting to know if it works with my Tecra laptop.

    If seek you information please let me know how it works. Thank you!

  • Question about lights LED R7000

    Question about this quote from the Manual: "when the router is turned on, the light during approximately 10 seconds and then turn. If all lights lit, this indicates a fault in the router"my router lights LED is turned off. Are they supposed to? I discovered how manually to disable using genius. NETGEAR Nighthawk AC1900 is defective?

    I think the manual means just that at first they all turn on, then off for a few seconds. LED lights depending on what services are available.

    The power light should stay lit. Port LAN LED come on if a device is connected the WiFi LED (Amber on white, 100 M, 1000 m), are we if the radios are turned on. The Wan or the internet LED lights up if there is a connection to the internet. Some of them you can turn off via the user interface, but it is handy to have on so that you know the status.

    It looks like your router working normally.

  • Questions about LogMiner.

    Greetings. We use 11G and have installed OEM, but not DB Diagnostic Pack. I have a few questions about this utility:

    (1) can be used if the Pack diagnosis DB is not installed? I ask because I know that some of these utilities are not available if it is not.

    (2) I know that I need to enable logging extra to use it. Is there any show / General cool space that are associated with?

    (3) are there any air show with the help of LogMiner itself? In particular, I could see what happens if analyzes the current journal.

    (4) what the tool commonly used to determine what query performance caused problems for awhile?

    Thank you!

    1 Yes. It is not part of a pack.
    2 of course additional recording will result in repeat. The impact on performance is usually not noticeable.

    3 the result of mining is placed in the shared pool and queries on v$ logmnr_contents ask shared pool this may cause reduced performance.

    4 n ° do not forget that you are again mining. This means DML. Selects won't be in your recovery.

    -------------

    Sybrand Bakker

    Senior Oracle DBA

  • Questions about migration on server 1 for win 7 PC temporarily

    Hello, I am charged with moving that customers 2 of our current of 2 to VMware host separate Windows 7 64-bit PCs TEMPORARILY so that I can install for free ESXi 5.1 as the new host (replacing the current host, which is a Standard operating system Windows Server 2003 on a server Dell Poweredge 2950 using VMware Server 1.0.10).  After the ESXi installation on the server, I intend to spend both clients as they exist now to the new ESXi host.

    I have a few questions about this project, and I hope I can pull your knowledge to help me.  My question is:

    (1) is this a feasible plan?

    (2) what methods would you recommend using?

    (3) should what tools I use?

    (4) can what version of VMware (free) I use on the 2 Windows 7 workstations to serve temporary guest?  A customer is our Standard Windows 2003 domain controller, and the 2nd is an email server and Linux-based web.  I intended to put each on a separate office.

    Any help you offer is greatly appreciated!

    Thank you

    D. Pichard

    You can use vmware player as a free virtual machine player.

    Use vmware converter to convert your servers.

    Is not recommneded for convert DCs however, what you might do, it is to build a new one. However, it is possible.

    the dell 2950: your host in the HCL as compatible uses 5.x

Maybe you are looking for

  • M70-159: need graphic driver for Windows 2003 Server

    Can someone tell me wheather I can install windows 2003 server to series M70-159 .I am trying to download driver for sound card and many other cards, but I'm not able to get one for windows 2003

  • delete the wifi connections?

    My wifi status shows in the menu bar. It shows every WiFi only close to home. Too much. How to show only my preferred connections which is my routers 2.5 ghz and 5 GHz? See the image

  • F10-136: should I try updating graphics card drivers?

    Hi, my name is Sleepless, and I need some advice. I have a Qosmio F10-136, with a double system of punt (XP MCE 2005 to XP Pro 2002) and a NVidea GeForce FX Go5700 graphics card. I tried to watch the updates so that it nvidea.com and discovered that

  • Moving the library back to the original source files

    I am in final cut pro x and by mistake I was importing my media AND copy the files in the library instead of him reading from the original source.  I want to know if there is a way to go back and change it.  Thanks for any help.

  • Generate sine in FPGA

    Hello I'm trying to generate a sine at 13, 56 MHz on a 5641R. I managed to do it on the host, but now I want to create this on the FPGA, because after I want to achieve a modulation to make RFID. And I need to have all the code in the FPGA. Does anyo