Skip to main content

%SYSTEM.Context.DBMSSession

class %SYSTEM.Context.DBMSSession extends %Library.SystemBase

Property Inventory

Method Inventory

Properties

property context as %RawString [ MultiDimensional ];

Methods

classmethod CLEAR_ALL_CONTEXT() [ SQLProc = CLEAR_ALL_CONTEXT ]
Projected as the stored procedure: CLEAR_ALL_CONTEXT
Clears all context information
classmethod CLEAR_CONTEXT() [ SQLProc = CLEAR_CONTEXT ]
Projected as the stored procedure: CLEAR_CONTEXT
Clears the context
classmethod CLEAR_IDENTIFIER() [ SQLProc = CLEAR_IDENTIFIER ]
Projected as the stored procedure: CLEAR_IDENTIFIER
Clears the identifier
Projected as the stored procedure: CLOSE_DATABASE_LINK
Closes database link
classmethod FREE_UNUSED_USER_MEMORY() [ SQLProc = FREE_UNUSED_USER_MEMORY ]
Projected as the stored procedure: FREE_UNUSED_USER_MEMORY
Lets you reclaim unused memory after performing operations requiring large amounts of memory
classmethod IS_ROLE_ENABLED() [ SQLProc = IS_ROLE_ENABLED ]
Projected as the stored procedure: IS_ROLE_ENABLED
Determines if the named role is enabled for the session.
classmethod IS_SESSION_ALIVE() [ SQLProc = IS_SESSION_ALIVE ]
Projected as the stored procedure: IS_SESSION_ALIVE
Determines if the specified session is active
classmethod LIST_CONTEXT() [ SQLProc = LIST_CONTEXT ]
Projected as the stored procedure: LIST_CONTEXT
Returns a list of active namespace and context for the current session
classmethod RESET_PACKAGE() [ SQLProc = RESET_PACKAGE ]
Projected as the stored procedure: RESET_PACKAGE
De-instantiates all packages in the session
classmethod SESSION_TRACE_DISABLE() [ SQLProc = SESSION_TRACE_DISABLE ]
Projected as the stored procedure: SESSION_TRACE_DISABLE
Resets the session-level SQL trace for the session from which it was called.
classmethod SESSION_TRACE_ENABLE() [ SQLProc = SESSION_TRACE_ENABLE ]
Projected as the stored procedure: SESSION_TRACE_ENABLE
Enables session-level SQL trace for the invoking session
classmethod SET_CONTEXT(namespace As %String(MAXLEN=30), attribute As %String(MAXLEN=30), value As %String(MAXLEN=4096)) as %String [ SQLProc = SET_CONTEXT ]
Projected as the stored procedure: SET_CONTEXT
Sets or resets the value of a context attribute
classmethod SET_IDENTIFIER() [ SQLProc = SET_IDENTIFIER ]
Projected as the stored procedure: SET_IDENTIFIER
Sets the identifier
classmethod SET_NLS() [ SQLProc = SET_NLS ]
Projected as the stored procedure: SET_NLS
Sets Globalization Support (NLS)
classmethod SET_ROLE() [ SQLProc = SET_ROLE ]
Projected as the stored procedure: SET_ROLE
Sets role
classmethod SET_SQL_TRACE() [ SQLProc = SET_SQL_TRACE ]
Projected as the stored procedure: SET_SQL_TRACE
Turns tracing on or off
classmethod SWITCH_CURRENT_CONSUMER_GROUP() [ SQLProc = SWITCH_CURRENT_CONSUMER_GROUP ]
Projected as the stored procedure: SWITCH_CURRENT_CONSUMER_GROUP
Facilitates changing the current resource consumer group of a user's current session
classmethod SYS_CONTEXT(context As %String(MAXLEN=220), parameterName As %String(MAXLEN=220)) as %String [ SQLProc = SYS_CONTEXT ]
Projected as the stored procedure: SYS_CONTEXT
classmethod UNIQUE_SESSION_ID() [ SQLProc = UNIQUE_SESSION_ID ]
Projected as the stored procedure: UNIQUE_SESSION_ID
Returns an identifier that is unique for all sessions currently connected to this database
method getContext(context, parameterName) as %String
method setContext(context, parameterName, value) as %String

Inherited Members

Inherited Methods

FeedbackOpens in a new tab