December 2010
Intermediate to advanced
451 pages
11h 16m
English
You want to create a boolean variable to determine whether one of the subprograms in the package has generated an error. If an error has been generated by one of the subprograms, then the variable will be set to TRUE. This flag will be evaluated in the driver procedure to determine whether the updates performed by the package should be committed or rolled back.
Declare a global variable at the package level, and it will be accessible to all objects within. You can do this by declaring the variable within the package body. The following package illustrates such a variable, where the variable has been declared within the package body so that it is available for all objects in the package only. ...
Read now
Unlock full access