Program Idents - ENTER and LEAVE
Program idents may be entered from within an SQL session by using the ENTER statement. The current user must have EXECUTE privilege on the program ident in order to perform an ENTER.
When a program ident is entered, any privileges granted to that ident become current and privileges belonging to the previous ident (i.e. the ident issuing the ENTER statement) are suspended.
Program idents are disconnected with the LEAVE statement.
Example:ENTER 'PROGRAM_NAME' USING 'secret'; LEAVE RETAIN;
The statements ENTER and LEAVE may not be issued within transactions, see Managing Transactions.
Upright Database Technology AB
Voice: +46 18 780 92 00
Fax: +46 18 780 92 40