Provider Error Ora-01422
Contents |
MySQL MariaDB PostgreSQL SQLite MS Office Excel Access Word Web Development HTML CSS Color Picker Languages C Language More ASCII Table Linux
Ora-01422 Exact Fetch Returns More Than Requested Number Of Rows Ora-06512
UNIX Java Clipart Techie Humor Advertisement Oracle Basics ALIASES AND AND ora-01422 exception handling & OR BETWEEN COMPARISON OPERATORS DELETE DISTINCT EXISTS FROM GROUP BY HAVING IN INSERT INSERT ALL INTERSECT ora-01422 in oracle forms IS NOT NULL IS NULL JOIN LIKE MINUS NOT OR ORDER BY PIVOT REGEXP_LIKE SELECT SUBQUERY TRUNCATE UNION UNION ALL UPDATE WHERE Oracle Advanced Oracle Cursors Oracle Exception
Ora 01422 Unhandled Exception
Handling Oracle Foreign Keys Oracle Loops/Conditionals Oracle Transactions Oracle Triggers String/Char Functions Numeric/Math Functions Date/Time Functions Conversion Functions Analytic Functions Advanced Functions Oracle / PLSQL: ORA-01422 Error Message Learn the cause and how to resolve the ORA-01422 error message in Oracle. Description When you encounter an ORA-01422 error, the following error message will appear: ORA-01422:
Ora-01422 In Cursor For Loop
exact fetch returns more than requested number of rows Cause You tried to execute a SELECT INTO statement and more than one row was returned. Resolution The option(s) to resolve this Oracle error are: Option #1 Rewrite your SELECT INTO statement so that only one row is returned. Option #2 Replace your SELECT INTO statement with a cursor. For example, if you tried to execute the following SQL statement: SELECT supplier_id INTO cnumber FROM suppliers WHERE supplier_name = 'IBM'; And there was more than one record in the suppliers table with the supplier_name of IBM, you would receive the ORA-01422 error message. In this case, it might be more prudent to create a cursor and retrieve each row if you are unsure of how many records you might retrieve. Share this page: Advertisement Back to top Home | About Us | Contact Us | Testimonials | Donate While using this site, you agree to have read and accepted our Terms of Service and Privacy
CommunityOracle User Group CommunityTopliners CommunityOTN Speaker BureauJava CommunityError: You don't have JavaScript enabled. This tool uses JavaScript and much of it the number specified in exact fetch is less than the rows returned. will not work correctly without it enabled. Please turn
Frm-40735 Post-query Trigger Raised Unhandled Exception Ora-01422
JavaScript back on and reload this page. Please enter a title. You can ora06512 not post a blank message. Please type your message and try again. More discussions in Enterprise Manager All PlacesEnterprise Manager 10 https://www.techonthenet.com/oracle/errors/ora01422.php Replies Latest reply on Jul 25, 2016 3:47 AM by TrsenZhang EM 13C occur ORA-01422: exact fetch returns more than requested number of rows when add database for target machine TrsenZhang Jul 8, 2016 2:56 AM env information:EM 13C OMS DEPLAY ON ORL https://community.oracle.com/thread/3948029 6.5 for x86_64target machine is x86_64 linux and install 11.2.0.4 db em 13c resp db is 12cR1em agent is 13cr1The emoms.log information: at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57) at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1575) at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311) at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)2016-07-07 16:36:02,874 [SET_ADRHOME_PROPERTY] WARN client.RepositoryUtils logp.251 - getting unrestricted (private/repository owner) connection2016-07-07 16:41:27,794 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR target.EntityUtil logp.251 - HandleAddNYMException: got exception with Message: ORA-01422: exact fetch returns more than requested number of rows and stack trace is: ORA-06512: at "SYSMAN.EM_TARGET", line 5211ORA-06512: at "SYSMAN.EM_TARGET", line 5528ORA-06512: at "SYSMAN.EM_TARGET", line 5953Error Code: 1422Entity At Error Index: orcl.oracle.com:oracle_database2016-07-07 16:41:27,798 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR target.EntityUtil logp.251 - createNYMEntities gets SQLException with Message: ORA-01422: exact fetch returns more than requested number of
productResults.length + resourceResults.length > 0 ? 'See all Search Results' : 'Full site search'}} > > CA Support Online > Support by Product > Support by Product Datamart Rollup job is failing with 'exact fetch returns more than requested number of rows' error. Document ID:TEC500800 Last http://www.ca.com/us/support/ca-support-online/product-content/knowledgebase-articles/tec500800.aspx Modified Date:04/08/2016 {{active ? 'Hide' : 'Show'}} Technical Document Details Products CA PPM Releases CA PPM:Release:12.0 CA PPM:Release:8.0 CA PPM:Release:8.1 CA PPM:Release:13.3 CA PPM:Release:13.3 On Demand CA PPM:Release:13.3 On Premise CA PPM:Release:14.2 CA PPM:Release:14.2 On Demand CA PPM:Release:14.2 On Premise CA PPM:Release:14.3 CA PPM:Release:14.3 On Demand CA PPM:Release:14.3 On Premise CA PPM:Release:14.1 CA PPM:Release:13.2 On Demand CA PPM:Release:13.2 On Premise CA PPM:Release:13.2 exact fetch CA PPM:Release:13.1 CA PPM:Release:13.0 CA PPM:Release:12.1 CA PPM:Release:12.1 On Demand CA PPM:Release:12.1 On Premise CA PPM:Release:13.0 On Demand CA PPM:Release:13.0 On Premise CA PPM:Release:13.1 On Demand CA PPM:Release:13.1 On Premise CA PPM:Release:14.1 On Demand CA PPM:Release:14.1 On Premise Components CLARITY PPM FINANCIALS, TIME & DATA MANAGEMENT:PPMTRX CLARITY ON DEMAND FINANCIALS, TIME & DATA MANAGEMENT:ODTXCL Problem: Datamart Rollup - Time Facts and provider error ora-01422 Time Summary job failed with the following error message: "Stored Procedure application error java.sql.SQLException: [CA Clarity][Oracle JDBC Driver][Oracle]ORA-20000: Error in CMN_JOB_DATAMART_ROLLUP_SP - ORA-20000: Error in NBI_EXTRACT_TF_TS_SP - Determine current fiscal period: ORA-01422: exact fetch returns more than requested number of rows ORA-06512: at ".CMN_JOB_DATAMART_ROLLUP_SP", line 11 ORA-06512: at line 1". Cause: Manual alteration of Fiscal time periods (retrospectively) had resulted in an overlapping timeframe where a single "current period" could not be determined by the rollup stored procedure. The information in the NBI_DIM_FISCAL_TIME table is not getting updated properly. The Fiscal Time Periods entered by the user through the application are correct, however, the NBI_DIM_FISCAL_TIME table contains records with overlapping start and end period dates sowhen the Datamart executes the query in the stored procedure it is returning more than one record; which is not expected. Upon reviewing the data between the source table BIZ_COM_PERIODS and the Datamart destination table NBI_DIM_FISCAL_TIME, we see extra rows in the NBI table that are no longer in the source table, thereby considered orphaned and hence are causing the error message because the correct record and