Order of problem in the update rollup

Hello

I'm sorting problem, when I use rollup function to calculate the subtotal.

Select region, country, port_id, sum (quantity) in Port_Dtl
Rollup Group (region, country, port_id)

In the above query, I want to sort the results by increasing Port_id.

Any idea?

Hi kumar,.

Just use the query for your results below

select   region, country, port, sum (quantity)
    from otn_temptable
group by cube (region, country, port)
  having grouping (region) = 0 and grouping (country) = 0
      or grouping (region) = 1 and grouping (country) = 1
         and grouping (port) = 1
order by nvl(port,lag(port) over (order by country)), port;

Just vote for it, if you like.

Kind regards
Kiran.

Tags: Database

Similar Questions

  • Problem, reinstall the Update Rollup 2 for Windows XP Media Center Edition 2005

    I have problems with MCE 2005.  My hard drive crashed and the technician that restored my repressive said that he could not work in MCE 2005.  It's a shame because he was working before the hard drive crashes.  I work with windows XP.
    When I go to install the internet and begin to test the connection it gives me "Critical error of process - Code 2"
    When I go to the TV configuration, it tells me "Tuner not found".  Even if I know it works because I also Win TV7 in Hauppauge. My TV tuner is HVR-1600.
    With these problems, I thought that the solution might be to reinstall rollup 2 according to the Microsoft.
    http://support.Microsoft.com/kb/910905
    However, when I go to reinstall the Update Rollup 2, it seems to be to establish a restore point and then it stops when it hits hotfix (KB891593).
    I took a copy of the mcelog and have attached a copy of the log below.

    Assistance or management, you can provide me to solve this problem would be highly appreciated.

    At this point, I'm a newbie to this and I don't have a clue as to the cause of my problems and any ideas you may have for me would be much appreciated.

    A generic Package: 10/28/10. 21:32:48
    Looking for an existing installation of the generic package

    A generic Package: 10/28/10. 21:32:48
    Looking for an existing installation of the generic package
    Process creation: WindowsMedia10-KB895572 - x 86 .exe/quiet /norestart
    Process returned 0 x 00000000

    Function (ExecCmdInThread) Message of Post for the Package id: 1045.

    A generic Package: 10/28/10. 21:33:02
    Looking for an existing installation of the generic package
    Process creation: WindowsXP-KB891593 - x 86 .exe/quiet /norestart
    Process returned 0 x 00000000

    Function (ExecCmdInThread) Message of Post for the Package id: 1046.

    A generic Package: 10/28/10. 21:33:02
    Looking for an existing installation of the generic package

    Process creation: WindowsXP-KB895961 - x 86 .exe/quiet /norestart
    Process returned 0 x 00000000

    Function (ExecCmdInThread) Message of Post for the Package id: 1047.

    A generic Package: 10/28/10. 21:33:02
    Looking for an existing installation of the generic package
    Process creation: WindowsXP-KB899337-v2 - x 86 .exe/quiet /norestart
    Process returned 0 x 00000000

    Function (ExecCmdInThread) Message of Post for the Package id: 1043.

    A generic Package: 10/28/10. 21:33:02
    Looking for an existing installation of the generic package
    Process creation: WindowsXP-KB899510 - x 86 .exe/quiet /norestart
    Process returned 0 x 00000000

    Function (ExecCmdInThread) Message of Post for the Package id: 1043.

    A generic Package: 10/28/10. 21:33:02
    Looking for an existing installation of the generic package
    Process creation: WindowsXP-KB888795 - x 86 .exe/quiet /norestart
    Process returned 0 x 00000000

    Function (ExecCmdInThread) Message of Post for the Package id: 1043.

    A generic Package: 10/28/10. 21:33:02
    Looking for an existing installation of the generic package
    Process creation: WindowsXP-KB902841 - x 86 .exe/quiet /norestart
    Process returned 0 x 00000000

    Function (ExecCmdInThread) Message of Post for the Package id: 1043.

    A generic Package: 10/28/10. 21:33:02
    Looking for an existing installation of the generic package
    Creation process: KB900325.exe/quiet /norestart
    0x00000bc2 returned by process

    Function (ExecCmdInThread) Message of Post for the Package id: 1048.

    "Creative process: c:\0f7019deb34a2ccd3d5c2a4d9e4f3e57\bin\wmfdist95.exe/q: a/r: n /C:"wmsetsdk.exe/WMFDIST/q/r: n /DisallowSystemRestore.
    Process returned 0 x 00000000

    Function (ExecCmdInThread) Message of Post for the Package id: 1044.

    A generic Package: 05/12/11. 21:26:14
    Looking for an existing installation of the generic package

    A generic Package: 05/12/11. 21:26:53
    Looking for an existing installation of the generic package
    Process creation: WindowsMedia10-KB895572 - x 86 .exe/quiet /norestart
    Process returned 0 x 00000643

    Function (ExecCmdInThread) Message of Post for the Package id: 1045.

    A generic Package: 06/03/12. 21:27:50
    Looking for an existing installation of the generic package

    A generic Package: 06/03/12. 21:28:23
    Looking for an existing installation of the generic package
    Process creation: WindowsMedia10-KB895572 - x 86 .exe/quiet /norestart
    Process returned 0 x 00000643

    Function (ExecCmdInThread) Message of Post for the Package id: 1045.

    A generic Package: 12/02/13. 09:44:39
    Looking for an existing installation of the generic package

    A generic Package: 12/02/13. 09:45:16
    Looking for an existing installation of the generic package
    Process creation: WindowsMedia10-KB895572 - x 86 .exe/quiet /norestart
    Process returned 0 x 00000643

    Function (ExecCmdInThread) Message of Post for the Package id: 1045.

    A generic Package: 12/02/13. 10:11:58
    Looking for an existing installation of the generic package

    A generic Package: 12/02/13. 10:12:30
    Looking for an existing installation of the generic package
    Process creation: WindowsMedia10-KB895572 - x 86 .exe/quiet /norestart
    Process returned 0 x 00000643

    Function (ExecCmdInThread) Message of Post for the Package id: 1045.

    Hi kwanray,

    Welcome to the Microsoft community. According to the description of the problem, you can not reinstall the Update Rollup 2 for Windows XP Media Center Edition 2005.

    I'll help you with this problem. I suggest you follow the steps in the article.

    Update Rollup 2 for Windows XP Media Center Edition 2005

    Reference: Support for Windows XP Media Center Edition 2005

    Let us know if you need help with Windows related issues. We will be happy to help you.

  • Can not download the update rollup 7 for System Center R2 2012 - Data Protection Manager (KB3065246)

    Microsoft has released a patch missed for DPM in July that breaks the ability of DPM to remove older restore points. My server is invaded by the recovery points and I would like to address them. Failed to remove the bad fix, update rollup 7 for SC DPM, in Add/Remove programs. The new version of the patch does not appear in Windows Update, probably because she sees that the wrong version is here.

    The only place where I can find to download the update rollup 7 fixed is here:

    http://catalog.update.Microsoft.com/v7/site/search.aspx?q=3065246

    The download site does not at all on Microsoft Edge, Chrome or Firefox. On I.E. I can see the "basket" link, but it still errors out before presenting a download.

    By clicking on 'help' on this page provides a link to send a mail to * address email is removed from the privacy * which gives a failure of discount if nondelivery report send you it.

    By clicking 'Send a problem' report also channels to the community, not a problem of any kind report form.

    So, I'm here. Ask a question about a product in Windows Server, Windows Server is not not a choice of versions of Windows in the form below.

    If anyone from Microsoft is reading, correct the download site or give me another way to download it, thanks.

    Turn on "Compatibility view" for microsoft.com allowed the download button to appear and I was able to get the file. Looks like a clear indication that this site is updated you need to demote your browsing session to get even to function.

  • Not able to install Windows XP media center 2005, het a message to install the Update Rollup 2.

    Original title: how to install the Update Rollup 2

    I recently bought a kindle fire hd but when I connect it to my computer with the usb connection, it shows not only a connected device on my computer.amazon tried to install windows xp media center edition 2005 (kb900325) .but it would not install it came a message saying I need to install cumulative update 2 first.î tried, but does not Please help

    Hi James,

    Welcome to Microsoft Community where you can find all the answers related to Windows.

    According to the description, it looks that you are not able to install Windows XP Media Center.

    I have a couple of steps that should help you to solve this problem.

    Follow these 4 steps to install the KB925766 correctly:

    a. if the 886904 update is installed, you must uninstall the 886904 update before you install the Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005. Otherwise, the installation of .NET Framework 1.1 SP1 will fail.

    To determine whether the 886904 update is installed, follow these steps:

    i. click on start, run, type appwiz.cpl, and then click OK.

    II. Click to select the show updates check box.
    III. in the list currently installed programs, locate the following item:

    Fix for Microsoft .NET Framework 1.1 (KB886904)

    If you see this option, you must remove the hotfix. To remove the patch, click on the Microsoft .NET Framework 1.1 (KB886904) Hotfix and then click on remove. Then, visit the Windows Update Web sit to download and install the Update Rollup 2 for Windows XP Media Center Edition 2005.

    b. to install this update, you must have Microsoft .NET Framework 1.1 and .NET Framework 1.1 SP1 installed. Windows Update detects whether these packages are installed. Windows Update automatically installs these packages for you.

    (i) follow the link below to download the .net framework 1.1 manually:
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=262D25E3-F589-4842-8157-034D1E7CF3A3&displaylang=en

    (ii) follow the link below to download the .net framework 1.1 SP1 manually:
    http://www.Microsoft.com/downloads/details.aspx?FamilyID=a8f5654f-088e-40b2-bbdb-a83353618b38&displaylang=en

    c. cumulative update 2 for the Windows XP Edition Media Center 2005 (KB900325)
    Follow the link below to download and install the KB900325:
    http://www.Microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=e5daf37e-E243-4410-BC51-81cf2b56fe6e

    d.October 2006 Update Rollup for Windows XP Media Center Edition 2005 (KB925766)
    Follow the link below to download and install the KB925766:
    http://www.Microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=8a2e5868-c2b9-4131-b08e-afc7cb0a6576

    Now try to install this update and let us know if it solved the problem.

    For additional help, refer to the article below:
    http://support.Microsoft.com/kb/925766

    I hope this helps. If you have questions more related to Windows, feel free to post here at Microsoft Community.

  • Try to install the Update Rollup 2 for Windows XP Media Center Edition 2005 - on SP3.

    Hello

    All this started when my Xbox360 is dead, sent it for repair, came home another, all hung up and tried to connect to the Media Center. Of course, it did not work and the screen says to uninstall? (something), I forgot today, it has been a long road since then. BUT I uninstalled Update Rollup 2 for Windows XP Media Center Edition 2005 and updates that came after. NOW realize it was a mistake, I'm not of the Update Rollup 2 for Windows XP Media Center Edition 2005 on your computer. And I'm confused regarding why, for the first time, that I can't find a single KB article on this problem.

    And even if I did not restore the system off, there is no restore point on my machine.

    So I'm always searching in google and microsoft.com but a little lost right now.

    Moccan,
    Thanks for posting on the Microsoft answers Forum.  I would like to know if you read this article for the hotfix rollup: http://support.microsoft.com/kb/900325.  In particular the section more information, which has this:

    If the 886904 update is installed, you must uninstall the 886904 update before you install the Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005. Otherwise, the installation of .NET Framework 1.1 SP1 will fail.

    To determine whether the 886904 update is installed, follow these steps:

    1. Click Start, click run, type appwiz.cpl, and then click OK.
    2. Click to select the Show updates check box.
    3. In the currently installed programs list, look for the following element:
      Fix for Microsoft .NET Framework 1.1 (KB886904)

    If you see this option, you must remove the hotfix. To remove the patch, click Microsoft .NET Framework 1.1 Hotfix (KB886904), and then click Remove. Then, visit the Windows Update Web sit to download and install the Update Rollup 2 for Windows XP Media Center Edition 2005.

    If you haven't checked out on this yet, then follow the steps below and let us know the result. Mike - Engineer Support Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Having a problem with the update of the window. He said that windows could not search for new updates. It's the found error 80245003 code

    Having a problem with the update of the window. He said that windows could not search for new updates. It's the found error 80245003 code

    Take a look at this article as it addresses this error code. Mike - Engineer Support Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • XP media edition does not install the Update Rollup 2

    Hello, I'm having a time difficult two cumulative installation. I reloaded my OS to XP media edition. It started with when I tried to update to Windows Media Player 11. He said that I needed rollup 2. I went to install the Update Rollup 2 and it gave me an error: one or more prerequisites required to install KB925766 failed. I read some forums saying everything I had to do was have sp3, then I downloaded that and still get this error. Does anyone know what this is? How can I fix? : S
    Thank you Sandy

    Hi sandrofina,

    It's good to know that it worked.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Problem installing the update of blackBerry Smartphones BB App World

    I have a very old BlackBerry App World build my torch.  While I wait for a Z10/Q10, I try to update.  For some reason when I update to 2.1.1.2 to 4.3.0.26 I get a Setup error.  Any suggestions on how to do it?  I don't see a way to remove the BlackBerry App World and reinstall.  Thank you.

    -Eric

    Hi ericschiff

    Welcome to the Forums of the BlackBerry Support

    What model of torch you have! If you encounter a problem with the update you can try to re - install BlackBerry World. For which first of all, go to Options > device > application > locate and remove BlackBerry World of this list.

    KB10040 : How to view or delete an installed BlackBerry smartphone applications

    After deletion to perform a battery pull reboot by removing the battery in your device is on.  After you restart your BlackBerry browser go to www.blackberry.com/appworld and download the most recent version. Perform a restart after the installation.

    Try it and tell us if you feel any problem.

  • I just wanted to know at all, if you encounter a problem with the update of creative cloud as if I was (error 1001), I discovered that my Webroot AntiVirus has been the origin of the problem. I turned it off and it updated correctly. Hope that helps some

    I just wanted to know at all, if you encounter a problem with the update of creative cloud as if I was (error 1001), I discovered that my Webroot AntiVirus has been the origin of the problem. I turned it off and it updated correctly. Hope that helps some people I've seen so angry about it here by searching for the answer myself.

    Thanks for sharing this, yes turning Firewall works.

    Concerning

    Stéphane

  • Problems with the update of Flash Player.

    Problems with the update of Flash Player.

    After download, installation begins, but when the progress bar completes a typical Windows error message appears stating:

    (literal translation from Spanish):

    fallo-install-flash.gif

    "can't find the procedure entry point SetDIIDirectoryW in the dinamic links library KERNELL32.dll.

    IHAVE: windows32, XP + FlashPlayer worm: 11.1.102.55 + MozilaFirefox10.0

    Flash works well, but I can't make a new update since Version: 11.1.102.55

    Please help me, thanks

    You have two options:

  • Major problems after the update to 10.11.2

    Hello

    I have a 2009 MacBook pro environment. I'vewalkways updated to the latest osx and have never had any problems. Since the update to El Capitan my computer worked really slow. I deleted all the old files, uninstalled I don't use and move all the files on a hard drive current of the program. With the first update to El Capitan, it would take 10 minutes to activate and load up, slow but manageable.

    Since the 10.11.2, update I have been practically impossible to use my computer at all. Now, it takes 25 minutes to activate and load up. Once its loading I can barely click an icon before her color of the wheels. It will charge finally something at the end of 5 minutes, but basically the computer is useless.

    IM wondering if anyone else has had similar with El Capitan and the problems that people would be advice to me. I plan to downgrade to Yosemite, as I had no problem then, but I've never done anything like this before, and I'm worried it will more mess my computer and then I will have no computer at all? I need to create a USB key with Yosemite on and then erase the Mac HD before reinstalling with Yosemite. I am naturally cautious but want to do what's best for my computer working again.

    Or would it be best to reinstall El Capitan and hope this sorts the problem?

    Thanks in advance

    Try these in order to test your system after each see if it is back to normal:

    1. a. reset the PRAM and NVRAM on your Mac.

    b. Macs with Intel processors: reset of the controller (SMC) system management

    2. restart the computer in Safe Mode, and then restart again, normally. If this does not help, then:

    HD recovery start: restart the computer and after the buzzer, press on and press and hold the

    COMMAND and R keys until it appears the Utilities menu screen.

    3 fix the hard disk and permissions: select startup drive in the Utilities menu utility. Fix the hard drive and the permissions as follows.

        When the recovery menu appears, select disk utility and press the continue button. After loading disk utility select it

        back from Macintosh HD entry of the list on the left.  Click first aid button in the toolbar. Wait for the operation

        ends, then quit disk utility and back to the main menu.

    4 reinstall OS X: restart from HD recovery Select reinstall OS X from the Utilities menu, then click on the continue button.

    Note : You will need an active Internet connection. I suggest to use Ethernet if possible because it's three times faster than wireless.


  • Problems with the update of CS6 of Adobe Application Manager

    Hello. I already bought and installed Photoshop CS6. A few days ago, I signed up for but also signed up for the monthly subscription of CC in order to get all updates and future versions. As soon as my Adobe Application Manager has been installed it tells me that a few updates were available and that they have downloaded and installed correctly. Yesterdat I was tild that another major update was available. No problem to download, but the payment is interrupted and told me that the update failed. Journal error reports attached:

    13.1.2 for cloud creative Photoshop

    Failed installation. Error code: U44M1P7

    Hope someone can help. Thank you.

    Please refer to the solution mentioned in the following threads:

    http://forums.Adobe.com/message/5396792#5396792

    http://forums.Adobe.com/message/5409050#5409050

  • Managing policies broken after the Update Rollup 4

    Server details
    Server productColdFusion
    Version9,0,1,274733
    EditionStandard
    Operating systemWindows Server 2008
    OS version6.0
    Update level/C:/ColdFusion9/lib/updates/chf9010004.jar
    Version of the Adobe driver4.0 (build 0005)

    I recently upgraded to 2 of my servers to the Rollup 4 in response to bullitin of security APSB13-03. Everything seems to work ok and the update went through fine. Happened me on the accident click the font management link and was surprised to see that what was once a completely filled page now simply read the fonts not found. After looking through the many posts on the forum and google searches, the similar mention only I'd come through was http://forums.adobe.com/message/4495733#4495733. However, unlike the OP in this post, I was able to add new user-defined fonts. The only thing that I havn't done is go back the update since that let me a big problem in the form of a security hole. My problem is that no system font doesn't seem to appear on the page, but I think that the fonts are really at work even if they do not show on the page. I ran across the post of carehart http://www.carehart.org/blog/client/index.cfm/2011/10/21/why_chfs_may_break and determined that everything was done correctly, however if wrong something I can't say what.

    Everyone knows this? I know that this Cumulative 4 update was just released yesteraday, but maybe even a similar expiernce with another fix?

    Vishal

    Vishal,

    Please follow the step #12 to http://helpx.adobe.com/coldfusion/kb/cumulative-hotfix-4-coldfusion-901.html to copy the file jpedal.jar into the directory lib to see restart the CF service and check the section of police management in the CF admin to see if the problem is resolved.

  • Approvals of auto Service does not work after the Update Rollup 2.3 HRMS on Oracle11i

    Custom approval workflow for self-service has stopped working and is auto approving after HRMS update rollup 2 and 2 on Oracle 11i. Can someone advice on what may be the cause of this problem.

    Hello

    You have customized by changes in oracle seeded workflows and not to change his name. If Yes, then it is not supported patches way and oracle are quite capacble of replace your coustomization.

    Oracle provides a way for the customization, serach metalink support and find out how to do it.

    You can get the list of object crushed by the patch by OAM or by running the fix in test mode.

    If you have backup of these workflows, you can replace it.

    Thank you
    JD

  • Problems with the update IOS 10

    Hello

    I need help.  I updated my iphone 6 more last night at 10 IOS.  The update seemed to have worked, but now I can't sign in with my password ID Apple I get an error "Self-test Failed - there is a connectin to the Apple ID server error" to come after as I try to connect.  In addition, I can't in the itunes and app store apps.  The app just itunes appears blank and the app store app wrote "loading" all the time.  In fact, I have a problem, try to get the majority of my apps work now either.

    The only thing I tried to do to fix the problem is to turn the phone on and off again.  Any suggestions please?

    Jane.

    Greetings anfield5jane,

    I see that after updating your iPhone 6 more last night at iOS 10, you are now unable to connect your Apple ID and password. You get a verification failure message. I know how it is important to ensure that you can use these applications and services.

    I suggest you force by closing the App Store and the iTunes and app reopened to see if you get the same question. The following article will help you: force a nearby application on your iPhone, iPad or iPod touch

    If you notice that helps, try to force, close other applications that have the same problem.

    I would also like to test this on Wi - Fi and cellular data to see if you get the same result.

    Please let us know what happens. We're here to help.

    Best regards.

Maybe you are looking for