Understanding how to solve an SQL error
If any one has an idea of how to solve an error like this,kindly tell me what to do.Please.
Msg 8120, Level 16, State 1, Line 1
Column 'Members.Memb_contact' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause.
If any one has an idea of how to solve an error like this,kindly tell me what to do.Please.
Msg 8120, Level 16, State 1, Line 1
Column 'Members.Memb_contact' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause.
Using the given info only thing we can suggest is to add Members.Memb_contact to the GROUP BY clause. But that may not give you the desired result. So unless you give us some sample data and explain what you want as output we may not be able to give you
the best solution.
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs
Similar Messages
-
How to solve Oracle SQL Developer connection problem ?
Folks,
Hello. I am using Oracle Database 11gR1. The Database Control Console https://localhost.localdomain:1158/em works correctly. I can create a Database and a table successfully.
My OS is Linux and connects to internet successfully.
In order to run SQL statements. we need to use Oracle SQL Developer. I connect Oracle SQL Developer in the following way:
Connection Name: DB1 (this is my database name as well)
Username: SYS (this is the user name I used to login to the Console)
Password: SYS (this the password used to login to the Console)
Connection Type: Basic
Host Name: localhost
Port: 1158
SID: DB1 (this is created during installing the Database)
But the error message comes up: "Status: Failure - IO exception Connection Reset."
Can any folk tell me how to solve Oracle SQL Developer connection problem ?user8860348 wrote:
Folks,
Hello. I am using Oracle Database 11gR1. The Database Control Console https://localhost.localdomain:1158/em works correctly. I can create a Database and a table successfully.
My OS is Linux and connects to internet successfully.
In order to run SQL statements. we need to use Oracle SQL Developer. I connect Oracle SQL Developer in the following way:
Connection Name: DB1 (this is my database name as well)
Username: SYS (this is the user name I used to login to the Console)
Password: SYS (this the password used to login to the Console)
Connection Type: Basic
Host Name: localhost
Port: 1158
SID: DB1 (this is created during installing the Database)
But the error message comes up: "Status: Failure - IO exception Connection Reset."
Can any folk tell me how to solve Oracle SQL Developer connection problem ?username: sys
password: enter_your_correct_password given at the time of oracle installation
role: select sysdba if you would connect as sysdba else select normal for users other than sys
hostname: enter your oracle server hostname or ip address eg:- 192.168.11.12
to find the hostname open terminal/command prompt in oracle installed machine
type ---> hostname
type ---->ping hostname
you can find the ipaddress of the server
port number: 1521 (default) ----> i guess , else check the port number in the tnsnames.ora file under your ORACLE_HOME/network/admin folder
SID: DB1
try it
Good Luck -
HOW TO SOLVE THE R6034 ERROR IN ITUNES INSTALATION
I need toknow how to solve the R6034 error in itunes instalation becouse y can´t buk up muy phone
How to solve this ?
#import <UIKit/UIKit.h>
int main(int argc, char *argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
-> int retVal = UIApplicationMain(argc, argv, nil, nil);
[pool release];
return retVal; -
I have a brand new PC that is MORE than adequate. I have once succeeded in burning a CD after learning all about time tracks and merging them. (made a few with only ONE track)
Two things:
1) I find that I must add a CD marker at the end of the WAV because Audition CS6 erases whatever is the last CD marker I've made. Very frustrating but now I know I have to do this but I have no idea WHY!!
2) Right now I have a WAV that is just over 1 hour and 3 minutes with a total of 637.74MB of info. When I try to export/burn a CD, I get an error message stating "The amount of audio to burn will not fit.......". I am using TDK 700MB blanks with a Pioneer Blu-ray burner.
Obviously it will fit.
What am I doing wrong, all of a sudden?Hey ryclark,
Thanks for responding. Something else is going on here.....
Here's what I re-replied to our friend...
Thanks for the response.
When I built this computer last Nov/Dec, it was built with the second
fastest Intel 7i, quad-core chipset on an 64-bit ASUS motherboard. It's running
Win 7 Pro. It has a 500GB SSD "C" drive with another 14 TB of true hard
drive space. It is set up with 64 bit. I had been using Audition CS3 for many
years and even go back to it's origin: Cool Edit and Cool Edit Pro. My
learning curve was minimal, sans the CD burning, which I used other software
for which is now antiquated, so I need Audition for this. Between this and
IZotope 3 I've repaired and improved many a recording. All-in-all extremely
useful software.
As for the idea "to burn it anyway", well the error message comes up and
that's it - if I "X" out of that message and try to burn again the message
comes back - so Audition will not let me. It is convinced that this file is
longer than it really is, but only when I add track marks to it!
There are only 11 tracks.
I was able to burn a CD of this same file but without all the track marks,
so the same exact file length/size will burn, only as the one track.
I've also succeeded in burning other WAV's , both greater and smaller, with
and without multiple track marks, without issue. Of course all with less
than the CD's max. capacity.
This problem seems to be with this one file. I've even re-made/re-recorded
the file from scratch with no change. There's something else going on here
that I can't put my finger on. (I am "recording" LP's and making personal
CDs of them)
Also, only from time to time, I have another error after burning a CD that
states it could not verify the CD. For this I assume it is the blank rather
than AA? The first might burn without issue and with the second burn I
get the error. It is near the end of a stack of blanks, so.....
As for the need to "mark the end" of the file makes a lot of sense but of
all the other CD track-marking software I've used, none needed one to do
this, but this IS Adobe after all.
You'd think there might be a smidge of intuitiveness with Adobe, but maybe
not.
- Mark
In a message dated 8/2/2014 8:11:52 A.M. Eastern Daylight Time,
[email protected] writes:
How to solve Audition CS6 error "The amount of audio to burn will not fit
on the CD........."?
created by ryclark (https://forums.adobe.com/people/ryclark) in
Audition CS5.5, CS6 & CC - View the full discussion
(https://forums.adobe.com/message/6605916#6605916) -
HT201405 how to solve time machine error-1
how to solve time machine error-1
I checked the pondini fixes and ended up doing the following - in case this could help someone else with OSX Lion and Time Capsule... http://pondini.org/TM/Troubleshooting.html
First, I downloaded and used Airport Utility 5.6 instead of 6.1 - BTW, I had to attempt download and installation THREE times before the program actually installed. Be persistant.
Pondini #5: It's possible some names (of all things!) may be a problem. See item C9. I had to re-name my Mac, Time Capsule, network, etc... to remove all apostrophes and spaces.
Pondini #7: If you have WD SmartWare installed on Lion, it's not compatible, per RoaringApps, and there are reports it can cause this problem as well. Use Western Digital's uninstaller, or delete the app from /Applications and the files com.wdc.WDDMservice.plist and com.wdc.WDSmartWareServer.plist from /Library/LaunchDaemons. There may also be a file in Library/Application Support.
I then had to shut down computer, unplug Time Capsule, unplug modem; plug everything in again, then reboot computer; then had to go to Apple- System Preferences- Network- and reselect my Time Capsule to connect to WiFi again.
Then opened Time Machine preferences again and attempted back up - it worked! -
how to solve the warning and severe error....................
[oracle@ip-********* Oracle11g_R2]$ emca -deconfig dbcontrol db -repos drop
STARTED EMCA at Mar 29, 2012 10:20:41 PM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: testdb11g3
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: y
Mar 29, 2012 10:22:13 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u02/oracle/Oracle11g_R2/cfgtoollogs/emca/testdb11g3/emca_2012_03_29_22_20_40.log.
Mar 29, 2012 10:22:13 PM oracle.sysman.emcp.EMDBPreConfig performDeconfiguration
WARNING: EM is not configured for this database. No EM-specific actions can be performed.
Mar 29, 2012 10:22:13 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM
Configuration Assistant again .
Refer to the log file at /u02/oracle/Oracle11g_R2/cfgtoollogs/emca/testdb11g3/emca_2012_03_29_22_20_40.log for more details.
Could not complete the configuration. Refer to the log file at
/u02/oracle/Oracle11g_R2/cfgtoollogs/emca/testdb11g3/emca_2012_03_29_22_20_40.log for more details.
[oracle@ip-******* Oracle11g_R2]$ cdtried but getting the same error.............
[oracle@ip-10-68-199-69 oracle]$ lsnrctl start
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 29-MAR-2012 23:37:21
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Starting /u02/oracle/Oracle11g_R2/product/11.2.0/dbhome_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.1.0 - Production
System parameter file is /u02/oracle/Oracle11g_R2/product/11.2.0/dbhome_1/network/admin/listener.ora
Log messages written to /u02/oracle/Oracle11g_R2/diag/tnslsnr/ip-10-68-199-69/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 29-MAR-2012 23:37:21
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u02/oracle/Oracle11g_R2/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /u02/oracle/Oracle11g_R2/diag/tnslsnr/ip-10-68-199-69/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
The listener supports no services
The command completed successfully
[oracle@ip-10-68-199-69 oracle]$ sqlplus
SQL*Plus: Release 11.2.0.1.0 Production on Thu Mar 29 23:37:34 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter user-name: sys/Ashwin
ERROR:
ORA-28009: connection as SYS should be as SYSDBA or SYSOPER
Enter user-name: sys/Ashwin as sysdba
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> startup
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> shutdown abort
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 1603411968 bytes
Fixed Size 2213776 bytes
Variable Size 402655344 bytes
Database Buffers 1191182336 bytes
Redo Buffers 7360512 bytes
Database mounted.
Database opened.
SQL> exit
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@ip-10-68-199-69 oracle]$ emca -deconfig dbcontrol db -repos drop
STARTED EMCA at Mar 29, 2012 11:55:28 PM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: testdb11g3
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: y
Mar 29, 2012 11:55:57 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u02/oracle/Oracle11g_R2/cfgtoollogs/emca/testdb11g3/emca_2012_03_29_23_55_27.log.
Mar 29, 2012 11:55:57 PM oracle.sysman.emcp.EMDBPreConfig performDeconfiguration
WARNING: EM is not configured for this database. No EM-specific actions can be performed.
Mar 29, 2012 11:55:57 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM Configuration Assistant again .
Refer to the log file at /u02/oracle/Oracle11g_R2/cfgtoollogs/emca/testdb11g3/emca_2012_03_29_23_55_27.log for more details.
Could not complete the configuration. Refer to the log file at /u02/oracle/Oracle11g_R2/cfgtoollogs/emca/testdb11g3/emca_2012_03_29_23_55_27.log for more details. -
How to solve mutating table error?
I compiled the trigger below successfully:
CREATE OR REPLACE TRIGGER avail_products
BEFORE INSERT ON orders_tbl
FOR EACH ROW
DECLARE
m_prodqty products_tbl.prod_qty%TYPE;
m_ordered orders_tbl.ord_qty%TYPE;
m_prodid orders_tbl.prod_id%TYPE;
BEGIN
SELECT p.prod_qty, o.ord_qty, o.prod_id
INTO m_prodqty, m_ordered, m_prodid
FROM products_tbl p, orders_tbl o
WHERE ord_num=:NEW.ord_num;
IF m_prodqty>=m_ordered THEN
UPDATE products_tbl
SET prod_qty=prod_qty-m_ordered
WHERE prod_id=m_prodid;
ELSE
RAISE_APPLICATION_ERROR(-20101,'Product is not available');
END IF;
END;
However, when I run my PL/SQL block as follows:
DECLARE
v_max NUMBER;
BEGIN
SELECT MAX(ord_num)+1
INTO v_max
FROM orders_tbl;
INSERT INTO orders_tbl(ord_num, cust_id, prod_id, ord_qty, ord_date, dvy_date, refund)
VALUES (v_max, &cust_id, &prod_id, &ord_qty, '&ord_date', '&dvy_date',0);
COMMIT;
END;
UPDATE orders_tbl
SET refund=0.1*(SELECT price FROM products_tbl WHERE prod_id=(SELECT prod_id FROM orders_tbl WHERE ord_num=(SELECT MAX(ord_num) FROM orders_tbl)))
WHERE ord_num = (SELECT MAX(ord_num) FROM orders_tbl) AND dvy_date>ord_date+3;
COMMIT;
It gives me these errors:
ERROR at line 1:
ORA-01403: no data found
ORA-01403: no data found
ORA-06512: at "SYSTEM.AVAIL_PRODUCTS", line 9
ORA-04088: error during execution of trigger 'SYSTEM.AVAIL_PRODUCTS'
ORA-06512: at line 10
I try to debug it again and again but still can't find the mistake. So I change the trigger option to AFTER INSERT, then I got the error message that the table is mutating and trigger migh not see it. Anyone know how to solve this problem?
ERROR at line 2:
ORA-04091: table SYSTEM.ORDERS_TBL is mutating, trigger/function may not see it
ORA-06512: at "SYSTEM.AVAIL_PRODUCTS", line 13
ORA-04088: error during execution of trigger 'SYSTEM.AVAIL_PRODUCTS'
nullThis extract from an earlier post might be of help:
You can solve this problem by using following thing
1)create a view on same table with all fields
and write trigger on table (insert,update or delete ) while inserting or updating or deleting row from table read from view.
(Mutating error come when you are reading from one table and want to update,insert or delete row of same table).
2)create a temporary table(but it is possible in 8i onword only) same as table on which you want to write trigger,while updating,inserting or deleting rows of table read from temporary table and after your work is over temporary table auotomatically drop (see proper command in oracle documentation to create temporary table).
null -
How to solve the ASInstance error
hello everyone,
when i install the BIEE11g, I always met a same mistake, that is 'ASInstance install error'. then I lookup the log file, it writes 'ASInstance error, Error in starting opmn server. operation aborted because of a system call failure or internal error'. could you tell me how to solve it?
if i choose to skip the error and continue to install, i could not to visit the http://localhost:7001/analytics and could not succee to run startall command in opmn.
notes: my os is win xp sp3 and database vision is 11.2.0.1.0 and rcu is 1.1.5.0
thank you very much.
regards,
phoenyhello everyone,
when i install the BIEE11g, I always met a same mistake, that is 'ASInstance install error'. then I lookup the log file, it writes 'ASInstance error, Error in starting opmn server. operation aborted because of a system call failure or internal error'. could you tell me how to solve it?
if i choose to skip the error and continue to install, i could not to visit the http://localhost:7001/analytics and could not succee to run startall command in opmn.
notes: my os is win xp sp3 and database vision is 11.2.0.1.0 and rcu is 1.1.5.0
thank you very much.
regards,
phoeny -
Hi,
How to catch or solve the 404 error in application.
Some time we are giving some file name but that file is not avialable at that time it will give 404 error. how to avoid this error.
If 404 error comes i want call some other file. Is it posible.
Thanks Advance.Yes, this is because IE 5.5 (?) and higher have this wacky "Show friendly HTTP error messages" setting. You can disable this by going to tools -> internet options -> advanced and unchecking "Show friendly HTTP error messages". However as the default IE setting has "Show friendly HTTP error messages" enabled this isn't a good solution.
I believe that if your error page is less than a certain size (in bytes) then IE defaults to it's own error page when "Show friendly HTTP error messages" are enabled. This size is something like 512 bytes or fewer in length.
So basically try making your error page larger (more than 512 bytes in size) and see if that works. -
if an sql statement is coded
how to check whether the sql has executed without errors
exception is one thing
is there any other way or means for this
if so, can any one help in this regardFor Checking the SQL error you can trap the error number and error message and log into any table by following way
CREATE OR REPLACE PROCEDURE FOR_ERROR_LOG as
v_err_num NUMBER (20) := 0;
v_err_msg VARCHAR2 (100) := NULL;
BEGIN
SQL statements like select, insert, update.
EXCEPTION
WHEN OTHERS THEN
v_err_num := SQLCODE;
v_err_msg := SUBSTR (SQLERRM, 1, 100);
INSERT INTO error_table VALUES ('FOR_ERROR_LOG',NULL, v_err_num, v_err_msg, SYSDATE);
COMMIT;
END ;
/ -
SOS:How to solve "internal fatal error:load.cpp line6345"?
hello,everybody. now i meet with a sharp problem in labview. when i try to save a .vi file in labview, sometimes an error information will happen which is "internal fatal error:"load.cpp", line6345". i have tried almost every way to solve this problem but falied at last.
Can you tell me how to solve this problem? thank u all!beryllan;
Let us know which version of LabVIEW you are using. After a quick search in here at the Discussion Forums, I found that problems with load.cpp were common in LabVIEW 6, (with special mentions to the Student Edition). If that's your case, try updating LabVIEW here.
Regards
Enrique
www.vartortech.com -
TS3297 How to solve -42110 unknown error?
Please, how can I solve -42110 unknown error?
ThanksTry the following user tip:
iTunes for Windows 11.0.2.25 and 11.0.2.26: "Unknown error -42110" messages when launching iTunes -
How to solve this internal error in exporting?
Each time I export photos to my hard drive, there's always an error message displayed at the end of exporting shows:
Does anyone know how to solve this problem? It troubled me for a long time...
Any reply would be highly appreciated!Thanks Dorin and jjm01403!
I have checked the post-export field and it was blank indeed. The problem no longer occures after I choose the "Do Nothing" option.
Thanks again for your help! -
How to solve? RangeError: Error #1506: The specified range is invalid.
I complie a c library with alchemy, there are some errors in a function, and the flash traces:
"RangeError: Error #1506: The specified range is invalid."
I have set the CLibInit as global, only call the init() function ONCE as other said, but it didn't work.
I think that maybe the reason is out of heap/stack memory in some c functions???
or..??
Help me !!!
How to solve it...!!!
Thank youThis error is result of accessing an invalid memory pointer. You have likely corrupted alchemy, or are accessing an uninitialized or null pointer.
I'm not sure if this also happens in the case of a link problem. The linker does not complain if methods are missing. But, I thought that was a different error. -
Anyone figure out how to solve the 1015 error
anyone figure out how to solve the 1015 error
Each version of Photoshop has its own installation path therefore a different application as fars as Wacom Configuration. You would need to set preferences for each Photoshop installed on your system. However if you know XML. Wacom Tablet Preference File Utility can save your Wacom preferences into an XML file. That you may be able to duplicate a Photoshop install and the change the Photoshop Path. Or just change the prion version pathe the the new Photoshop path then restore your Wacom Preferences using the modified XML preference file.
Here you see part of my wacom preferences I have set preferences for all Photoshop installed on my workstation.
Maybe you are looking for
-
Has anyone found a good app for recording iPad screen activity to video?
-
Photoshop CS5.1 - Can't save or open file
This is an issue that randomly pops up and has been popping up for a while now (also in CS4 and CS5). Basically I will be working in Photoshop and all of a sudden I cant save the file anymore. It opens up the dialog (if i do a "save as") but after a
-
How do I stop error message -411 on Mac (10.7.5) boot-up every time?
How do I stop message "InDesign Features could not be installed as it requires a compatible CC app (error -411)" on Mac (10.7.5) on every boot-up? I do not have InDesign CC but do have Photoshop CC.
-
Windows Store doesn't let me upgrade to 8.1, says I am not administrator
Hello, I am trying to upgrade my Windows 8 to Windows 8.1 with Windows Store. But Store refuses to let me download, saying I do not have administrator rights. I am with an administrator account and a ms account login. But it still doesn't let me. I p
-
How could i use mac look & feel in windows?
as it's restricted by licenses issues and no specific lib available anybody knows? thx max