Oracle PL/SQL errors (28) — causes and fixes
28 Oracle Database PL/SQL errors, each reproduced and fixed on a real database. Pick an error to see the actual output, the fix SQL and the result.
- ORA-010002 causesmaximum open cursors for session exceeded
- ORA-010023 causesfetch out of sequence
- ORA-010063 causesBind variable does not exist
- ORA-010087 causesnot all variables bound
- ORA-010863 causessavepoint never established in this session or is invalid
- ORA-014037 causesno data found
- ORA-014229 causesexact fetch returned more than the requested number of rows
- ORA-040633 causespackage body has errors
- ORA-040682 causesexisting state of packages has been discarded
- ORA-040803 causestrigger 'ORDERS_BIU' does not exist
- ORA-040812 causestrigger 'ORDERS_BI' already exists
- ORA-040822 causesNEW or OLD references not allowed in table level triggers
- ORA-040842 causescannot change NEW values for this trigger type
- ORA-040883 causeserror during execution of trigger
- ORA-040916 causestable is mutating, trigger/function may not see it
- ORA-040952 causestrigger already exists on another table, cannot replace it
- ORA-040986 causestrigger is invalid and failed re-validation
- ORA-065025 causesPL/SQL: value or conversion error
- ORA-065032 causesPL/SQL: function returned without value
- ORA-065083 causesPL/SQL: could not find program unit being called
- ORA-065113 causesPL/SQL: cursor already open
- ORA-065123 causesat line
- ORA-065302 causesReference to uninitialized composite
- ORA-065313 causesReference to uninitialized collection
- ORA-065323 causessubscript outside of limit
- ORA-065333 causesSubscript beyond count
- ORA-065507 causesline N, column N: PL/SQL compilation error
- ORA-145512 causescannot perform a DML operation inside a query