Entries by Oracle ERP Apps Guide

, , ,

NonPredefined Error

To handle unnamed internal exceptions, you must use the OTHERS handler or the pragma EXCEPTION_INIT. A pragma is a compiler directive, which can be thought of as a parenthetical remark to the compiler. Pragmas (also called pseudoinstructions)are processed at compile time, not at run time.In PL/SQL, the pragma EXCEPTION_INIT tells the compiler to associate an […]

, , ,

Predefined Exceptions

An internal exception is raised implicitly whenever your PL/SQL program violates an Oracle rule or exceeds a system-dependent limit. Every Oracle error has a number, but exceptions must be handled by name. So, PL/SQL predefines some common Oracle errors as exceptions. For example, PL/SQL raises the predefined exception NO_DATA_FOUND if a SELECT INTO statement returns […]

, , ,

Exception Handling in PL SQL

In PL/SQL, a warning or error condition is called an exception. Exceptions can be internally defined (by the run-time system) or user defined. Examples of internally defined exceptions include division by zero and out of memory. Some common internal exceptions have predefined names, such as ZERO_DIVIDE and STORAGE_ERROR. The other internal exceptions can be given […]

, , ,

PL SQL Cursors

A cursor is the Private Memory area which is created by an Oracle server for manipulating the data.Two Types of CURSORS    1.  EXPLICIT : Multiple row SELECT  STATEMENTS    2.  IMPLICIT        All INSERT statements        All UPDATE statements        All DELETE statements        Single row SELECT….INTO StatementsUsing Explicit Cursors The set of rows returned by […]