dbo.QBM_PViewBuild

SQL_STORED_PROCEDURE

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

Open formatted source/search result

Parameters

NameTypeOutput
@UID_TablePatternvarcharno
@dummy1varcharno
@GenProcIDvarcharno

Referenced objects

SchemaObjectColumn/minorClass
QBM_PSessionErrorAddOBJECT_OR_COLUMN
QBM_PViewBuildPOBJECT_OR_COLUMN
QBM_PViewBuildROBJECT_OR_COLUMN
QBM_PViewBuildUOBJECT_OR_COLUMN
QBM_PViewBuildVOBJECT_OR_COLUMN
dboQBM_FGISessionContextOBJECT_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_PViewBuild ( @UID_TablePattern varchar(38) = '%' , @dummy1 varchar(38) = '' , @GenProcID varchar(38) = '' ) as begin
2  declare @GenProcID_R varchar(38) = dbo.QBM_FGISessionContext('') declare @tablepattern_intern varchar(38) SET XACT_ABORT OFF BEGIN TRY if isnull(@GenProcID
3, '') = '' begin select @GenProcID = @GenProcID_R end if isnull(@UID_TablePattern, '') = '' begin select @tablepattern_intern = '%' end else begin select
4 @tablepattern_intern = @UID_TablePattern end exec QBM_PViewBuildV @tablepattern_intern, '', @GenProcID exec QBM_PViewBuildP @tablepattern_intern, '', 
5@GenProcID exec QBM_PViewBuildU @tablepattern_intern, '', @GenProcID exec QBM_PViewBuildR @tablepattern_intern, '', @GenProcID END TRY BEGIN CATCH exec
6 QBM_PSessionErrorAdd default declare @Rethrow varchar(1000) = dbo.QBM_FGISessionErrorRethrow() RAISERROR (@Rethrow, 18, 1) WITH NOWAIT END CATCH  ende:
7 return 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:20:27.190

uses session context values has TRY/CATCH error handling

Summary: calls QBM_PViewBuildV, QBM_PViewBuildP, QBM_PViewBuildU, QBM_PViewBuildR, QBM_PSessionErrorAdd

Declared parameters

ParameterTypeDirection
@UID_TablePatternvarchar(38)input
@dummy1varchar(38)input
@GenProcIDvarchar(38)input

DML targets

None extracted.

Read/join references

None extracted.

Config/session

Config: None extracted.

Session: None extracted.

DBQueue/tasks

None extracted.

Temp tables / referenced variables

Temp: None extracted.

Variables: @UID_TablePattern @dummy1 @GenProcID @GenProcID_R @tablepattern_intern @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.

Referencing objectRelationEvidence
dbo.QBM_PCustomSQLPropagateSQL expression dependencyOBJECT_OR_COLUMN
dbo.QBM_PCustomSQLPropagatesource text referencehas TRY/CATCH error handling