Not a group by column error message - cursor sharing
Hi,
Our database is Oracle 11g.
We faced problems about some sql's. These sql's were running in Oracle 10g.
Our sql statements are like the below query:
SELECT COLUMN_A,COLUMN_B,COLUMN_C,
TO_CHAR(OPERATION_DATE,'DD/MM/YYYYY'), CUSTOMER_NAME || '-' || CUSTOMER_SURNAME,
DECODE (IS_MANAGER, 0, ' Manager', 'Employee')
SUM(TOTAL), SUM(AMOUNT), AVG(SALARY),
FROM TABLES
GROUP BY COLUMN_A,COLUMN_B,COLUMN_C,
TO_CHAR(OPERATION_DATE,'DD/MM/YYYYY'), CUSTOMER_NAME || '-' || CUSTOMER_SURNAME,
DECODE (IS_MANAGER, 0, ' Manager', 'Employee')
ORDER BY COLUMN_A,COLUMN_B,COLUMN_C,
TO_CHAR(OPERATION_DATE,'DD/MM/YYYYY'), CUSTOMER_NAME || '-' || CUSTOMER_SURNAME,
DECODE (IS_MANAGER, 0, ' Manager', 'Employee')
When we remove order by or when we disabled cursor sharing, problem is fixed.
I think that sql looks correct. Why we are taking not a group by column error message?
How can we fix this problem without changing querys( we have other reports which gives same error message) or disabling cursor sharing?
Thank you, Bye
Dear,
SELECT column_a
,column_b
,column_c
,TO_CHAR (operation_date, 'DD/MM/YYYYY')
,customer_name || '-' || customer_surname
,DECODE (is_manager, 0, ' Manager', 'Employee')
,SUM (total)
,SUM (amount)
,AVG (salary)
FROM TABLES
GROUP BY column_a,
column_b,
column_c,
TO_CHAR (operation_date, 'DD/MM/YYYYY'),
customer_name || '-' || customer_surname,
DECODE (is_manager, 0, ' Manager', 'Employee')
ORDER BY column_a,
column_b,
column_c,
TO_CHAR (operation_date, 'DD/MM/YYYYY'),
customer_name || '-' || customer_surname,
DECODE (is_manager, 0, ' Manager', 'Employee')Here you are grouping by
DECODE (is_manager, 0, ' Manager', 'Employee')What does represent the is_manager? it is a function ? it might be that you hit one of the group by restriction such as select are not allowed into the group by clause
Best regards
Mohamed Houri
Similar Messages
-
After upgrading to 27, firefox will not start. Saw an error message during the upgrade process but cannot remember.
Tried to run firefox.exe -P but receive error message:
XML Parsing error: undefined entity
Location: chrome://mozapps/content/profile/profileSelection.xul
Line number 18, Column 1:
<dialog
^
Running on Windows XP SP3. No problem whatsoever before upgrading to 27. Sending this from Chrome as I cannot open Firefox at all.Thanks jschaer2000: after starting it once in safe mode, I closed Mozilla and tried several restarts in normal mode. So far, all worked:-)
Thank you very much again.
Still the automatic update process bothers me: it took me several days to discover the reason to the malfunction, since when I removed the problematic version from Add and Remove Programs, I didn't pay attention at first that it was another version, not v26 which I installed from my folder.
In addition, I like to save the installation files before I run new programs and if I didn't have v26 exe file, I couldn't have operated Mozilla at all. Not that it was fun to remove and install again each time v27 didn't react, but it was better than nothing, I still prefer Mozilla over its competition. -
Help. Photoshop Elements 10 will not open. I get Error message that says "Runtime Error!" and closes. What do I do? What does it mean? I bought Elements 10 at a retail store. It did work for a while.
Hi,
Can you post back with the following.
1. The full Model No. and Product No. of the notebook ( from the service tag underneath your notebook ) - see Here for a further explanation.
2. The full version of the operating system you are using ( ie Windows 7 32bit ).
Regards,
DP-K
****Click the White thumb to say thanks****
****Please mark Accept As Solution if it solves your problem****
****I don't work for HP****
Microsoft MVP - Windows Experience -
My ipod touch (model A1213) is not syncing properly. I have updated the software to the latest (2.2.1) and have even resored it. Itunes says it is working and updated but will not sync and apps. Error message says that app will not sync because a newer version needed.
2.2.1 is not the latest available for any ipod touch.
Is yours the original ipod touch?
If so then:
Purchasing iOS 3.1 Software Update for iPod touch (1st generation) -
Creative Cloud will not download. I get error message 302 immediately.
Creative Cloud (Photographers version) will not download. I get error message 302 right away.
Hi,
Please refer to the thread below:
install error on Mac "could not create ~/library/application support/adobe/coresync"
Regards,
Sheena -
I am using a 4s with ios 7.1.2 and recently any app I am trying to use or load will not work and I get error message the app is not compatible with my iPhone; however, the requirements in every case indicate they are compatible with 4s and ios 6 and greater. Honestly, seems like I have one problem after the other with the iPhone
Thanks, unfortunately that is another problem that is occurring, when I go to Update Software I get the message that software is up to date, with version being 7.1.2, I have tried to update through itunes, wifi, etc, and it indicates the software is up to date.
-
i have ipod classic 5gen it will not sync with windows the error message says ipod can not sync as required file missing wht to do???
Although you used the new USB 3.0 port, the actual connection speed is still USB2.0, as the iPod Dock connector, does not have the 10 times faster USB3.0 signal pins, the connection speed is still 480Mbits/s
I assumed that you have tried the other USB 2.0 port to no success..
Can you do the iPod Disk diagnostic as posted earlier by tt2, it wont fix your problem, but helps in troubleshooting.
Have a nice day! -
How do I setup permission to transfer files to the MacMini Server. I thought I had it setup to do such but apparently not as I get an error message that I don't have permission?
Both the Mac and Windows units we are usinghave connectivity to the MacMiniServer (on the same network) to open and edit files but cannot transfer new files to the MacMini. FileSharing is on. I went to File Sharing on the MacMini and added the appropriate users and checked FileSharing. Is there something else I needed to do?
-
I have logic pro, soundtrack pro will not open i get an error message what do i do? i cant find the receipts ive checked my library am i looking in the wrong place?
I get the same kind of thing..
I'm on osx 10.7.2 and once I click the soundtrack pro icon I get an error message. I had problems with logic pro & my digi002r soundcard midi drivers but now is fixed (using a midi adapter).
here is the code:
Process: Soundtrack Pro [1705]
Path: /Applications/Soundtrack Pro.app/Contents/MacOS/Soundtrack Pro
Identifier: com.apple.soundtrackpro
Version: 3.0.1 (960)
Build Info: SoundtrackProProject-9600000~277
Code Type: X86 (Native)
Parent Process: launchd [140]
Date/Time: 2011-10-18 13:12:05.201 +0200
OS Version: Mac OS X 10.7.2 (11C74)
Report Version: 9
Interval Since Last Report: 195725 sec
Crashes Since Last Report: 3
Per-App Crashes Since Last Report: 2
Anonymous UUID: 23728D81-590B-4C3A-8C67-1709945CD132
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: /Library/Application Support/ProApps/*/ProFX.framework/Versions/A/ProFX
Referenced from: /Applications/Soundtrack Pro.app/Contents/MacOS/Soundtrack Pro
Reason: image not found
Binary Images:
0x1000 - 0x7f7ff8 com.apple.soundtrackpro (3.0.1 - 960) <77CF322B-8BBE-AAEA-173F-75A237035319> /Applications/Soundtrack Pro.app/Contents/MacOS/Soundtrack Pro
0x947000 - 0x94bfe6 +STPInterleave (??? - ???) <E87D1F34-6D97-63DB-454C-CF3D1B03F8E5> /Applications/Soundtrack Pro.app/Contents/Frameworks/STPInterleave.framework/Versions/A/STPInterleave
0x952000 - 0x98ffff com.apple.vmutils (4.2.1 - 107) <43B3BFA5-8362-3EBD-B44B-32DCE9885082> /System/Library/PrivateFrameworks/vmutils.framework/Versions/A/vmutils
0x9a9000 - 0x9f5ffb com.apple.audio.midi.CoreMIDI (1.8 - 42) <CBD34EBC-0FFD-34B4-B55A-BE1F61EF4BD8> /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI
0xa18000 - 0xc3eff7 com.apple.prokit (7.1.1 - 1511) <498819A4-1BDD-3671-8796-E11865BCFBCE> /System/Library/PrivateFrameworks/ProKit.framework/Versions/A/ProKit
0xd49000 - 0xd49fff com.apple.iokit.dvcomponentglue (2.0.7 - 2.0.7) <1CFA5944-AB33-3A41-B4D2-4A624A514C0D> /System/Library/Frameworks/DVComponentGlue.framework/Versions/A/DVComponentGlue
0xd4d000 - 0xd54fff com.apple.AEProfiling (1.2 - 22) <43A46C32-8E13-82DD-8AF1-2A40690BF810> /Applications/Soundtrack Pro.app/Contents/Frameworks/AEProfiling.framework/Versions/A/AEProfiling
0xd5e000 - 0xd6dfff com.apple.AERegistration (1.2 - 77) <5D18C47F-6F9E-0C4C-8875-24A14A97186D> /Applications/Soundtrack Pro.app/Contents/Frameworks/AERegistration.framework/Versions/A/AERegistration
0xd81000 - 0xd83fff com.apple.ExceptionHandling (1.5 - 10) <6CA9446C-7EF9-35EE-BDF2-AA8D51E93E9E> /System/Library/Frameworks/ExceptionHandling.framework/Versions/A/ExceptionHand ling
0xd89000 - 0xe49fff com.apple.omf_framework (1.1.0 - 1.0) <ED5F21BC-18CD-D7F7-3D2E-F7F856BC0D40> /Applications/Soundtrack Pro.app/Contents/Frameworks/OMF.framework/Versions/A/OMF
0x11000000 - 0x1102afeb com.apple.proapps.ControlSurfaceSupport (2.0 - 68) <BD914236-49D8-9C9A-E8D6-CBC1738850B3> /Applications/Soundtrack Pro.app/Contents/Frameworks/ControlSurfaceSupport.framework/Versions/A/ControlS urfaceSupport
0x8fe88000 - 0x8feba9c7 dyld (195.5 - ???) <134323A7-49DC-3A9D-ACFD-32FAD0FD6BA2> /usr/lib/dyld
0x90840000 - 0x90992fff com.apple.audio.toolbox.AudioToolbox (1.7.1 - 1.7.1) <7646E131-08EE-3D72-ADA2-4A61C562B36E> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x90993000 - 0x90993ff2 com.apple.CoreServices (53 - 53) <7CB7AA95-D5A7-366A-BB8A-035AA9E582F8> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x91e60000 - 0x92036fe3 com.apple.CoreFoundation (6.7.1 - 635.15) <AC9F6462-6315-3D89-8075-D048DB4DBF7E> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x924a8000 - 0x92509ffb com.apple.audio.CoreAudio (4.0.1 - 4.0.1) <089D78E0-46A6-38DB-9545-7F35CC815939> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x93281000 - 0x9328ffff com.apple.opengl (1.7.5 - 1.7.5) <81166D23-DE8E-3938-AAD3-29B1FA5E446E> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x93331000 - 0x93331fff com.apple.vecLib (3.7 - vecLib 3.7) <8CCF99BF-A4B7-3C01-9219-B83D2AE5F82A> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x93332000 - 0x93493ffb com.apple.QuartzCore (1.7 - 270.0) <0916DA83-6400-3FEA-BC53-5F4BA4D126EC> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x94326000 - 0x9436dfff com.apple.SystemConfiguration (1.11.1 - 1.11) <CA6CE2B6-DC18-31FF-9668-70BB2FD8D7BB> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x94420000 - 0x946a5fe3 com.apple.QuickTime (7.7.1 - 2306) <F8C64DC4-3FE4-3A06-B10B-59E7F3BA6FDD> /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x97dd0000 - 0x98082ff7 com.apple.security (7.0 - 55010) <BE0350C5-5221-3BFF-B674-646AB1BA0F2E> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x99d12000 - 0x99d76fff com.apple.framework.IOKit (2.0 - ???) <D14460ED-2B6C-375D-B3A4-B8C82E922666> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x9adc8000 - 0x9adc8fff com.apple.audio.units.AudioUnit (1.7.1 - 1.7.1) <2E71E880-25D1-3210-8D26-21EC47ED810C> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x9aef1000 - 0x9aef1fff com.apple.Carbon (153 - 153) <6FF98F0F-2CDE-3888-A304-4ED447D24CE3> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x9b2ec000 - 0x9b2ecfff com.apple.Cocoa (6.6 - ???) <650273EF-1ABC-334E-B745-B75AF028F9F4> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
Model: iMac12,1, BootROM IM121.0047.B0A, 4 processors, Intel Core i5, 2.5 GHz, 4 GB, SMC 1.71f21
Graphics: AMD Radeon HD 6750M, AMD Radeon HD 6750M, PCIe, 512 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x02FE, 0x45424A3231554538424655302D444A2D4620
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x02FE, 0x45424A3231554538424655302D444A2D4620
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x9A), Atheros 9380: 4.0.58.4-P2P
Bluetooth: Version 4.0.1f4, 2 service, 18 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: WDC WD5000AAKS-402AA0, 500,11 GB
Serial ATA Device: HL-DT-STDVDRW GA32N
USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfa100000 / 3
USB Device: USB to Serial-ATA bridge, 0x04fc (SUNPLUS TECHNOLOGY CO., LTD.), 0x0c25, 0xfa120000 / 6
USB Device: iLok, 0x088e, 0x5036, 0xfa130000 / 5
USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0xfa111000 / 7
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x850b, 0xfa200000 / 2
USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfd100000 / 2
USB Device: UM-2G, 0x0582 (Roland Corporation), 0x0106, 0xfd140000 / 5
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 4
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0xfd110000 / 3
FireWire Device: Digi 002Rack, Digidesign, 400mbit_speed
thanks everyone
e -
Does not open.
Instead Microsoft error message "encounters a problem and needs to close".
I have already tried the uninstall & reinstall "solution".
What else can I do. I have a paid for document I would like to read.
Thanks.Hi ynotcookit
Please make sure that antivirus has been disabled...
Check the .net framework installed on the machine and update it, if required
Also, Let us know the exact OS that you're using?
Thanks,
Mandeep -
Hi
My i-pod touch is not getting sync and the error message is coming as "i-tunes couldn't connect to i-tunes store. An unknown error occurred (-3212).
I have updated the latest OS 6.0 in my i-pod touch.
Kindly send the solution
Regards
Deepak
<Email Edited By Host>Have you looked at the previous discussions listed on the right side of this page under the heading "More Like This"?
Also, you are not addressing Apple here. We are all just users like yourself. -
Item does not match schdule line ( program error ) message no . V1427
*Item does not match schdule line ( program error ) message no . V1427 .* This is the message I am getting when I am trying to display a quotation through VA23 . From here system exits the transaction .
As per my observation , when I compared VBAP and VBEP tables, there are 2 items in VBEP table with schedule lines but the same items are not present in VBAP table. User says he tried to delete these items because there is no quanity , Inspite of that these items appear in VBEP table .
The document is a reservation document where in schedule line category does TOR and availability check.
I checked various related notes - 442831 , 401463 , 389687 etc . These are quite old notes and I am in release ECC 5.0 .
What is the best way as this doc has nearly 30 items and nearly all of them have quanity confirmed .
Please provide your valuble inputs ...
Regards
Raghav..Nitin,
Below are the steps to check
Transaction SE18
Definition name: BADI_SD_SALES
Menu: Implementation -> Overview
double-click on implementation: IM_CORE_CHECK
Now you will get an overview on the methods.
check whether implementation IM_CORE_CHECK is active or not.
If not Press the change button and activate
looking at the your system pack level this should be active. If it is active then the inconsistency must be modified directly at database level through Z report.
Ramesh -
Getting "ORA-00979: not a GROUP BY expression" error in Inline query
Hello all,
The following query when run in SCOTT user gives "ORA-00979: not a GROUP BY expression" error.
If I remove the TRUNC function from the outer query's group by clause, then it fetches
(My actual query is something similar to the following query. I have given emp, dept tables for convenience's sake)
select e.empno,e.ename, AVG(e.SAL), trunc(e.hiredate),
(select sum(sal) from emp
where hiredate = e.hiredate) salary
from emp e
group by e.DEPTNO,e.EMPNO,e.ENAME, trunc(e.hiredate)
Pls suggest how this error can be avoided.
Regards,
SamWhy not this?
satyaki>
satyaki>select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
Elapsed: 00:00:00.02
satyaki>
satyaki>
satyaki>select e.empno,
2 e.ename,
3 AVG(e.SAL),
4 trunc(e.hiredate),
5 (
6 select sum(sal)
7 from emp
8 where hiredate = e.hiredate
9 ) salary
10 from emp e
11 group by e.DEPTNO,
12 e.EMPNO,
13 e.ENAME,
14 e.hiredate;
EMPNO ENAME AVG(E.SAL) TRUNC(E.H SALARY
7934 MILLER 1887.6 23-JAN-82 5583.6
7698 Glen 1848 23-JAN-82 5583.6
7788 SCOTT 598.95 19-APR-87 598.95
7900 JAMES 1379.4 03-DEC-81 6650.16
7521 WARD 226.88 22-FEB-81 226.88
7599 BILLY 4500 10-JUN-09 4500
2222 sp 1200 14-SEP-09 1200
7902 FORD 5270.76 03-DEC-81 6650.16
7566 Smith 1848 23-JAN-82 5583.6
7654 MARTIN 1815 28-SEP-81 1815
7839 KING 7260 17-NOV-81 7260
EMPNO ENAME AVG(E.SAL) TRUNC(E.H SALARY
7844 TURNER 2178 08-SEP-81 2178
7876 ADAMS 159.72 23-MAY-87 159.72
13 rows selected.
Elapsed: 00:00:00.03
satyaki>Regards.
Satyaki De. -
my iphone 3g is in reset mode and i tunes will not reset. it pops an error message with no code. how can i get i tunes to rest my phone?
No need to Double Post... It is considered impolite.
https://discussions.apple.com/message/20652820#20652820 -
Xcel documents that onced opened will not and i get an error message
Xcel documents that once opened will not and i get an error message "the file may be read only or you may be trying to access a read only application. Or, the server the document is stored on may not be responding"
Without at least knowing the version of MS Office you're using it may be a little difficult. One thing you can check are the permissions of the files, select a file in Finder then select Command I (that's I as in Ivan) and look at the permissions. If necessary change the permissions.
BTW if you need it there is a Office for Mac Product Forums you can post on too.
Maybe you are looking for
-
Internet connection lost using hughesnet modem and Airport in Time Capsule
I recently got Hughesnet which is the only available high speed internet at my home. The problem I'm having is that my wireless connectivity is lost to all devices requiring me to unplug and plug back in my Airport...at which time I have internet aga
-
Organizing photos into folders on iPad
Forgive me if this has been asked a lot. I looked and could not find it but is there A way to put photos together in folders on the iPad and not through iPhoto on your computer? I downloaded iPhoto and thought that I could do it on there. Sorry if t
-
I want to launch multiple scripts written in Java from command line
Hi, I have created a Master script file (script.java) which call functions available in other class files. (created through Java code). Now, let's say I have 10 functions(scripts) on master script file but I want random selection for executing these
-
SSRS null values, correct on excel
Dear All, I have a problem. i have a sales measure that should return amount values (Currency). I am applying a unit conversion in SSAS. The problem is that The sales Amount measure is returning correct figures in Excel, but it gives null values in
-
Ipad crashes multiple times a day
I've had my Ipad for about 2 years now but am experiencing problems in that it crashes multiple times a day. It often happens during playing games, but also with opening Safari, other apps or even acessing the App store. I downloaded a system monitor