SESSION_ID() SQL Function

Previous Next

The SESSION_ID() function returns a unique session identifier for the current session.

If the value of the STARTUP_EVENT Rules Engine parameter has been set to True, this unique identifier is the SESSION_ID value that was inserted in the T_EVENT table the last time the Rules Engine was started.

The SESSION_ID() function requires no parameters:

SELECT    SESSION_ID()