InterviewSolution
| 1. |
What is the use of WHEN clause in PL/SQL? |
|
Answer» In PL/SQL, packages are the schema objects that groups logically related PL/SQL types and variables. A Package has the following two PARTS:
The specification has the information about the package content. It declares the types, variables, constant, cursors, etc. It EXCLUDES the CODE for subprograms. The objects in the specification are the public OBJECT, however, a subprogram not part of the specification is a private object.
The Package Body has the implementation of subprogram declared in the specification. To create Package Body, use the CREATE PACKAGE BODY statement. The following are the guidelines:
|
|