dbo.QBM_PDBQueuePondTimeOut

SQL_STORED_PROCEDURE

Created 2025-06-27T17:57:37.600 · modified 2026-04-14T23:16:09.230 · source: live DB sys.objects/sys.sql_expression_dependencies.

Open formatted source/search result

Parameters

NameTypeOutput
No parameters.

Referenced objects

SchemaObjectColumn/minorClass
QBM_PDBQueuePondEndOBJECT_OR_COLUMN
QBM_PSessionErrorAddOBJECT_OR_COLUMN
QBM_YCursorBufferTYPE
QBMDBQueuePondOBJECT_OR_COLUMN
dboQBM_FCVStringToIntOBJECT_OR_COLUMN
dboQBM_FGIConfigparmValueOBJECT_OR_COLUMN

Source excerpt

First extracted SQL definition lines from the exported source. Use the full source page for complete context.

Open full formatted source

1  create   procedure QBM_PDBQueuePondTimeOut as begin declare @GroupsToClose QBM_YCursorBuffer declare @ElementCount int declare @ElementIndex int
2 declare @TimeOutMinutes int = dbo.QBM_FCVStringToInt(dbo.QBM_FGIConfigparmValue('QBM\DBQueue\BufferTimeout'), 120) declare @PondGroup varchar(38) SET 
3XACT_ABORT OFF BEGIN TRY insert into @GroupsToClose (UID1) select p.PondGroup from QBMDBQueuePond p with (readpast) where  p.GenProcID <> 'DELETE' group
4 by p.PondGroup having max(p.InsertDate) < dateadd(mi, (-1 * @TimeOutMinutes), getutcdate()) select @ElementCount = @@ROWCOUNT select @ElementIndex = 1
5 while @ElementIndex <= @ElementCount begin select top 1 @PondGroup = bu.UID1 from @GroupsToClose bu where bu.ElementIndex = @ElementIndex exec QBM_PDBQueuePondEnd
6 @PondGroup select @ElementIndex += 1 end  END TRY BEGIN CATCH exec QBM_PSessionErrorAdd default RAISERROR ('', 18, 1) WITH NOWAIT END CATCH endLabel: 
7return end 
8

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:16:09.230

has TRY/CATCH error handling

Summary: calls QBM_PDBQueuePondEnd, QBM_PSessionErrorAdd; writes INSERT into; reads/joins QBMDBQueuePond; uses config QBM\DBQueue\BufferTimeout

Declared parameters

No declared parameters in sys.parameters for this object, or metadata was not available.

DML targets

INSERT into

Read/join references

Config/session

Config: QBM\DBQueue\BufferTimeout

Session: None extracted.

DBQueue/tasks

None extracted.

Temp tables / referenced variables

Temp: None extracted.

Variables: @GroupsToClose @ElementCount @ElementIndex @TimeOutMinutes @PondGroup @ROWCOUNT

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.

Referencing objectRelationEvidence
dbo.QBM_ZDBQueuePondTimeOutSQL expression dependencyOBJECT_OR_COLUMN
dbo.QBM_ZDBQueuePondTimeOutsource text referencehas TRY/CATCH error handling