dbo.QBM_PDialogProcessShrink_mark
SQL_STORED_PROCEDURE
Created 2025-06-27T17:57:29.313 · modified 2026-04-14T23:20:25.987 · source: live DB sys.objects/sys.sql_expression_dependencies.
Parameters
| Name | Type | Output |
|---|---|---|
@KeyPattern | varchar | no |
Referenced objects
| Schema | Object | Column/minor | Class |
|---|---|---|---|
| DialogProcess | OBJECT_OR_COLUMN | ||
| QBM_PSessionErrorAdd | OBJECT_OR_COLUMN | ||
| QBM_YSingleGUID | TYPE | ||
| dbo | QBM_FGISessionErrorRethrow | OBJECT_OR_COLUMN | |
| dbo | QBM_FTDialogProcessReady | 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_PDialogProcessShrink_mark (@KeyPattern varchar(25) ) as begin declare @Worktable QBM_YSingleGUID declare @DebugSwitch 2 int = 0 declare @XUser nvarchar(64) = object_name(@@procid) declare @Xdate datetime = getutcdate() SET XACT_ABORT OFF BEGIN TRY insert into @Worktable 3(UID_SingleGuid ) select p.GenProcID from DialogProcess p where p.ReadyForDeleteOrExport = 0 and p.GenProcID like @KeyPattern if @DebugSwitch > 0 begin 4 print '--- s1' select * from @Worktable end update DialogProcess set ReadyForDeleteOrExport = w.ReadyForDeleteOrExport , XDateUpdated = @Xdate , XUserUpdated 5 = @XUser from DialogProcess p join dbo.QBM_FTDialogProcessReady(@Worktable) w on p.GenProcID = w.GenProcID where p.ReadyForDeleteOrExport <> w.ReadyForDeleteOrExport 6 END TRY BEGIN CATCH exec QBM_PSessionErrorAdd default declare @Rethrow varchar(1000) = dbo.QBM_FGISessionErrorRethrow() RAISERROR (@Rethrow, 18, 1) WITH 7 NOWAIT END CATCH 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:25.987
has TRY/CATCH error handling
Summary: calls QBM_PSessionErrorAdd; writes INSERT into; reads/joins DialogProcess, QBM_FTDialogProcessReady
Declared parameters
| Parameter | Type | Direction |
|---|---|---|
@KeyPattern | varchar(25) | input |
DML targets
INSERT intoCalled 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: @KeyPattern @Worktable @DebugSwitch @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.
| Referencing object | Relation | Evidence |
|---|---|---|
| dbo.QBM_PProcessShrink | SQL expression dependency | OBJECT_OR_COLUMN |
| dbo.QBM_PProcessShrink | source text reference | has TRY/CATCH error handling |