dbo.QBM_PDBQueueActivityDisable
SQL_STORED_PROCEDURE
Created 2025-06-27T17:57:37.310 · modified 2026-04-14T23:16:09.030 · source: live DB sys.objects/sys.sql_expression_dependencies.
Parameters
| Name | Type | Output |
|---|---|---|
| No parameters. | ||
Referenced objects
| Schema | Object | Column/minor | Class |
|---|---|---|---|
| DialogDatabase | OBJECT_OR_COLUMN | ||
| QBM_PSessionContextSet | OBJECT_OR_COLUMN | ||
| QBM_PSessionErrorAdd | OBJECT_OR_COLUMN | ||
| QBM_PSessionErrorClean | 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_PDBQueueActivityDisable as begin declare @SQLLockIgnore nvarchar(max) declare @XUser nvarchar(64) = object_name(@@procid 2) declare @Xdate datetime = getutcdate() SET XACT_ABORT OFF BEGIN TRY if exists (select top 1 1 from sys.tables t where t.name = 'DialogDatabase' ) begin 3 update DialogDatabase set IsDBSchedulerDisabled = 1 , XDateUpdated = @Xdate , XUserUpdated = @XUser where IsMainDatabase = 1 and IsDBSchedulerDisabled 4 = 0 end update DialogDatabase set UID_CutOffTask = null where UID_CutOffTask = 'QBM-K-CommonWaitForCompiler' exec QBM_PSessionContextSet 'INSERTEDINTODBQUEUE' 5, '1' exec QBM_PSessionErrorClean END TRY BEGIN CATCH exec QBM_PSessionErrorAdd default declare @Rethrow varchar(1000) = dbo.QBM_FGISessionErrorRethrow 6() RAISERROR (@Rethrow, 18, 1) WITH NOWAIT END CATCH endLabel: return end 7
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.030
uses session context values has TRY/CATCH error handling
Summary: calls QBM_PSessionContextSet, QBM_PSessionErrorClean, QBM_PSessionErrorAdd; writes UPDATE DialogDatabase; reads/joins sys; uses session context INSERTEDINTODBQUEUE
Declared parameters
No declared parameters in sys.parameters for this object, or metadata was not available.
DML targets
UPDATE DialogDatabaseRead/join references
SQL dependency metadata
Config/session
Config: None extracted.
Session: INSERTEDINTODBQUEUE
DBQueue/tasks
QBM-K-CommonWaitForCompilerTemp tables / referenced variables
Temp: None extracted.
Variables: @SQLLockIgnore @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_PModuleRemove | SQL expression dependency | OBJECT_OR_COLUMN |
| dbo.QBM_PModuleRemove | source text reference | has TRY/CATCH error handling |