ANy other option for WITH Clause

Do we have any other clause in SQL which has similar functionality as WITH clause?
Message was edited by:
DEV

Something like that one --
SQL>
SQL>
SQL> set serveroutput on
SQL>
SQL>
SQL> with tt as (select empno,ename from emp)
  2  select empno,ename from tt
  3  union
  4  select empno,null from tt
  5  where empno>2314
  6  /
     EMPNO ENAME
      7369 SMITH
      7369
      7499 ALLEN
      7499
      7521 WARD
      7521
      7566 JONES
      7566
      7654 MARTIN
      7654
      7698 BLAKE
     EMPNO ENAME
      7698
      7782 CLARK
      7782
      7788 SCOTT
      7788
      7839 KING
      7839
      7844 TURNER
      7844
      7876 ADAMS
      7876
     EMPNO ENAME
      7900 JAMES
      7900
      7902 FORD
      7902
      7934 MILLER
      7934
28 rows selected.
SQL>
SQL>
SQL> ed
Wrote file afiedt.buf
  1  select empno,ename
  2  from (select empno,ename
  3       from emp)
  4  union
  5  select empno,null
  6  from (select empno,ename
  7        from emp)
  8* where empno>2314
SQL> /
     EMPNO ENAME
      7369 SMITH
      7369
      7499 ALLEN
      7499
      7521 WARD
      7521
      7566 JONES
      7566
      7654 MARTIN
      7654
      7698 BLAKE
     EMPNO ENAME
      7698
      7782 CLARK
      7782
      7788 SCOTT
      7788
      7839 KING
      7839
      7844 TURNER
      7844
      7876 ADAMS
      7876
     EMPNO ENAME
      7900 JAMES
      7900
      7902 FORD
      7902
      7934 MILLER
      7934
28 rows selected.Hope you will get some idea.
Regards.
Satyaki De.

Similar Messages

  • If we dont want to use sleep/wakeup button for dissconnect the call so there is any other option for dissconnect the call without using sleep/wakeup button in ios 8.1.3. kindly suggest

    if we dont want to use sleep/wakeup button for dissconnect the call so there is any other option for dissconnect the call without using sleep/wakeup button in ios 8.1.3 . kindly suggest..!

    Hello kumar kalptaru, 
    Thank you for participating in the Apple Support Communities. 
    It sounds like you're wondering how to hang up a call besides using the Sleep/Wake button. 
    Other than this, you can tap the red hang up button on the Phone app. See the iPhone User Guide for more help:
    While on a call - iPhone
    End a call. Tap  or press the Sleep/Wake button.
    Best Regards,
    Jeremy 

  • Is there any other option for using internal table in badi

    hi
    i know we cannot use internal table in badi
    but is der any other option
    plz write in d codez too
    with Regards
    Rohan Shetty
    Edited by: Rohan Shetty on May 6, 2008 2:14 PM

    of course you can use internal table in BAdi, do like this.
    data: itab type table of ....
    data: wa type ...
    Example:
    data: itab type (standard, sorted, hashed) table of mara.
    data: wa type mara.
    Or create your own type within the badi.
    types: begin of ty_xxx,
                fielda  type c,
                fieldb  type n,
                fieldc  type d.
    types: end   of ty_xxx
    data: itab type table of ty_xxx.
    data: wa type ty_xxx.
    Edited by: Micky Oestreich on May 6, 2008 2:16 PM

  • Any other options for load balancing

    hello everyone,
    i have been unsuccessful to implement load balancing effectively. have you come across any such problems with load balancing not working as expected? are there any othner options to implement load balancing?
    thank you in advance

    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin-top:0cm;
    mso-para-margin-right:0cm;
    mso-para-margin-bottom:10.0pt;
    mso-para-margin-left:0cm;
    line-height:115%;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    I do not see what you want to achieve or what you have tried to do. So please provide some more information.
    /André

  • Other options for emailed itunes gift card?

    I received an itunes gift card via email.  Unlike a physical gift card, it does not have a redemption code.  Just a 'redeem' button.
    I don't want to redeem this code.  I would like to gift it to someone else or perhaps sell it.  But I need a physical card with a redemption code.
    Apple says my only choice is to redeem it to my itunes account.  I didn't want to ask the purchaser to request a refund. 
    Are there any other options for this gift card email?  thanks!

    thank you for your reply. i know you could stream in between computers. i guess i just want one device to do everything and i am torn as to whether or not to buy the basestation. i guess the odds of a newer one coming out with the music feauture in the next few months is probably way beyond slim to none!

  • I can't change my apple id password because my security answers don't match. It won't give me any other options and just keeps asking for the answers. What do I do?

    I can't change my apple id password because my security answers don't match. It won't give me any other options and just keeps asking for the answers. What do I do?

    Contact the Apple ID Security site from http://support.apple.com/kb/HT5699 or call the AppleCare support number from http://support.apple.com/kb/HE57 and ask to speak with the Account security Team.

  • I have a macbook purchased in dec 2009 with OS 10.6.8, i can't install Mavericks as it is not finding any place to install. It says it cant be install on the harddrive and i dont have any other option to select .. what to do?

    i have a macbook purchased in dec 2009 with OS 10.6.8, i can't install Mavericks as it is not finding any place to install. It says it cant be install on the harddrive and i dont have any other option to select .. what to do?

    imnyaar wrote:
    ... It says it cant be install on the harddrive
    What does the message say, exactly?
    Try this:
    From the Finder's Go menu, choose Computer:
    Double-click your hard disk icon. It is usually named "Macintosh HD":
    Look for this folder:
    If it appears in that window, drag it to the Trash.

  • My ipod 4G won't connect to my wifi at home with new router. Says "unable to connect" and won't give me any other options. Have tried resetting network connections. Help.

    My ipod 4G won't connect to my wifi at home with new router. Says "unable to connect" and won't give me any other options. Have tried resetting network connections. I don't want to lose anything. I have tried turning everything off and back on again. Desktop and laptop are working fine. Sometimes it turns on suddenly and I can use it for like 20 mins but then shuts off again. Same thing is happening with my dad's iphone, Help.

    Does the iOS device connect to other networks?
    Does the iOS device see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network       
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem and it does not connect to any networks make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • HT2534 I have just created an Apple Id for itunes, it is allowing me to get to the debit card stage but they no longer accept Visa Debit, there is no other option for me as i dont have any other cards and there isnt a 'none' option! HELP!!

    I have just created an Apple Id for itunes, it is allowing me to get to the debit card stage but they no longer accept Visa Debit, there is no other option for me as i dont have any other cards and there isnt a 'none' option! HELP!!

    How did you create the account ? Unless you followed the instructions on the page that you post from exactly then you won't get the 'none' option and you will need to enter payment details - those instructions won't work on existing accounts.
    I tried those instructions a week ago in response to another thread and I got the 'none' option on it e.g. on my computer's iTunes I logged out of my existing account, found a free app in the store, clicked on its 'free' price, clicked on 'create Apple id' on the popup, and after agreeing to the terms and filling in my details I was able to select 'none' as my payment option and download a free app with it.

  • HT1420 i can't seem to get my iPad to synch with my new iMac.  The iTunes prompt says that this computer isn't authorised although i have registered it on iTunes.  Any other ideas for how to overcome this block?

    i can't seem to get my iPad to synch with my new iMac.  The iTunes prompt says that this computer isn't authorised although i have registered it on iTunes.  Any other ideas for how to overcome this block?

    What do you mean by 'registered it on iTunes' ? You've authorised your account on your Mac's iTunes via the Store > Authorise This Computer menu option ? And you've copied your library onto the Mac ?
    Copying content between computers : http://support.apple.com/kb/HT4527
    You may also find this page for syncing to a new computer useful : https://discussions.apple.com/docs/DOC-3141

  • Any further options for fixing a network extender with flashing red sys light?

    I've been using my network extender without any problem for a few years. Well, except it always had stopped working on occasion (maybe every 6 months) and I would have to toggle it back and forth between open access and managed on the Verizon site to get it working. That was fine, but this time it's been stuck on a slowly flashing red sys light. The power, gps, and wan lights are all solid blue. Eventually it will seem to start over with the cycle of leds but end up again at all blue except a slow flashing red sys light.
    That was months ago and I've been struggling with it ever since with no luck. I tried calling support a couple of times but could never navigate through to any appropriate option for network extenders. Both times the automated system couldn't figure out what my issue was and hung up on me.
    I tried power cycling my cable modem and router. I've tried the open/manage setting change on the My Verizon page for the extender. I've verified my router settings, though no equipment has been changed. I even tried assigning an IP to the network extender and configuring the correct ports for it (found a list of the port numbers somewhere else on this site).  I've of course tried leaving it off for a bit.. 5 minutes, 30 minutes, 10 hours, and ultimately a month or so. Nothing makes a difference and I'm still stuck with a slow flashing red sys light. It's frustrating as I general manage only 1 signal bar even at best in the house or around the yard. It's hardly usable even though the Verizon coverage map shows solid coverage all over my house and neighborhood.
    Any help or ideas would be appreciated.  Did the network extender simply die?  Is there any way to diagnose that for certain?

    It is up and running again.
    I just really wish they would have the courtesy to post on here, Facebook, Twitter, whatever, wherever, but to just let us know that there is a problem, they are aware of it, and are working to fix it.
    For a communications company, so far I have not seen that they have any communication skills.

  • I have my iPhone 4s backed up on my mac but it seems it was encrypted with a password which i do not remember is there any other option to retrieve to the backup without restoring the device as a new one. Also I do not have access to a windows system.

    I have my iPhone 4s backed up on my mac but it seems it was encrypted with a password which i do not remember is there any other option to retrieve to the backup without restoring the device as a new one. Also I do not have access to a windows system.

    Sorry no, if you don't knnow the encrypted password, then you can't use that backjup.

  • How can I turn off auto-renewal for subscriptions? I have been in the manage my account but I can't see any other option than to auto-renew?

    how can I turn off auto-renewal for subscriptions? I have been in the manage my account but I can't see any other option than to auto-renew?

    Follow the instructions in this article. You can turn off the auto-renewal on either your i-device or via iTunes on your computer:
    Manage your auto-renewing subscriptions - Apple Support
    Cheers,
    GB

  • Installed iOS 7.04 in my iPhone 5 and back camera and flashlight still inop. Any others out there with this problem still and any ideal of when there will be a fix for it?

    Installed iOS 7.04 in my iPhone 5 and back camera and flashlight still inop. Any others out there with this problem still and any ideal of when there will be a fix for it?

    I'm using iOS 7.04 on my iPhone and basically can't use it. The screen is going crazy. I type and special characters show up. I have to hit send more than once (it grays out, then hit again) then it sends. I type words in text or email and it backspaces and deletes my entire message. I tap an application and it starts wiggling to delete. I've reboot several times. I'm looking at restoring, but that is a pain in the arse (it's my work phone). I'm nervous it will not restore properly.
    I have iOS 7.03 on iPad and have no issues.

  • How to I use my Ipad mini with  keynote to project my presentations, do I need any other app for that?I have a lighting to VGA cable already

    How to I use my Ipad mini with  keynote to project my presentations, do I need any other app for that?I have a lighting to VGA cable already

    If you are using Keynote, then no, you would be fine with just the adapter and a cable hooked up to the projector.

Maybe you are looking for