Can we use if/else condtions like

can we use if [condtion1]
then [condition2]
elseif [condtion3]
then [conditon4]
in oracle.

Nested Case could help you:
Select *
from
       <table_name>
where
      <col1> =
      (case when <condition_1> then
                               (case when <condition_2> then <result_2>
                                     when <condition_3> then <result_3> end)
       else <some_other_result> end);

Similar Messages

  • How can I use my Zen Xtra like a flash memory

    Hello, I want to know how can I use my MP3 player like a flash memory.
    I have one and if I conect it with other computers I can't transfer documents and with a flash memory I conect it in all the computers with Windows XP and all of they detect the flash memory and they can transfer documents.
    With my Zen Xtra I connect it and the computer detects it but I can't transfer anything because the computer doesn't have the software.
    My question is.. Do I have to install the software in all the computers that I use ? or there are other forms to conects PC and MP3 Player? ( I want to transfer documents like text, image, etc)

    But some MP3 players do that, why this one can't be connected with all the computers ?
    Message Edited by morfo on 0-22-2005 05:54 PM

  • I need to update my phone, but my computer broke, and do not have a new one. I have an Itunes account, can I use someone else computer to go through with the update?  Is there a chance of loosing all my data, ie: music/photos?

    I need to update my phone, but my computer broke, and do not have a new one. can I use someone else computer to go through with the update if i log on with my itunes account or Is there a chance of loosing all my data, ie: music/photos? And if all else fails can i go to the apple store and have them update my phone?

    Update to what? The 3G you want to update? You have ios3 or 4 on that 3G?
    Go to a friend, authorize that pc.
    Read this : http://support.apple.com/kb/ht1848
    and this : http://support.apple.com/kb/ht2519
    Make a backup of your stuff (from the phone. apps/photos/music/blabla). Update your phone. The phone will restore the backup automatically.

  • Can i use anything else to sync my ipod?

    i keep having the message that my ipod cannot be updated as there is a missing file. I've followed the guide on here and have reinstalled it etc and followed advice on here, but it still doesn't work.
    I'm sick of i-tunes, can I use anything else to put songs on my ipod? I know that media player doesn't recognise ipods, but is there something else I can download to put songs on.
    This is really frustrating me, and I'm thinking of taking my ipod back, have only had it 3 days, but if I can't put anything on it there's no point in me having one.

    You could have a look at Anapod, XPlay or EphPod:
    Anapod Explorer
    XPlay 2
    EphPod
    These programs will all let you manage an iPod however there are a couple of things that they won't do:
    a) You won't be able to update the firmware on your iPod if a new version comes along. The iPod software updater is integrated into iTunes 7
    b) If purchasing iTunes Music is something you wanted to do you won't be able to buy from the iTunes Music store.

  • Can I use the IPad mini like a cell phone

    Can I use the IPad mini like a cell phone

    I use Viber Out to call Land Lines and Mobile

  • How can i upgrade my iphone 4 with the new OS without Vista?  Can i use someone else's computer who has it?

    dumb question i know, can i use someone else's computer to upgrade to OS6?  i dont have vista.

    If you currently have iOS 5, you don't neet a computer.  Settings>General>Software Update

  • How can we use IF ELSE  statement in Header Section

    Hi All
    I have requirement to display a bill address in header section based on a particular status ,would some body please share that is it possible to use if else in header section .
    Thanks in advance
    Thanks
    Pratap

    you cannot place your if conditions within form fields in the Word header. But you can directly type the tags instead.
    Regards
    Nishka

  • My iPhone 4 needs updates, but my computer is broken. Can I use someone else's computer to update?

    It's been a while since my computer crashed and refused to work again and I cannot afford to get it fixed. It's been a long while since I was able to update it last. It's now told me it needs to be restored or something, but like I said, I don't have a computer to do that on. If I use someone else's computer, will it update and continue to work? And will I lose everything by doing that??

    Yes you will loose everything.

  • Can I use my Ipod nano like a external disk. like a flas unit?

    I´m gonna buy an Ipod, and I don´t know if I can use the Ipod nano like an external disk in my computer to storage files and download them in other computer. If nano doesn´t do that, the Ipod does or either.
    Thanks

    Using your iPod as a hard disk
    Regards
    Colin R.

  • Can i use someone else's sim card to activate my iphone 5c and then take it out?

    I ordered an iphone 5c through eBay and i had been told before (by an iPhone 5c user) that i could use it as an iPod. But the iPhone does not come with a SIM card and i was told that the guy before did not transfer his account. If i use someone else's sim card, can i activate my iPhone using itunes and then give it back? if not, what can i do to activate it that does not require for me to buy an active SIM card? It's a sprint phone

    You will not be able to use a SIM to activate a Sprint Phone. The Sprint phones are CDMA devices and would have to be activated through Sprint. Your best bet if you would not want to use Sprint as a carrier, and do not have any intention to use the device as a phone to return it for a refund. You would have to have a Sprint contract to activate this phone.

  • Can i used an iphone 4 like a ipod touch without a sim card?

    I just got a iphone 4 but it doesn't have a sim card can i use it like that like a ipod please help!

    You'll need a SIM card to activate it, but after that, you can remove the SIM card.
    support.apple.com/kb/ht3406

  • Can i use someone else's Snow Leopard boot disk to upgrade my mac?

    I am unfortunately at that stage in life where as a teenager i have many lusts and "needs" but have hit the road block... money.
    I have enough to buy lion through the appstore but have not got enough to first upgrade to Snow Leopard and THEN Lion as well.
    If my dad has a Snow Leopard boot disk with his mac, can i use it to upgrade mine and then go on to buy Lion through the Mac Appstore?
    Thanks!

    No for possibly two reasons ... First, that's illegal as it's a violation of the Apple license agreement, and second, boot disks are locked to the system type they are delivered with.  Ask your Dad instead how you can earn $29 doing some chores around the house, or let the word get out that for any holiday gifts in December that cash would be appreciated.
    Since you're on Leopard today, you probaby know in wanting to move to Lion that Lion no longer has the Rosetta emulator and thus doesn't support anything with PowerPC code. That's surprised some, so just FYI. 

  • I have microsoft outlook installed on my Mac book pro, I can only use the outlook with the office server where it was setup, I can't use outlook else where, is there any way I can reset the settings in order to be able to use outlook every where?

    I have microsoft outlook installed on my Mac book pro, I can only use the outlook with the office server where it was setup, outlook won't work out of office, is there any way I can reset the settings in order to be able to use outlook every where?

    I can see my folders by clicking the X next to my name on the Inbox Folder.  So I have my folders now, just cannot see them in the left colum or see multiple windows on Outlook.  At this point, I can use the folders, just with limited functionality.  Thanks -Gina

  • Heelllpppp!!!!! can i use someone else computer to charge my ipod

    I'm out of town and my ipod battery is dead. Can I use my nephew's computer, which equipped for a nano, to just charge my ipod. I don't want any of his songs and I surely don't want to erase.

    Just leave it showing the "Do not Disconnect" warning! As long as it is showing you that message, it is charging, but not synchronizing with your nephew's computer.
    One othe trick: you can start up the computer and not even log in to keep your data safe. Then plug in the iPod and it should display this same message.
    I've done this in school classes several times and have had no problems.
    Good luck!

  • Can I use someone else's old iPhone?

    I broke my iPhone 4 and my AppleCare has run out. Someone I know has an old iPhone 4 they're not using; can I use their old iPhone?

    If their old iPhone is locked to a carrier that is not yours then you need to contact that carrier and ask them to unlock it as this will then allow you to use the sim card of your carrier. Best thing would be to ask your friend to contact the carrier as they would most likely have them as the account holder.

Maybe you are looking for