LEAVE (program ident)
Leaves a program ident and restores the state of the previous ident.
The current program ident is left and the saved environment of the previous ident is restored.
If RETAIN is specified, resources allocated to the ident being left are kept, i.e. cursor declarations. The cursors are however inactivated, and may not be used in any statement until the same ident is re-entered.
The LEAVE statement may not be issued within a transaction.
MIMER EXTENSION Support for PROGRAM idents is a Mimer SQL extension.
Upright Database Technology AB
Voice: +46 18 780 92 00
Fax: +46 18 780 92 40