Group by expression not found

Hello,
I have a query which is giving not a group by expression error even though after having all columns in group by clause,
The crazy here is the same query is working fine in three environments expect in one environment.
I did a work around on this if i use the sub query my issue is getting solved but performance is going down.
I have a union all ,collection(Multiset) clause as well. :)
Please let me know if you people have any idea/solution on this issue?
Is this related any environmental setup on oracle.?
Am using oracle 10g data base and oracle 11g for my .NET.
Thanks,
SanS

From my experience I have got "not a group by" expression prob.
for a select satement like this:::
select tab1.id,tab1.name,count(tab2.col1)
From tab1,tab2 where tab1.id=tab2.idx
group by tab1.id,tab1.name
order by lower(name);
The prob.with order by lower(name) ....without 'lower' (any other functions) working fine...and the prob occurs when the record set called from the front end(asp.net)...directly executing from the db its working fine...
regards,
jp@valapad

Similar Messages

  • Air port express not found by my mac

    Hallo all, I want to extend my wlan, therefore I want to install an additional air port. I have already a time capuse with air port. Now my question:
    Do I neet to connect the new air port with a wire? I thougt the connection is wireless? Unitl now the new air port is not found by my mac within the utility air port program. Why? Please help! Thank you, Kailash

    To help facilitate setting up your extended network, I would recommend the following:
    Perforrm a "factory default" reset on the AirPort Express base station.
    Temporarily connect the Express to the Time Capsule using an Ethernet cable between them.
    Once you have configured the extended network, you can now disconnect the Express from the TC and place it at the desired location.

  • Cisco Prime LMS 4.1 - /cwportal/group/lms/lms not found error after login

    After upgrading the MDF (Common Services) and the device packages on our Cisco Prime LMS 4.1 installation we now get an error after logging in. The error is as follows;
    Status
    Not Found The requested resource was not found.
    https://X.X.X.X/cwportal/group/lms/lms
    The top of the page is the normal menu and anything we choose there works fine so we only see this just after logging in to CiscoWorks.
    Has anyone experienced this problem or do you have any idea what might be causing it?
    The installation is running on a Cisco appliance.
    kind regards,
    Michel

    It's being access from a client using Internet Explorer 8 (which is what I'm forced to use due to company policy) by access the DNS name of the ciscoworks server and logging in.. It worked previous to installing the patches so I'm not exactly sure what has happened. I'll try to get another PC to test from though to see if it's something to do with my browser or PC.
    If I add -configuration to the url it works just fine.

  • Assignment from Xelsysadm to Custom Group if approver not found!!

    Hi Experts,
    Currently if the assigned approver is not found ( Target type = Request Target User's Manager option) because say the manager is not set for the user, OIM by default assigns it to xelsysadm
    I would want to change this to a Group (support Group) instead.
    Is it possible in OIM with min customization?
    Thanks for your inputs,
    N

    Hello meggs5
    Depending on how the message is coming in, either iMessage or SMS, then you will report it to 2 different resources. Good to know that you already contacted your carrier, if it is from iMessage, article below will let you now how to report it to Apple.
    Messages: Reporting unwanted messages sent from iMessage
    http://support.apple.com/kb/ht5821
    Regards,
    -Norm G.

  • Airport express not found after setup

    I have a maddening situation. At the beginning of setting up my airport extreme, the computer has no problem finding the wireless device. However, after the A/E is configured and added to my current network (linksys router), the computer can't find the A/E anymore.
    What's going on?

    The following are Apple's instructions for setup using the Airport Setup Assistant, which is different from Airport Utility, but most of the steps are the same. Some are important for your installation, such as "do NOT select extend the range of my Airport..." and entering your network password correctly. Some steps, like plugging in the Airport, you probably already figured out
    Since your router is a Linksys product, after the Express is set up you will no longer be able to see it using Airport Utility. The reason is that you set up the Express using its wireless network (Apple Network xxxxxx), which is subsequently disabled after setup. Once you're done and you click Update you'll be using your Linksys wireless network. Airport Utility only recognizes Airport networks. You didn't create one with your Express nor do you want to given your desired setup. If you need to use Airport Utility to configure the Express again you'll need to perform a hard reset.
    If everything's right and you have checked iTunes Preferences > Devices "look for remote speakers connected with Airtunes" option you should see a new menu appear in the lower right of the iTunes window.
    If this doesn't work, try disabling your router's encryption temporarily to simplify things. Reset the Express and run Airport Utility without a password this time. You may also need to modify your Sharing > Firewall settings too.
    Hope it helps!
    Plug AirPort Express into a power outlet.
    On your computer, join the wireless network created by AirPort Express.
    Open AirPort Setup Assistant. Mac users: Find it in /Applications/Utilities/. Windows users: On the Start menu, point to All Programs and click AirPort.
    When you see the Introduction screen, click Continue.
    Select "Set up a new AirPort Base Station" and click Next.
    When the AirPort Setup Assistant confirms that it has found your AirPort Express, click Continue. (If >your AirPort Express wasn't found, click Try Again.)
    Select "Connect to my current wireless network."
    Be sure that "Extend the range of my AirPort wireless network" is not selected (this option is used >only for WDS).
    Click Next; AirPort Express Assistant will scan for your existing wireless network. Once it finds it, click Next again.
    Choose the correct network (there may only be one) from the Wireless Network Name menu. If the wireless network is password protected, you will be prompted to enter the password. Enter the password and then click Next to continue.
    Note: If you have difficulty with your password, you can get help with joining a third-party WEP-protected network.
    Enter the name of your AirPort Express.
    Tip: If you don't know the name, it's what appears in iTunes as the name of your AirTunes remote speakers.
    Click Next.
    Assign an administrator password for AirPort Express. This password can be different from any network password, and is used for just changing settings on AirPort Express.
    The Summary screen outlines the configuration options you've set. Optionally, you can click Show Passwords to review the administrator and network passwords. Finally, click Next to update AirPort Express with your settings.

  • Remote speakers on AirPort Express not found

    Remote speakers connected to an AirPort Express network can't be found by iTunes or Airfoil. The previously available drop down menu on iTunes and Airfoil are no longer present.
    Airport express is connected to fibre optic cable, MacBook is using Wifi to stream music from computer to remote speakers.
    The system was working fine until some recent Apple updates that auto installed via software update.
    Would welcome any help with this.
    Steven

    Found idea of unplugging airport express, closing Itunes, the replugging teh airport express and restart itunes. The speakers are showing once more.
    Thought others may find this useful.

  • Airport express not found (by macbook) after moving to the US

    Hi,
    I unplugged my perfectly working AX (v6.3) in Europe, moved to the States and now have connection problems (same Macbook Pro, same AX). ISP here is Comcast.
    Symptoms: The airoprt utility (AU) doesn't see the AX (whether cable modem is plugged or unplugged to AX). Reset or factory-reset of AX doesn't solve the problem. If I restart AX and then also the computer the AU sees the AX, but can't connect (connection timeout). After this first trial to connect the Macbook will not see the AX any more until I reboot the Macbook.
    I can connect the AX via ethernet and configure it using AU. I did not set a password (for test reasons), connection mode is 802.11b/g compatible, channel auto, security none.
    Also did a restart of the cable modem (unplugged for 10 min) like described elsewhere in the forum. No help. Anyway, if I am correct the AU should see the AX even without the modem connected to it, right? If I plug the modem to the AX and restart the modem, the LED on the AX will go green. Still it is not detected by the Macbook.
    Any ideas highly appreciated. Thanks!!!
    Message was edited by: Eppentorf
    Message was edited by: Eppentorf

    As Duane mentions, 5 GHz signals do not travel or penetrate well because the higher frequency signals in this band are absorbed by any obstructions much more quickly than 2.4 GHz signals.
    Although not exactly true, unless you have close to line-of-sight between your computer and the AirPort Express, you will probably have much better results using the 2.4 GHz signals which penetrate more effectively and work greater at longer distances.

  • W/ dsl isp airport express not found. fix?

    I just moved from a cable modem geography to a dsl geography.  I use Airport Extreme, Time Capsule and Airport Express.  I have a MacBook Pro.  My wife has a MacBook and an iPad2.  The Extreme binks yellow.  So do the Express and Time Capsule.  But the latter two aren't found by the Aitport utility.  I do have internet, despit the blinking extreme. Extreme is set in in DHCP.   How do I get back the Capsule and Express?

    Connect the capsule and express by ethernet to the computer you want to set them up with.
    If that doesn't work, my solution has then been to factory reset them.

  • Airport express not found by my mac

    I have plugged my airport express into my speakers, but my Mac can't find it on the wireless network

    Did you set the Express up originally or is this a new setup.
    You may have to reset the Express doing a Hard or Factory reset.
    http://support.apple.com/kb/HT3728

  • Airport express not found by airport utility

    I have set up plenty of Airport devices in my other house.  When I tried to add an AirPort Express to an AirPort Extreme, the AirPort Utility cannot find the Express nor will the Express light go green. Suggestions???

    Whoohoo! This finally worked for me!
    I had my AX set up in my old apartment and then moved to a new spot. I didn't use it for 6 months and decided to try and set it up this weekend only to see it do nothing but flash amber after I would follow all of the other directions to the letter. Several tries with Airport Utility got me nowhere.
    Here's what worked:
    - plug in stereo cable and ethernet cables to router. I actually used an old pair of headphones so i could test in different places.
    - Do a factory reset (hold reset, plug in, wait for 4 green flashes, release)
    - Use the Airport Admin Utility to set everything up. This includes router name, password, AX name, and all that. Nothing exotic. I'm using WPA2.
    - Let it update.
    - Poof! It works!
    - I then unplugged it and moved it to my living room and tried it again. The AX name comes up in iTunes and music comes through the cable.

  • Error 15401: Windows NT user or group not found. Check the name again

    when adding a windows login on SQL SERVER 2008 R2 below error is throwing
    Windows NT user or group 'domain\user' not found. Check the name again.
    I have gone through the link
    http://support.microsoft.com/kb/324321/en-us &
    http://support.microsoft.com/kb/2770837
    collation setting of the instance is not case sensitive.

    Hi DevXYZ,
    Have you checked the other possible reasons for this issue?
    The login does not exist
    Verify that the Windows login still exists in the domain. Your network administrator may have removed the Windows login for specific reasons, and you may not be able to grant that login access
    to the SQL Server.
    Verify that you are spelling the domain and login name correctly and that you are using the following format:
    Domain\User
    If the login exists, and it is correct, and you still receive the error, continue with the following sections in this article.
    Duplicate security identifiers
    In a Windows domain, unique Security Identifiers (SIDs) are automatically assigned to Windows logins in the domain. When you add a Windows login as a SQL Server login, the SID is stored in a system table in SQL Server. If you try to add a new login which has
    the same SID as an existing SQL Server login, the 15401 error occurs.
    Authentication failure
    You might receive error 15401 when the domain controller for the domain where the login resides (the same or a different domain) is not available for some reason. 
    If the login is in a different domain than the SQL Server, verify that the correct trusts exist between the domains.
    Verify that the domain controller of the login is accessible by using the
    ping command from the computer that is running SQL Server. Check both the IP address and the name of the domain controller.
    After you tried all the possible methods list above, you still receive the same error, please check the error log as Dean Savović mentioned above and share us the detailed error message here
    as we can analysis further.
    Thanks
    Candy Zhou

  • Copy Express Item Groups Transaction revenue Account not Found

    Currently using Copy Express.
    1.  Have successfully loaded COA
    2. Manually entered G/L account determinaition and tax codes
    3. Error below is occuring when trying to Copy Item Groups and Warehouses.  The items groups and Warehosues are failing.
    Transaction created by document was not found, 'Revenue account'.
    NOTE: the accounts determined for each item group in the source database all exist in the target database.
    Can any please assist in explaining why this is happening and how I could prevent this from occuring without having to mannually create warehosues and items?
    Thanks Very much
    Lisa

    Hi Lisa,
    I have a suggestion.
    The Revenue account in question may be problematic.                                                                               
    Can you try to change to another revenue account in your source db, and try to copy warehouse to target DB?                                                                               
    1.goto source db,and search for the specific warehouse and change the         
      revenue account to another account
    2.and copy warehouse to target db 
    Hope this will be helpful.
    Kind regards,
    Willy

  • "ORA-00979: not a GROUP BY expression" in Oracle11g R2 (11.2.0.3).

    Hi,
    We have a query which is working in 10g and giving error "ORA-00979: not a GROUP BY expression" in Oracle11g R2 (11.2.0.3). we have found following two solution to resolve it from the internet.
    1)You can Set the hidden parameter “_FIX_CONTROL”=’5520732:OFF’ in the pfile. This parameter disables a given bug number.
    2)We can set the parameter optimizer_features_enable to a previous version of Oracle, ’11.1.0.7′
    but I am unable to find the side effects of above change, so I need to know:
    1)whcih is batter solution
    2)what are the possible side effects of both solution.

    Hi Fran,
    Please find the below query.
    SELECT DECODE(TEMP.TENOR_IND, 'L', TEMP.SHORT_NAME, NULL) PRODUCT_NAME,
    TEMP.BA_PRODTYPE_ID,
    TEMP.TENOR,
    TEMP.PERIOD_TYPE,
    TEMP.PERIOD_VALUE,
    SUM(TEMP.LIMIT_BASE_AMOUNT),
    SUM(TEMP.PNDG_LIMIT_BASE_AMOUNT),
    SUM(TEMP.GROSS_EXP_BASE_AMOUNT),
    SUM(TEMP.NETT_EXP_BASE_AMOUNT),
    SUM(TEMP.COLLATERAL_BASE_AMOUNT),
    TEMP.TENOR_IND,
    MAX(TEMP.COB_DATE),
    TEMP.CRP_PRODUCT_GROUP
    FROM (SELECT /*+INDEX(LIM BUS_CB_LIMIT_INDX01) INDEX(btpd BUS_TP_PORTFOLIO_DTLS_INDX02)*/
    MCBPT.BA_PRODTYPE_ID,
    DECODE(LIM.TENOR_IND, 'L', MCBPT.SHORT_NAME, NULL),
    LIM.LIMIT_ID,
    LIM.LIMIT_TYPE_ID,
    LIM.LIMIT_STATUS,
    LIM.OWNER_ID,
    LIM.PERIOD_TYPE,
    LIM.PERIOD_VALUE,
    LIM.LIMIT_CURR,
    LIM.LIMIT_BASE_AMOUNT,
    LIM.GROSS_EXP_BASE_AMOUNT,
    DECODE(LIM.PERIOD_TYPE,
    5,
    'Inf',
    (TO_CHAR(LIM.PERIOD_VALUE) || '-' ||
    DECODE(LIM.PERIOD_TYPE, 4, 'Y', 3, 'M', 2, 'W', 1, 'D'))) TENOR,
    LIM.TENOR_SET_ID,
    LIM.PNDG_LIMIT_CURR,
    LIM.PNDG_LIMIT_BASE_AMOUNT,
    LIM.NETT_EXP_BASE_AMOUNT,
    LIM.COLLATERAL_BASE_AMOUNT,
    LIM.COB_DATE,
    LIM.TENOR_IND,
    MCBPT.CRP_PRODUCT_GROUP,
    MCBPT.SHORT_NAME
    FROM BUS_CB_LIMIT LIM,
    BUS_TP_PORTFOLIO_DETAILS BTPD,
    MST_CB_BA_PRODUCT_TYPE MCBPT
    WHERE BTPD.ORG_ID = 108503
    AND EXISTS
    (SELECT ORG_ID
    FROM BUS_CA_CORPORATE
    WHERE ORG_STAT IN (1, 2, 4, 7, 8, 9, 22, 24, 25)
    AND BTPD.BOOKING_ENTITY = ORG_ID
    START WITH ORG_ID = 894
    CONNECT BY PRIOR ORG_ID = PARENT_ORG_ID)
    AND NOT EXISTS
    (SELECT /*+INDEX(btpd1 BUS_TP_PORTFOLIO_DTLS_INDX02)*/
    btpd1.ba_prodtype_id
    FROM bus_tp_portfolio_details btpd1
    WHERE btpd1.org_id = 108503
    AND btpd1.booking_entity = 894
    AND BTPD.BA_PRODTYPE_ID = btpd1.ba_prodtype_id
    AND EXISTS
    (SELECT ba_prodtype_id
    FROM mst_cb_ba_product_type
    WHERE product_grp_id = 1
    AND btpd1.ba_prodtype_id = ba_prodtype_id))
    AND MCBPT.BA_PRODTYPE_ID = BTPD.BA_PRODTYPE_ID
    AND BTPD.CP_STATUS = 4
    AND LIM.OWNER_ID = BTPD.PORTFOLIO_ID
    AND LIM.OWNER_TYPE = 4
    AND LIM.LIMIT_TYPE_ID = 2) TEMP
    WHERE 1 = 1
    GROUP BY TEMP.BA_PRODTYPE_ID,
    TEMP.PERIOD_TYPE,
    TEMP.PERIOD_VALUE,
    TEMP.TENOR_IND,
    TEMP.SHORT_NAME,
    TEMP.CRP_PRODUCT_GROUP
    ORDER BY TEMP.BA_PRODTYPE_ID, TEMP.PERIOD_TYPE, TEMP.PERIOD_VALUE

  • NOT A GROUP BY EXPRESSION

    Good Evening,
    Maybe someone out there can help me out. I have been working on this rather long statement. Line 5 which has the to_char function is throwing an error and I don't know how to get around it. Without this line the query returns the desired results.
    Any suggestions would be appreciated.
    thanks for your help in advance.
    al
    The error message reads:
    to_char(logon_time, 'DD-MON-YY HH:MI:SS PM') LOGON_TIME,
    ERROR at line 5:
    ORA-00979: not a GROUP BY expression
    The statement is one I found in one of my manuals. I did not create this myself!
    select * from
    (select b.sid, decode(b.username, null, e.name, b.username) USER_NAME,
         d.spid OS_ID,
         b.machine MACHINE_NAME,
         --to_char(logon_time, ‘DD-MON-YY  HH:MI:SS PM’)  LOGON_TIME,
         (sum(decode(c.name, ‘physical reads’, c.statistic#, 0)) +
              sum(decode(c.name, ‘physical writes’, c.statistic#, 0)) +
              sum(decode(c.name, ‘physical writes direct’, c.statistic#, 0)) +
              sum(decode(c.name, ‘physical writes direct (lob)’, c.statistic#, 0)) +
              sum(decode(c.name, ‘physical reads direct (lob)’, c.statistic#, 0)) +
         sum(decode(c.name, ‘physical reads direct’, c.statistic#, 0))) total_physical_io,
         (sum(decode(c.NAME, ‘db block gets’, c.statistic#, 0)) +
    sum(decode(c.NAME, ‘db block changes’, c.statistic#, 0)) +
    sum(decode(c.NAME, ‘consistent changes’, c.statistic#, 0)) +
    sum(decode(c.NAME ,‘consistent gets’, c.statistic# ,0)) ) total_logical_io,
         (sum(decode(c.NAME, ‘session pga memory’, c.statistic#, 0)) +
    sum(decode(c.NAME, ‘session uga memory’, c.statistic# , 0)) ) total_memory_usage,
    sum(decode(c.NAME, ‘parse count (total)‘, c.statistic#, 0)) parses,
    sum(decode(c.NAME, ‘CPU used by this session‘,c.statistic#, 0)) total_cpu,
    sum(decode(c.NAME, ‘parse time cpu‘,c.statistic# , 0)) parse_cpu,
    sum(decode(c.NAME, ‘recursive cpu usage‘,c.statistic#, 0)) recursive_cpu ,
              sum(decode(c.NAME, ‘CPU used by this session‘, c.statistic# , 0)) –
    sum(decode(c.NAME, ‘parse time cpu‘, c.statistic#, 0)) –
    sum(decode(c.NAME, ‘recursive cpu usage‘, c.statistic# , 0)) other_cpu,
    sum(decode(c.NAME, ‘sorts (disk)‘, c.statistic#, 0)) disk_sorts,
    sum(decode(c.NAME, ‘sorts (memory)‘, c.statistic#, 0)) memory_sorts,
    sum(decode(c.NAME, ‘sorts (rows)‘, c.statistic#, 0)) rows_sorted,
    sum(decode(c.NAME, ‘user commits‘, c.statistic# , 0)) commits,
    sum(decode(c.NAME, ‘user rollbacks‘,c.statistic# , 0)) rollbacks,
    sum(decode(c.NAME, ‘execute count‘, c.statistic#, 0)) executions
    from v_$session b, v_$process d, v_$bgprocess e, v_$statname c, v_$sesstat a
    where a.STATISTIC# = c.STATISTIC# and
    b.SID = a.SID AND
    d.addr = b.paddr and
    e.paddr (+) = b.paddr and
    c.NAME in (‘physical reads’,
              ‘physical writes’,
              ‘physical writes direct’,
              ‘physical reads direct’,
              ‘physical writes direct (lob)’,
              ‘physical reads direct (log)’,
              ‘db block gets’,
              ‘db block changes’,
              ‘consistent changes’,
              ‘consistent gets’,
              ‘session pga memory’,
              ‘sessionuga memory’,
              ‘parse count (total)’,
              ‘CPU used by this session’,
              ‘parse time cpu’,
              ‘recursive cpu usage’,
              ‘sorts (disk)’,
              ‘sorts (memory)’,
              ‘sorts (rows)’,
              ‘user commits’,
              ‘user rollbacks’,
              ‘execute count’
    GROUP BY b.SID,
              D.SPID,
              DECODE (b.USERNAME, NULL, e.name, b.username), b.machine,
              to_char(logon_time, ‘DD-MON-YY HH:MI:SS PM’)
    ORDER BY 6 DESC)
    WHERE rownum <21;

    Try changing your GROUP BY from:
    GROUP BY b.SID,D.SPID,DECODE (b.USERNAME, NULL, e.name, b.username), b.machine,to_char(logon_time, ‘DD-MON-YY HH:MI:SS PM’)to:
    GROUP BY b.SID,D.SPID,DECODE (b.USERNAME, NULL, e.name, b.username), b.machine,logon_time

  • Impact of solution of ORA-00979: not a GROUP BY expression in Oracle11g R2

    Hi,
    We have a query which is working in 10g and giving error "ORA-00979: not a GROUP BY expression" in Oracle11g R2 (11.2.0.3). we have found following two solution to resolve it from the internet.
    1)You can Set the hidden parameter “_FIX_CONTROL”=’5520732:OFF’ in the pfile. This parameter disables a given bug number.
    2)We can set the parameter optimizer_features_enable to a previous version of Oracle, ’11.1.0.7′
    but I am unable to find the side effects of above change, so I need to know:
    1)whcih is batter solution
    2)what are the possible side effects of both solution.

    Hi,
    1: The fix for the fix of bug 5520732 is already solved in 11.2, so this won't help
    2: This can cause performance, suboptimal plans and losing lot of features from 11.2
    The third option is always the best in this case, rewrite the query. There is an error in the SQL, so fix that one. It is just one query, so it wouldn't be to hard. The group by items are possibly out of sync with the select items.
    Herald ten Dam
    http://htendam.wordpress.com

Maybe you are looking for

  • How do I prevent a website like Drudgereport from automatically reloading?

    ''Duplicate post, continue here - [https://support.mozilla.com/en-US/questions/806866]'' Sometimes my wifi connection is choppy (darn that microwave popcorn!) and I hate it when I'm in the middle of reading the links in Drudge and it reloads....somet

  • Isight problems in Leopard photo booth

    Has anybody had problems with the background replacement effect in the new photo booth. When I replace the background and enter the shot again, my face is broken up and missing pieces. I am not sure if there is a problem with my isight or if its a so

  • Programming in other languages?

    Are programming languages available in any other language aside from English or are terms such as public/private/double/abstract etc etc used in every country?

  • Using Laptop to time sprints and running events

    I would like to use a computer to assist in timing and keeping track of 15 soccer players that I coach. The timing accuracy need only by one tenth of a second. I'm not looking for anything fancy, just a simple method for the kids to time themselves a

  • Trouble uploading RAW files in PE6

    My Elements6 has taken to not recognising RAW files when I try and upload from my Canon and I can't trace why the change has occurred. I have other RAW files on the computer which the software will open for me, but it won't accept new ones. Any sugge