Skip to content
Views: 14
6. Exception Handling
- Predefined Oracle Exceptions
- User-Defined Exceptions
- Exception Propagation
- RAISE_APPLICATION_ERROR
7. Procedures and Functions
- Creating Stored Procedures
- Creating Functions
- IN, OUT, and INOUT Parameters
- Overloading Procedures and Functions
8. Packages
- Creating and Using Packages
- Package Specification
- Package Body
- Private vs Public Package Components
- Forward Declarations
9. Triggers
- Types of Triggers (Row-Level, Statement-Level)
- BEFORE and AFTER Triggers
- INSTEAD OF Triggers
- System Triggers
- Compound Triggers
10. PL/SQL Collections
- PL/SQL Tables (Associative Arrays)
- Nested Tables
- VARRAYs
- Collection Methods (COUNT, EXTEND, DELETE, TRIM, EXISTS, FIRST, LAST)
11. Dynamic SQL
- EXECUTE IMMEDIATE
- DBMS_SQL Package
- Binding Variables in Dynamic SQL
12. Transactions in PL/SQL
- COMMIT, ROLLBACK, SAVEPOINT
- Autonomous Transactions
- Locking Mechanisms
13. Bulk Processing in PL/SQL
- BULK COLLECT
- FORALL Statement
- Performance Benefits of Bulk Processing
14. Working with XML and JSON in PL/SQL
- Using DBMS_XMLGEN and DBMS_XSLPROCESSOR
- Working with JSON (JSON_OBJECT, JSON_QUERY)
15. Advanced PL/SQL Concepts
- PL/SQL Compiler and Optimization (Pipelined Table Functions)
- Dependency Management
- Secure Coding Practices in PL/SQL
2. SQL Execution and Query Errors
- ORA-00979: Not a GROUP BY expression
- ORA-01000: Maximum open cursors exceeded
- ORA-01403: No data found
- ORA-01422: Exact fetch returns more than requested number of rows
- ORA-01438: Value larger than specified precision allowed for this column
- ORA-01722: Invalid number
3. Constraint and Integrity Errors
- ORA-00001: Unique constraint violated
- ORA-02290: Check constraint violated
- ORA-02291: Integrity constraint (foreign key) violated – parent key not found
- ORA-02292: Integrity constraint violated – child record found
- ORA-04098: Trigger
<trigger_name> is invalid and failed re-validation
4. Cursor and Transaction Errors
- ORA-01001: Invalid cursor
- ORA-06511: PL/SQL: Cursor already open
- ORA-06512: At line
<number> (backtrace error)
- ORA-06519: Active autonomous transaction detected
- ORA-06550: Line
<number>, Column <number>: Compilation unit errors
5. Locking and Concurrency Errors
- ORA-00054: Resource busy and acquire with NOWAIT specified
- ORA-00060: Deadlock detected while waiting for resource
- ORA-01555: Snapshot too old – rollback segment too small
- ORA-02049: Timeout: Distributed transaction waiting for lock
6. Storage and Memory Errors
- ORA-01652: Unable to extend temp segment by
<number> in tablespace <tablespace_name>
- ORA-04030: Out of process memory when trying to allocate
<bytes>
7. PL/SQL Runtime Errors
- ORA-06502: PL/SQL: Numeric or value error
- ORA-06503: PL/SQL: Function returned without value
- ORA-06504: PL/SQL: Return types of Result Set variables do not match
- ORA-06508: PL/SQL: Could not find program unit being called
8. Large Object (LOB) and File Handling Errors
- ORA-22275: Invalid LOB locator specified
- ORA-22285: Non-existent directory or file for BFILE operation
- ORA-22288: File or LOB operation failed
9. Network and Connectivity Issues
- ORA-03113: End-of-file on communication channel
- ORA-03135: Connection lost contact
- ORA-12537: TNS: Connection closed
10. Miscellaneous PL/SQL Errors
- PLS-00225: Subprogram or cursor ‘NAME’ reference is ambiguous
- PLS-00597: Expression ‘X’ in the INTO list is of wrong type
- PLS-00642: Local collection types not allowed in SQL statements
- PLS-00707: Unsupported construct or feature encountered