dbo.QBM_TIQBMServerHasDeployTarget
SQL_TRIGGER parent QBMServerHasDeployTarget
Created 2025-06-27T18:01:01.403 · modified 2026-04-14T23:23:08.647 · source: live DB sys.objects/sys.sql_expression_dependencies.
Parameters
| Name | Type | Output |
|---|---|---|
| No parameters. | ||
Referenced objects
| Schema | Object | Column/minor | Class |
|---|---|---|---|
| inserted | OBJECT_OR_COLUMN | ||
| QBM_PJobCreate_HOFireEvent_L | OBJECT_OR_COLUMN | ||
| QBM_PSessionErrorAdd | OBJECT_OR_COLUMN | ||
| QBM_YParameterList | TYPE | ||
| QBMServer | OBJECT_OR_COLUMN | ||
| dbo | QBM_FCVStringToInt | OBJECT_OR_COLUMN | |
| dbo | QBM_FGIConfigparmValue | OBJECT_OR_COLUMN | |
| dbo | QBM_FGISessionContext | OBJECT_OR_COLUMN |
Source excerpt
First extracted SQL definition lines from the exported source. Use the full source page for complete context.
1 create trigger QBM_TIQBMServerHasDeployTarget on QBMServerHasDeployTarget for Insert not for Replication as begin declare @GenProcID varchar 2(38) declare @XUser nvarchar(64) declare @EntriesToFire QBM_YParameterList declare @ConfigparmAutoupdate int BEGIN TRY if exists (select top 1 1 from inserted 3) goto start return start: select @GenProcID = dbo.QBM_FGISessionContext('') select @XUser = dbo.QBM_FGISessionContext('XUser') select @ConfigparmAutoupdate 4 = dbo.QBM_FCVStringToInt(dbo.QBM_FGIConfigparmValue('Common\Autoupdate'), 0) if dbo.QBM_FGISessionContext ('Fullsync') = '' begin insert into @EntriesToFire 5 (Parameter1) select distinct q.XObjectKey from inserted x join QBMServer q on x.UID_QBMServer = q.UID_QBMServer where @ConfigparmAutoupdate = 1 exec QBM_PJobCreate_HOFireEvent_L 6 'QBMServer', @EntriesToFire ,'DeployTargetChanged', @GenProcID , @CheckForExisting = 1 , @AdditionalObjectKeysAffected = DEFAULT end END TRY BEGIN CATCH 7 exec QBM_PSessionErrorAdd default RAISERROR ('', 18, 1) WITH 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:23:08.647
creates object-layer jobs via QBM_PJobCreate* fires object-layer event via HOFireEvent uses session context values has TRY/CATCH error handling
Summary: calls QBM_PJobCreate_HOFireEvent_L, QBM_PSessionErrorAdd; writes INSERT not, INSERT into; reads/joins inserted, QBMServer; uses config Common\Autoupdate; uses session context XUser, Fullsync
Declared parameters
No declared parameters in sys.parameters for this object, or metadata was not available.
DML targets
INSERT not INSERT intoCalled routines
SQL dependency metadata
Config/session
Config: Common\Autoupdate
Session: XUser Fullsync
DBQueue/tasks
None extracted.Temp tables / referenced variables
Temp: None extracted.
Variables: @GenProcID @XUser @EntriesToFire @ConfigparmAutoupdate @CheckForExisting @AdditionalObjectKeysAffected
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.