xvi
PL/SQL Block................................................................................................................................ A-5
Output Table.................................................................................................................................. A-5
Sample 3. Scoping............................................................................................................................... A-6
Input Table..................................................................................................................................... A-6
PL/SQL Block................................................................................................................................ A-6
Output Table.................................................................................................................................. A-7
Sample 4. Batch Transaction Processing......................................................................................... A-7
Input Tables................................................................................................................................... A-8
PL/SQL Block................................................................................................................................ A-8
Output Tables............................................................................................................................. A-10
Sample 5. Embedded PL/SQL........................................................................................................ A-11
Input Table.................................................................................................................................. A-11
PL/SQL Block in a C Program................................................................................................. A-11
Interactive Session ..................................................................................................................... A-13
Output Tables............................................................................................................................. A-14
Sample 6. Calling a Stored Procedure.......................................................................................... A-15
Input Table.................................................................................................................................. A-15
Stored Procedure........................................................................................................................ A-15
Interactive Session ..................................................................................................................... A-18
B CHAR versus VARCHAR2 Semantics
Assigning Character Values.............................................................................................................. B-2
Comparing Character Values............................................................................................................ B-2
Inserting Character Values................................................................................................................ B-4
Selecting Character Values................................................................................................................ B-4
C PL/SQL Wrap Utility
Advantages of Wrapping PL/SQL Procedures.............................................................................. C-1
Limitations of the Wrap Utility.................................................................................................. C-2
Running the Wrap Utility................................................................................................................. C-2
Input and Output Files for the Wrap Utility............................................................................ C-3
Error Handling in the Wrap Utility .......................................................................................... C-4
Version Compatibility................................................................................................................. C-4
Guidelines........................................................................................................................................... C-4