Do I need a sub-query and getting ORA-00937 error

I'm writing a query where I want returned all data that is in a list 510 and all duplicate entries for the AID are eliminated.
select *
from entities e
where e.list_id in
(select aid
from entities e
where e.list_id = 510
having count(e.aid) > 1);
When I run this, I get ORA-00937: not a single-group group function.
I google the error and see
http://ora-00937.ora-code.com/
Which tells me I can't have a group function and individual column expression.
So I removed the group by, but I still get the errors, and for some reason when I put the alias e for the aid in the subquery, I still get the same error.
Hopefully this makes sense what I'm asking...
thanks

if you want to select rows that eliminate duplicates then you should be using distinct. And if you want to get the duplicate rows then,
select *
from entities e1
where e1.rowid <
(select max(e2.rowid)
from entities e2
where e2.list_id = 510
and e1.aid = e2.aid);

Similar Messages

  • Difference between sub-query and corelated subquery

    Hi,
    can anyone please give me the clear difference between sub-query and coreleated subquery with an example.
    I am very much confused with the both.
    Also please let me know in which cases/situation these are used.
    Thanks,

    Basically Sub Query is Query within Query. There are different type of SubQuery.
    1. Scalar Sub Query
    Query that is totally independent from the main query.
      select empno, (select count(*) from emp) total_emp
        from emphere the subquery is totally independent of the main query.
    2. Corelated Sub Query
    The sub query reffers to the main query.
      select empno, (select deptname from dept d where e.deptno = d.deptno) deptname
         from emp e3. Inline view
    A sub query that is used as a table or view in a SQL
    select *
      from (select empno, deptname
              from emp e, dept d
             where e.deptno = d.deptno)
    where sal > 100

  • Exit Code: 6 - I can' install Indesign and get the following error mssages.

    Exit Code: 6 - I can' install Indesign and get the following error mssages.
    It is part of Creative Suite 5.5 Premium
    I have uninstalled many times and re-installed - to no evail.
    Could I have a hardware problem? Any help wold be apreciated
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 2 error(s), 13 warning(s)
    WARNING: DW065: Display requirements not met for {60E59A6C-7399-495A-B85C-C829F4E59602}
    WARNING: DW065: Display requirements not met for {857CC5F0-040E-1016-A173-D55ADD80C260}
    WARNING: DW065: Display requirements not met for {50509A36-0291-1016-9CCF-FC05E9E55550}
    WARNING: DW065: Display requirements not met for {92D5E8D4-01C8-1016-BBA8-F308D6BFCAC5}
    WARNING: DW065: Display requirements not met for {C041EC47-0253-1016-891E-E5DE4AB922FC}
    WARNING: DW031: Payload:{2EBE92C3-F9D8-48B5-A32B-04FA5D1709FA} Adobe XMP Panels CS5 3.0.0.0 has been updated and has been selected for repair. The patch {42774483-D33C-46F7-8B20-FD0B1A3DAC25} Adobe XMP Panels CS5_3.1_AdobeXMPPanelsAll 3.1.0.0 will be uninstalled now.
    WARNING: DW031: Payload:{3F023875-4A52-4605-9DB6-A88D4A813E8D} Camera Profiles Installer 6.0.0.0 has been updated and has been selected for repair. The patch {A189C479-C7CD-4E08-8CCF-D999B68C0C71} Camera Profiles Installer_6.3_AdobeCameraRawProfile6.0All 6.3.0.0 will be uninstalled now.
    WARNING: DW031: Payload:{37AB3C65-E02C-4DCF-B0E0-4C2E253D8FA3} Photoshop Camera Raw 6.0.0.0 has been updated and has been selected for repair. The patch {FD58D99B-9927-4226-8E00-959A4F76BD89} Photoshop Camera Raw_6.3_AdobeCameraRaw6.0All 6.3.0.0 will be uninstalled now.
    WARNING: DW031: Payload:{2EBE92C3-F9D8-48B5-A32B-04FA5D1709FA} Adobe XMP Panels CS5 3.0.0.0 has been updated and has been selected for repair. The patch {42774483-D33C-46F7-8B20-FD0B1A3DAC25} Adobe XMP Panels CS5_3.1_AdobeXMPPanelsAll 3.1.0.0 will be uninstalled now.
    WARNING: DW031: Payload:{3F023875-4A52-4605-9DB6-A88D4A813E8D} Camera Profiles Installer 6.0.0.0 has been updated and has been selected for repair. The patch {A189C479-C7CD-4E08-8CCF-D999B68C0C71} Camera Profiles Installer_6.3_AdobeCameraRawProfile6.0All 6.3.0.0 will be uninstalled now.
    WARNING: DW031: Payload:{37AB3C65-E02C-4DCF-B0E0-4C2E253D8FA3} Photoshop Camera Raw 6.0.0.0 has been updated and has been selected for repair. The patch {FD58D99B-9927-4226-8E00-959A4F76BD89} Photoshop Camera Raw_6.3_AdobeCameraRaw6.0All 6.3.0.0 will be uninstalled now.
    ----------- Payload: {75506BF3-0597-1016-8D09-EFDCD9BFC7FB} Adobe InDesign CS5.5 Common Base Files 7.5.0.0 -----------
    WARNING: Failed to update the csu inventory for {75506BF3-0597-1016-8D09-EFDCD9BFC7FB} Adobe InDesign CS5.5 Common Base Files 7.5.0.0 return values 12:114
    ----------- Payload: {CBBBB5DB-8EF3-40D7-A9FE-5A69100C1EED} Adobe ReviewPanel CS5.5 3.0.0.0 -----------
    WARNING: Failed to update the csu inventory for {CBBBB5DB-8EF3-40D7-A9FE-5A69100C1EED} Adobe ReviewPanel CS5.5 3.0.0.0 return values 12:114
    ERROR: DW050: The following payload errors were found during install:
    ERROR: DW050:  - AdobeHelp: Install failed

    WARNING: DW065: Display requirements not met for {60E59A6C-7399-495A-B85C-C829F4E59602}
    What more needs saying? Your screen resolution is too small.
    Mylenium

  • With my new macbook I attempted to open an older spreadsheet and get the following error message:  "This spreadsheet cannot be opened because ti is too old.  To open it, save it with numbers '09 first"  So how does one do this when I only have ver3.1?

    With my new macbook I attempted to open an older spreadsheet and get the following error message:  "This spreadsheet cannot be opened because ti is too old.  To open it, save it with numbers '09 first"  So how does one do this when I only have ver3.1?

    Numbers 3.x can only open Numbers '09 and later.  You will need Numbers '09 to open Numbers '08 files.
    If it is a single file (or only a few) you can email me and I will open and convert then email back.  My email address is in the "Biography" of my profile.
    You may have Numbers '09 installed.  Look in the folder "/Applications/iWork '09"  if Numbers is in that folder launch it, open the file you tried to open, and save.  Then you should be able to open in Numbers 3.x

  • While partitioning in Lion 10.8, I get the following error message: I have been attempting to partition a 2 GB hard drive that I just formatted using the Disk Utilty in Mountain Lion (10.8) and get the following error message:  DiskManagementTool has died

    I have been attempting to partition a 2 GB hard drive that I just formatted using the Disk Utilty in Mountain Lion (10.8) and get the following error message:
    DiskManagementTool has died. Disk Utility will need to be restarted.  The log shows the following:
    2012-09-10 11:20:51 -0700: Preparing to partition disk: “HitachiG ST Media”
    2012-09-10 11:20:51 -0700:      Partition Scheme: GUID Partition Table
    2012-09-10 11:20:51 -0700:      2 partitions will be created
    2012-09-10 11:20:51 -0700:
    2012-09-10 11:20:51 -0700:      Partition 1
    2012-09-10 11:20:51 -0700:           Name          : “Alex's External Storage”
    2012-09-10 11:20:51 -0700:           Size          : 1.5 TB
    2012-09-10 11:20:51 -0700:           File system     : Mac OS Extended (Journaled)
    2012-09-10 11:20:51 -0700:           Do not erase contents
    2012-09-10 11:20:51 -0700:
    2012-09-10 11:20:51 -0700:      Partition 2
    2012-09-10 11:20:51 -0700:           Name          : “Alex's External Storage 2”
    2012-09-10 11:20:51 -0700:           Size          : 500.05 GB
    2012-09-10 11:20:51 -0700:           File system     : Mac OS Extended (Journaled)
    2012-09-10 11:20:51 -0700:
    2012-09-10 11:20:51 -0700: Beginning partition operations
    2012-09-10 11:20:51 -0700: DiskManagementTool has died. Disk Utility will need to be restarted.
    2012-09-10 11:20:52 -0700: DiskManagementTool has died. Disk Utility will need to be restarted.
    2012-09-10 11:20:52 -0700: DiskManagementTool has died. Disk Utility will need to be restarted.
    2012-09-10 11:20:52 -0700: DiskManagementTool has died. Disk Utility will need to be restarted.
    2012-09-10 11:20:55 -0700: Disk Utility started.
    Does anyone have any thoughts?  Cant find anything on the web with this

    I have been attempting to partition a 2 GB hard drive that I just formatted using the Disk Utilty in Mountain Lion (10.8) and get the following error message:
    DiskManagementTool has died. Disk Utility will need to be restarted.  The log shows the following:
    2012-09-10 11:20:51 -0700: Preparing to partition disk: “HitachiG ST Media”
    2012-09-10 11:20:51 -0700:      Partition Scheme: GUID Partition Table
    2012-09-10 11:20:51 -0700:      2 partitions will be created
    2012-09-10 11:20:51 -0700:
    2012-09-10 11:20:51 -0700:      Partition 1
    2012-09-10 11:20:51 -0700:           Name          : “Alex's External Storage”
    2012-09-10 11:20:51 -0700:           Size          : 1.5 TB
    2012-09-10 11:20:51 -0700:           File system     : Mac OS Extended (Journaled)
    2012-09-10 11:20:51 -0700:           Do not erase contents
    2012-09-10 11:20:51 -0700:
    2012-09-10 11:20:51 -0700:      Partition 2
    2012-09-10 11:20:51 -0700:           Name          : “Alex's External Storage 2”
    2012-09-10 11:20:51 -0700:           Size          : 500.05 GB
    2012-09-10 11:20:51 -0700:           File system     : Mac OS Extended (Journaled)
    2012-09-10 11:20:51 -0700:
    2012-09-10 11:20:51 -0700: Beginning partition operations
    2012-09-10 11:20:51 -0700: DiskManagementTool has died. Disk Utility will need to be restarted.
    2012-09-10 11:20:52 -0700: DiskManagementTool has died. Disk Utility will need to be restarted.
    2012-09-10 11:20:52 -0700: DiskManagementTool has died. Disk Utility will need to be restarted.
    2012-09-10 11:20:52 -0700: DiskManagementTool has died. Disk Utility will need to be restarted.
    2012-09-10 11:20:55 -0700: Disk Utility started.
    Does anyone have any thoughts?  Cant find anything on the web with this

  • I cannot install adobe reader. I get so far and get the message "Error 1324. The oath All folders or the volume is invalid. Please enter it again" can you help?

    i cannot install adobe reader. I get so far and get the message "Error 1324. All folders or the volume is invalid. Please enter it again" can you help?

    We need to know if any registry settings are causing this error.  Please follow these instructions:
    from Windows Start | Search: type regedit and hit Enter; you will see a window like this
    now click on the little arrow ▹ left from HKEY_CURRENT_USER
    Next click the arrow ▹ beside Software, then Microsoft, then Windows, then CurrentVersion, then Explorer, then click on User Shell Folders
    all entries on the right side should start with %USERPROFILE%
    If you have anything different, this may be the cause for the install failure.
    Now you need to repeat the same thing for another key:
    ▹ HKEY_LOCAL_MACHINE ▹ Software ▹ Microsoft ▹ Windows ▹ CurrentVersion ▹ Explorer ▹ User Shell Folders
    Here all entries should start with %PUBLIC% or %ProgramData%.  If you have anything different, this may also be the cause for the install failure.

  • The report l runs very night and gets ended with error

    Dear all,
    I am facing a problem in solution manger. There is an report (Program/Command  RDSMOPSOL_MONIREFRESH ) will runs very night and get ended with error and there is Run-time error "MESSAGE_TYPE_X".
    Please suggest how to solve the problem.
    Is this report is necessary   for the system because it is not mention in the sap stand jobs.
    SM37 log
    Job started
    Step 001 started (program RDSMOPSOL_MONIREFRESH, variant &0000000000875, user ID BASIS)
    Opening and closing session started. Session SM2000000000065
    Opening and closing the session was successful. Session: SM2000000000065
    Opening and closing session started. Session SM2000000000005
    ABAP/4 processor: MESSAGE_TYPE_X
    Job cancelled
    SM:CSA SESSION REFRESH
    No. Program/Command       Prog. type Spool list Parameter      User  Lang.
    1  RDSMOPSOL_MONIREFRESH ABAP                  &0000000000876 BASIS EN
    Sm21 log
    00:00:50 DIA 00 000 SAPSYS            EEA OPERATION MODES: Switch to operation mode Normal triggered
    00:30:57 BTC 08 200 BASIS             R68 Perform rollback
    00:30:57 BTC 08 200 BASIS             AB0 Run-time error "MESSAGE_TYPE_X" occurred
    00:30:57 BTC 08 200 BASIS             AB1 > Short dump "081112 003057 sapsm BASIS " generated
    00:30:57 BTC 08 200 BASIS             D01 Transaction Canceled 00 671 ( MESSAGE_TYPE_X 20081112003057sapsm BASIS 2001 )
    00:30:57 BTC 08 200 BASIS             R68 Perform rollback
    00:30:57 BTC 08 200 BASIS             AB0 Run-time error "MESSAGE_TYPE_X" occurred
    Details
    Recording at local and central time........................ 12.11.2008 00:30:57
    Task................ 05312 . 08 B8 BTC background processor No. 08
    User................ BASIS
    Client.............. 200
    Terminal............
    Session............. 1
    Transaction code....
    Program name........
    Problem class....... T    Transaction Problem
    Development class... SABP
    Further details for this message type
    Module name......... abdynpro
    Line................ 1133
    Error text.......... ab_jmess
    Documentation for system log message AB 0 :
    The specified runtime error has occurred in the system.
    Parameter
      a.. MESSAGE_TYPE_X
    Technical details
    File................ 000048
    Position............ 0000253620
    Entry type.......... l      ( Error (Module, Row)            )
    Message ID.......... AB 0
    Variable parts...... ab_jmess                                            abdynpro1133
    Time     Ty. Nr Cl. User         Tcod MNo Text                                                                    Date : 12.11.08
    00:30:57 BTC 08 200 BASIS             AB1 > Short dump "081112 003057 sapsm BASIS " generated
    etails
    ecording at local and central time........................ 12.11.2008 00:30:57
    ask................ 05312 . 08 B8 BTC background processor No. 08
    ser................ BASIS
    lient.............. 200
    erminal............
    ession............. 1
    ransaction code....
    rogram name........
    roblem class....... K    SAP Web AS Problem
    evelopment class... SABP
    BAP Mini dump
    ate................ 20081112
    ime................ 003057
    ost................ sapsm
    ser................ BASIS
    ocumentation for system log message AB 1 :
    A short dump was generated for the specified program termination.
    You can analyze this short dump in the system log evaluation by
    selecting this line or evaluating Table SNAP (Transaction ST22).
    echnical details
    ile................ 000048
    osition............ 0000253800
    ntry type.......... s      ( ABAP Runtime Error             )
    essage ID.......... AB 1
    ariable parts...... 081112003057sapsm   BASIS
    Time     Ty. Nr Cl. User         Tcod MNo Text                                                                    Date : 12.11.08
    00:30:57 BTC 08 200 BASIS             D01 Transaction Canceled 00 671 ( MESSAGE_TYPE_X 20081112003057sapsm BASIS 2001 )
    Details
    Recording at local and central time........................ 12.11.2008 00:30:57
    Task................ 05312 . 08 B8 BTC background processor No. 08
    User................ BASIS
    Client.............. 200
    Terminal............
    Session............. 1
    Transaction code....
    Program name........
    Problem class....... K    SAP Web AS Problem
    Development class... SDYN
    Module name.........
    Location............
    T100................ 00                  671
    Parameters..........
    Documentation for system log message D0 1 :
    The transaction has been terminated.  This may be caused by a
    termination message from the application (MESSAGE Axxx) or by an
    error detected by the SAP System due to which it makes no sense to
    proceed with the transaction.  The actual reason for the termination
    is indicated by the T100 message and the parameters.
    Additional documentation for message 00                  671
    ABAP/4 processor: &
    No documentation exists for message 00671
    Parameter
      a.. MESSAGE_TYPE_X
    00:30:57 BTC 08 200 BASIS             R68 Perform rollback
    Details
    Recording at local and central time........................ 12.11.2008 00:30:57
    Task................ 05312 . 08 B8 BTC background processor No. 08
    User................ BASIS
    Client.............. 200
    Terminal............
    Session............. 1
    Transaction code....
    Program name........
    Problem class....... W    Warning
    Development class... STSK
    Further details for this message type
    Module name......... thxxhead
    Line................ 1240
    Error text..........
    Caller.............. ThIRoll
    Reason/called....... roll ba
    Documentation for system log message R6 8 :
    An error has causes an SAP rollback.  All database updates are reset.
    Technical details
    File................ 000048
    Position............ 0000254520
    Entry type.......... m      ( Error (Function,Module,Row)    )
    Message ID.......... R6 8
    Variable parts......                                       ThIRollroll bathxxhead1240
    Regards,
    Shiva

    Hi karteek,
    I have check there is Switch of operation mode but when I have checked the t-code sm63 there is no new mode are in normal mode.
    There is  one thing I want to ask dose this report (Program/Command RDSMOPSOL_MONIREFRESH )  run   in your system or any one server because I have think there is some problem in job shued
    and is also not mention in the sap stand jobs.
    there is an error in sm21 in job.
    BASIS        SM36 EFK BP_CHECK_REPORT_VALUES: Invalid program values found. Reason:
    BASIS        SM36 EFC > Program RDSMOPSOL_MONIREFRESH has no variants, but a variant was specified
    Is this SM37 log
    Job started
    Step 001 started (program RDSMOPSOL_MONIREFRESH, variant &0000000000875, user ID BASIS)
    Opening and closing session started. Session SM2000000000065
    Opening and closing the session was successful. Session: SM2000000000065
    Opening and closing session started. Session SM2000000000005
    ABAP/4 processor: MESSAGE_TYPE_X
    Job cancelled
    Sm21 log
    SAPSYS            EEA OPERATION MODES: Switch to operation mode Normal triggered
    BASIS             R68 Perform rollback
    BASIS             AB0 Run-time error "MESSAGE_TYPE_X" occurred
    BASIS             AB1 > Short dump "081111 003056 sapsm BASIS " generated
    BASIS             D01 Transaction Canceled 00 671 ( MESSAGE_TYPE_X 20081111003056sapsm BASIS 2001 )
    BASIS             R68 Perform rollback
    BASIS             R49 Communication error, CPIC return code 017, SAP return code 223
    BASIS             R64 > CPI-C function: CMINIT(SAP)
    *BASIS        SM36 EFK BP_CHECK_REPORT_VALUES: Invalid program values found. Reason:*
    *BASIS        SM36 EFC > Program RDSMOPSOL_MONIREFRESH has no variants, but a variant was*
    specified
    BASIS             R68 Perform rollback
    BASIS             AB0 Run-time error "MESSAGE_TYPE_X" occurred
    BASIS             AB1 > Short dump "081111 220948 sapsm BASIS " generated
    BASIS             D01 Transaction Canceled 00 671 ( MESSAGE_TYPE_X 20081111220948sapsm BASIS 2001 )
    Details Page 2 Line 6 System Log: Local Analysis of sapsm                     1
    Time     Ty. Nr Cl. User         Tcod MNo Text
    00:00:51 DIA 00 000 SAPSYS            EEA OPERATION MODES: Switch to operation mode Normal triggered
    Details
    Recording at local and central time........................ 13.11.2008 00:00:51
    Task................ 04100 . 00 D0 Dialog work process No. 00
    User................ SAPSYS
    Client.............. 000
    Terminal............
    Session............. 1
    Transaction code....
    Program name........
    Problem class....... S    Operation Trace
    Development class... SBTC
    Sm63
      Start/end time   Name of the active operation mode
       00.00 - 01.00    Normal
       01.00 - 02.00    Normal
       02.00 - 03.00    Normal
       03.00 - 04.00    Normal
       04.00 - 05.00    Normal
       05.00 - 06.00    Normal
       06.00 - 07.00    Normal
       07.00 - 08.00    Normal
       08.00 - 09.00    Normal
       09.00 - 10.00    Normal
       10.00 - 11.00    Normal
       11.00 - 12.00    Normal
       12.00 - 13.00    Normal
       13.00 - 14.00    Normal
       14.00 - 15.00    Normal
       15.00 - 16.00    Normal
       16.00 - 17.00    Normal
       17.00 - 18.00    Normal
       18.00 - 19.00    Normal
       19.00 - 20.00    Normal
       20.00 - 21.00    Normal
       21.00 - 22.00    Normal
       22.00 - 23.00    Normal
       23.00 - 00.00    Normal
    Regards,

  • Trying to install itunes on windows vista and get the following error message:

    Trying to install itunes on windows vista and get the following error message: An error occurred during the installation of assembly "Microsoft.VC80.CRT,version="8.0.50727.4053",type="win32",publicKey Token="1fc8b3b9a1e3b",process orArchitecture="x86"". Please refer to Help and Support for more information. HRESULT: 0x80070424.

    A broken Windows Modules Installer then. It's a bit of an involved fix getting past it, but we've had success here with it in the past.
    First, I'd strongly suggest setting up a system restore point.
    Now try the Scenario III treatment from the following document:
    Windows Update Error 80070424 in Vista
    Head back into Windows Update and attempt to get updates again. If they still fail, this time with an 8000FFFF error code, try the following Microsoft document:
    Windows Update error 8000FFFF
    If you get Windows Updates flowing again, stock up on any you're behind on (restarting the PC when requested to do so). This may take some time and may have to be done in several batches, depending on how far you've fallen behind. Basically, keep going back to Windows Update until it stops offering you new updates.
    After the updates have been installed, restart the PC one more time (in order to ensure that any pending installs requiring a restart have been resolved).
    Now try another iTunes install. Does it go through without the 0x80070424 this time?

  • I am running 10.7.5 and getting Time Machine error The backup disk image "/Volumes/Data/Kathy P's MacBook.sparsebundle" is already in use. what do i do now?

    i am running 10.7.5 on an older MacBook and getting Time Machine error The backup disk image “/Volumes/Data/Kathy P’s MacBook.sparsebundle” is already in use. what do i do now?

    See Pondini's TM FAQs, for starters.

  • HT3743 I purchased an iphone 3g that was to be open to any carrier, I went to restore it to my itunes account and get a 1015 error, can this be fixed.  I am new to the iphone and like the product but cannot buy new.  Please help. THANKS

    I purchased an iphone 3g that was to be open to any carrier, I went to restore it to my itunes account and get a 1015 error, can this be fixed.  I am new to the iphone and like the product but cannot buy new.  Please help. THANKS

    You got ripped off. You bought a hacked/jailbroken phone. That's what error 1015 means. Return it and get your money back if possible and buy a phone from a legitimate source.
    Discussing jailbroken / hacked phones is forbidden by the terms of service. Jailbreaking / hacking voids any warranty and forfeits your right to support here or from Apple. You can not get help here.

  • Trying to install MAMP and get the following error:  com.apple.installer.pagecontroller error -1

    I am trying to install MAMP and get the following error:  The operation couldn’t be completed. (com.apple.installer.pagecontroller error -1.)
    Macbook Pro OSX Version 10.9.4

    WWhat software verson are you using? Try exporting a master file.

  • Tomcat and Jrun and get the same error.

    Hello freinds,
    iam facing problem with this.
    It cant able to find Enumeration although it finds Vector which is in the same package as Enumeration. but i tried its running this on both tomcat and Jrun and get the same error.
    <HTML>
    <HEAD><TITLE> Example use of Vectors </TITLE></HEAD>
    <BODY>
    <%! String name = new String("Jonh Doe");
    Integer ssn = new Integer(111223333);
    Double salary = new Double(65432.10);
    Vector employee = new Vector();
    String[] infoTitles = {"Name", "SSN", "Salary"};
    %>
    <% employee.addElement(name);
    employee.addElement(ssn);
    employee.addElement(salary);
    int i = 0;
    Enumeration employeeInfo = employee.elements();
    //while(employeeInfo.hasMoreElements()){ %>
    <P> Employee <%//= infoTitles[i++] %>: <%//= (Object)employeeInfo.nextElement() %>
    <% // } %>
    </BODY>
    </HTML>
    org.apache.jasper.JasperException: Unable to compile class for JSPC:\Tomcat\Binary\work\localhost_8080%2Fexamples\_0002fjsp_0002fmyJSPs_0002fhour_00037_0002fusingEnumerations_0002ejspusingEnumerations_jsp_18.java:75: Class
    jsp.myJSPs.hour_00037.Enumeration not found.
    Enumeration employeeInfo = employee.elements();
    can any body help me
    todd

    Hi toddyj,
    problem in the code is you havent imported the package
    here iam giving below you my tested code..
    <HTML>
    <HEAD><TITLE> Example use of Vectors </TITLE></HEAD>
    <BODY>
    <%@ page language="java" import="packagename.*" %>
    <%! String name = new String("Jonh Doe");
    Integer ssn = new Integer(111223333);
    Double salary = new Double(65432.10);
    Vector employee = new Vector();
    String[] infoTitles = {"Name", "SSN", "Salary"};
    %>
    <% employee.addElement(name);
    employee.addElement(ssn);
    employee.addElement(salary);
    int i = 0;
    Enumeration employeeInfo = employee.elements();
    //while(employeeInfo.hasMoreElements()){ %>
    <P> Employee <%//= infoTitles[i++] %>: <%//= (Object)employeeInfo.nextElement() %>
    <% // } %>
    </BODY>
    </HTML>
    I hope by this import reason your not able to find Enumeration
    Regards,
    TirumalaRao
    Developer Technical support,
    Sun MicroSystem, India.

  • Trying to burn a DVD and getting "unknown device error

    Using a 3.1 ghz Intel i7 with 16G and 10.8.2 purchased a few months ago.  Never had an issue until this morning.
    SO, I tried another of my external Superdrives and get the SAME error...

    update: I seemed to have fixed it with a disconnect of everything and a total reboot...let's hope it stays working.
    However, I use FCP, output to Compressor and then drop those files into DVD Studio Pro to burn.  Have been doing it that way for years and have never had an issue...hoping it was just a **** on my computer's end and not a sign of major issues ahead.

  • Getting ORA-01429 error while changing character set

    When I am changing character set from WE8DEC to AL32UTF8, I am getting ORA-01429 error
    SQL> ALTER DATABASE CHARACTER SET INTERNAL_USE AL32UTF8 ;
    ALTER DATABASE CHARACTER SET INTERNAL_USE AL32UTF8
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01429: Index-Organized Table: no data segment to store overflow row-pieces

    Chockalingam wrote:
    I am using above steps as per oracle doc only.
    http://docs.oracle.com/cd/B10500_01/server.920/a96529/ch10.htm
    No, you are not.
    - You are not using the correct version doc vs. Oracle server version. Try to find the same suggestion in the relevant doc.
    - The doc you reference specifically says "... it can be used only under special circumstances. The ALTER DATABASE CHARACTER SET statement does not perform any data conversion, so it can be used +if and only if the new character set is a strict superset of the current character set+." (emphasis is mine)
    You do not have a strict superset.
    - Also the special clauses you have used are not documented - for a reason.
    Please edit your posts above to remove the ill-advice (steps with internal use only clauses) that does not belong on a forum.
    Edited by: orafad on Mar 16, 2012 9:47 PM

  • Suddenly getting ORA-12514 error Oracle 11gr2

    I installed Oracle 11g r2 fine, had 2 databases (se3 and mydb, both have db_domain .orcl i.e. mydb.orcl and se3.orcl) running on it fine till yesterday. but suddenly im getting ORA-12514 error (TNS:listener doesn't know of service requested in connect descriptor)..
    My tnsnames.ora file:
    # tnsnames.ora Network Configuration File: G:\oracledb\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    LISTENER_MYDB =
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    MYDB =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = mydb.orcl)
    SE3 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = se3.orcl)
    LISTENER_SE3 =
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    and my listener.ora file is as follows:
    # listener.ora Network Configuration File: G:\oracledb\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:G:\oracledb\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ADR_BASE_LISTENER = G:\oracledb
    * i have both of databases up and running(confirmed through administration assistant), the listener is up.. im able to execute "tnsping mydb/se3".. i'm not able to connect to either one of them through sqlplus/sql developer.. The result of "lsnrctl service" is as follows:
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       32-bit Windows Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    The command completed successfully
    PLEASE HELP ME FRIENDS!! I HAVE A PROJECT DUE IN EARLY OCTOBER

    Hi,
    Instead of this:
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:G:\oracledb\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    have the following in your listener file
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:G:\oracledb\product\11.2.0\dbhome_1\bin\oraclr11.dll")
       (SID_DESC =
          (SID_NAME = mydb)
          (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
        (SID_DESC =
          (SID_NAME = se3)
          (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)   
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    Also, dont have 'localhost' in your listener.ora file, provide the actual IP or hostanme. NEVER YOU should have
    localhost.
    Restart listener and try.
    Thanks &
    Best Regard,

Maybe you are looking for

  • Troublesho​oting with Verizon Blackberry

    I am sorry if this is in the wrong section. I just got a blackberry that is for verizon from a friend. it does NOT have a sim card. im not sure what kind of blackberry it is yet, because i havent gotten it yet. i currently have verizon and have a reg

  • Airport Extreme(SW) keeps dropping the WAN connection under "heavy" load

    Hey, Have had this problem ever since I got the Airport Extreme when it first came out and I got it. The problem is this : The connection will work just fine for ages, but if I end up downloading something using (primarily this is the problem) torren

  • Failed to install Officejet Pro 8610 over Ethernet on Windows 8.1 64-bit

    When attempting to run the installation of Officejet Pro 8610 using wired Ethernet connection the setup quickly lists the printer with correct IP and MAC address but when this is selected takes ages in the "installing" state and eventually displays a

  • Internet and a onboard lan in asus m2n-mx se

    Hi! Recently I have changed my motherboard to an asus m2n-mx se, wich have lan onboard... My previous motherboard had lan onboard too (asus a7v600-x), and I have used it with dhcp without problems... But now, I am trying to use dhcp and is not workin

  • Ios6 photo sort order

    Since upgrading to ios6, all my new photos/events are added to the BOTTOM of the list.  This is ridiculous- it takes ten minutes of scrolling to get to them. I have the sort set up the way I want it in iphoto- but it does not carry over. Am I missing