dbo.QBM_PQBMRelationUserChangeCorr
SQL_STORED_PROCEDURE
Created 2025-06-27T17:57:29.717 · modified 2026-04-14T23:20:26.490 · source: live DB sys.objects/sys.sql_expression_dependencies.
Parameters
| Name | Type | Output |
|---|---|---|
| No parameters. | ||
Referenced objects
| Schema | Object | Column/minor | Class |
|---|---|---|---|
| QBM_PSessionErrorAdd | OBJECT_OR_COLUMN | ||
| QBMBufferConfig | OBJECT_OR_COLUMN | ||
| QBMRelation | OBJECT_OR_COLUMN | ||
| dbo | QBM_FGISessionErrorRethrow | 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_PQBMRelationUserChangeCorr as begin declare @XUser nvarchar(64) = object_name(@@procid) declare @Xdate datetime = getutcdate 2() SET XACT_ABORT OFF BEGIN TRY update QBMRelation set ParentExecuteBy = LEFT(cf.ContentShort, 1) , XDateUpdated = @Xdate , XUserUpdated = @XUser from 3 QBMBufferConfig cf join QBMRelation r on cf.ObjectKeyOfRow = r.XObjectKey where cf.TableName = 'QBMRelation' and cf.ColumnName = 'ParentExecuteBy' and 4 r.ParentAllowUpdate = 0 update QBMRelation set ParentRestriction = LEFT(cf.ContentShort, 2) , XDateUpdated = @Xdate , XUserUpdated = @XUser from QBMBufferConfig 5 cf join QBMRelation r on cf.ObjectKeyOfRow = r.XObjectKey where cf.TableName = 'QBMRelation' and cf.ColumnName = 'ParentRestriction' and r.ParentAllowUpdate 6 = 0 update QBMRelation set ChildExecuteBy = LEFT(cf.ContentShort, 1) , XDateUpdated = @Xdate , XUserUpdated = @XUser from QBMBufferConfig cf join QBMRelation 7 r on cf.ObjectKeyOfRow = r.XObjectKey where cf.TableName = 'QBMRelation' and cf.ColumnName = 'ChildExecuteBy' and r.ChildAllowUpdate = 0 update QBMRelation 8 set ChildRestriction = LEFT(cf.ContentShort, 2) , XDateUpdated = @Xdate , XUserUpdated = @XUser from QBMBufferConfig cf join QBMRelation r on cf.ObjectKeyOfRow 9 = r.XObjectKey where cf.TableName = 'QBMRelation' and cf.ColumnName = 'ChildRestriction' and r.ChildAllowUpdate = 0 END TRY BEGIN CATCH exec QBM_PSessionErrorAdd 10 default declare @Rethrow varchar(1000) = dbo.QBM_FGISessionErrorRethrow() RAISERROR (@Rethrow, 18, 1) WITH NOWAIT END CATCH ende: return end 11
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:26.490
has TRY/CATCH error handling
Summary: calls QBM_PSessionErrorAdd; writes UPDATE QBMRelation; reads/joins QBMBufferConfig, QBMRelation
Declared parameters
No declared parameters in sys.parameters for this object, or metadata was not available.
DML targets
UPDATE QBMRelationCalled routines
Read/join references
SQL dependency metadata
Config/session
Config: None extracted.
Session: None extracted.
DBQueue/tasks
None extracted.Temp tables / referenced variables
Temp: None extracted.
Variables: @XUser @procid @Xdate @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.