dbo.QBM_PBufferC_ProcessAll

SQL_STORED_PROCEDURE

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

Open formatted source/search result

Parameters

NameTypeOutput
@ModuleOwnervarcharno

Referenced objects

SchemaObjectColumn/minorClass
QBM_PBufferC_ProcessOneColumnOBJECT_OR_COLUMN
QBM_PSessionErrorAddOBJECT_OR_COLUMN
QBM_VStartupTablesOBJECT_OR_COLUMN
QBM_YCursorBufferTYPE
QBMBufferConfigOBJECT_OR_COLUMN
dboQBM_FGISessionErrorRethrowOBJECT_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_PBufferC_ProcessAll (@ModuleOwner varchar(3)  ) as begin declare @TableName varchar(30) declare @columnname varchar(30
2) declare @DebugSwitch int = 0  declare @ColumnsToProcess QBM_YCursorBuffer declare @ElementCount int declare @ElementIndex int SET XACT_ABORT OFF BEGIN
3 TRY insert into @ColumnsToProcess (Ident1  , Ident2 ) select y.TableName, y.columnname from (select distinct bu.TableName, bu.ColumnName from QBMBufferConfig
4 bu ) as y left outer join QBM_VStartupTables s on y.TableName = s.TableName  order by isnull(s.SortOrder,1000) , y.ColumnName select @ElementCount = @@ROWCOUNT
5 select @ElementIndex = 1 while @ElementIndex <= @ElementCount begin select top 1 @TableName = bu.Ident1 , @columnname = bu.Ident2 from @ColumnsToProcess
6 bu where bu.ElementIndex = @ElementIndex if @DebugSwitch > 0 begin print '----------------------------------------------------' print ' processing ' +
7 @TableName + ' ' + @columnname end exec QBM_PBufferC_ProcessOneColumn @TableName , @columnname, @ModuleOwner select @ElementIndex += 1 end  END TRY BEGIN
8 CATCH exec QBM_PSessionErrorAdd default declare @Rethrow varchar(1000) = dbo.QBM_FGISessionErrorRethrow() RAISERROR (@Rethrow, 18, 1) WITH NOWAIT END 
9CATCH ende: end 
10

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:14:36.563

has TRY/CATCH error handling

Summary: calls QBM_PBufferC_ProcessOneColumn, QBM_PSessionErrorAdd; writes INSERT into; reads/joins QBMBufferConfig, QBM_VStartupTables

Declared parameters

ParameterTypeDirection
@ModuleOwnervarchar(3)input

DML targets

INSERT into

Config/session

Config: None extracted.

Session: None extracted.

DBQueue/tasks

None extracted.

Temp tables / referenced variables

Temp: None extracted.

Variables: @ModuleOwner @TableName @columnname @DebugSwitch @ColumnsToProcess @ElementCount @ElementIndex @ROWCOUNT @Rethrow

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.