CURRENT_SESSIONID()
INTEGER
SELECT * FROM Configuration.ServerSessionLocks WHERE SessionID = CURRENT_SESSIONID()