PROGRAM Idents - ENTER and LEAVE
PROGRAMidents may be entered from within an SQL session by using the
ENTERstatement. The current user must have
EXECUTEprivilege on the
PROGRAMident in order to perform an
PROGRAMident is entered, any privileges granted to that ident become current and privileges belonging to the previous ident (i.e. the ident issuing the
ENTERstatement) are suspended.
PROGRAMidents are disconnected with the
Example:ENTER 'PROGRAM_NAME' USING 'secret'; LEAVE RETAIN;
LEAVEmay not be issued within transactions, see Managing Transactions.
Mimer Information Technology AB
Voice: +46 18 780 92 00
Fax: +46 18 780 92 40