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