dbo.QBM_ZQBMSessionStoreShrink
SQL_STORED_PROCEDURE
Created 2025-06-27T17:58:59.163 · modified 2026-04-14T23:20:30.013 · source: live DB sys.objects/sys.sql_expression_dependencies.
Parameters
| Name | Type | Output |
|---|---|---|
@SlotnumberDummy | int | no |
@Dummy1 | varchar | no |
@Dummy2 | varchar | no |
@GenProcIDDummy | varchar | no |
Referenced objects
| Schema | Object | Column/minor | Class |
|---|---|---|---|
| QBM_PSessionErrorAdd | OBJECT_OR_COLUMN | ||
| QBMSessionStore | OBJECT_OR_COLUMN | ||
| dbo | QBM_FCVStringToInt | OBJECT_OR_COLUMN | |
| dbo | QBM_FGIConfigparmValue | OBJECT_OR_COLUMN |
Source excerpt
First extracted SQL definition lines from the exported source. Use the full source page for complete context.
1 create procedure QBM_ZQBMSessionStoreShrink ( @SlotnumberDummy int , @Dummy1 varchar(38) , @Dummy2 varchar(38) , @GenProcIDDummy varchar(38) 2 ) AS begin declare @QBMSessionStoreLifetime int BEGIN TRY select top 1 @QBMSessionStoreLifetime = dbo.QBM_FCVStringToInt(dbo.QBM_FGIConfigparmValue('QBM\AppServer\SessionTimeout' 3), 0) if @QBMSessionStoreLifetime > 0 begin delete QBMSessionStore from QBMSessionStore u where datediff(hh, u.XDateUpdated, getutcdate()) > @QBMSessionStoreLifetime 4 end END TRY BEGIN CATCH exec QBM_PSessionErrorAdd default RAISERROR ('', 18, 1) WITH NOWAIT END CATCH end 5
Module relation graph
Loading module relation graph…
Source-derived context
Generated from exported SQL module definitions plus read-only sandbox sys.objects/sys.parameters/sys.sql_expression_dependencies metadata. This is factual source evidence, not a semantic guess.
provenance: SQL definition export provenance: sandbox DB metadata modified: 2026-04-14T23:20:30.013
has TRY/CATCH error handling
Summary: calls QBM_PSessionErrorAdd; writes DELETE QBMSessionStore; reads/joins QBMSessionStore; uses config QBM\AppServer\SessionTimeout
Declared parameters
| Parameter | Type | Direction |
|---|---|---|
@SlotnumberDummy | int | input |
@Dummy1 | varchar(38) | input |
@Dummy2 | varchar(38) | input |
@GenProcIDDummy | varchar(38) | input |
DML targets
DELETE QBMSessionStoreCalled routines
Read/join references
SQL dependency metadata
Config/session
Config: QBM\AppServer\SessionTimeout
Session: None extracted.
DBQueue/tasks
None extracted.Temp tables / referenced variables
Temp: None extracted.
Variables: @SlotnumberDummy @Dummy1 @Dummy2 @GenProcIDDummy @QBMSessionStoreLifetime
Referenced by / reverse dependencies
Generated from live DB metadata, FK rows, and exported SQL dependency/source extraction. This is factual linkage evidence, not inferred behavior.
No reverse dependencies extracted.