dbo.QBM_TUAssembly_JobRunparameter

SQL_TRIGGER parent JobRunParameter

Created 2025-06-27T18:01:01.780 · modified 2026-04-14T23:23:08.383 · source: live DB sys.objects/sys.sql_expression_dependencies.

Open formatted source/search result

Parameters

NameTypeOutput
No parameters.

Referenced objects

SchemaObjectColumn/minorClass
deletedOBJECT_OR_COLUMN
insertedOBJECT_OR_COLUMN
jobOBJECT_OR_COLUMN
JobchainOBJECT_OR_COLUMN
JobEventGenOBJECT_OR_COLUMN
QBM_PDBQueueInsert_BulkOBJECT_OR_COLUMN
QBM_PSessionErrorAddOBJECT_OR_COLUMN
QBM_YDBQueueRawTYPE
dboQBM_FGISessionContextOBJECT_OR_COLUMN
dboQBM_FGITableNameOBJECT_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   trigger QBM_TUAssembly_JobRunparameter on JobRunparameter  for Update not for Replication as begin  declare @GenProcID varchar(38) = dbo.QBM_FGISessionContext
2('') BEGIN TRY if exists (select top 1 1 from inserted) goto start if exists (select top 1 1 from deleted) goto start return start:  if update(ValueTemplate
3)  or update(Name) or update(IsCrypted) or update(IsHidden) or update(UID_JobParameter) or update(UID_Job) or update(IsPartialCrypted) begin declare @DBQueueElements_01
4 QBM_YDBQueueRaw insert into @DBQueueElements_01 (Object, SubObject, GenProcID) select distinct 'JobGen', dbo.QBM_FGITableName(c.UID_DialogTable) , @GenProcID
5 from inserted i join job j on i.uid_Job = j.uid_job join Jobchain c on j.uid_Jobchain = c.uid_Jobchain join JobEventGen e on e.UID_JobChain = c.UID_JobChain
6 where c.IsDeactivatedByPreProcessor = 0 and j.IsDeactivatedByPreProcessor = 0 and c.NoGenerate = 0 exec QBM_PDBQueueInsert_Bulk 'QBM-K-ScriptAssemblyReset'
7, @DBQueueElements_01  end  END TRY BEGIN CATCH 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.383

inserts DBQueue tasks uses session context values has TRY/CATCH error handling

Summary: calls QBM_PDBQueueInsert_Bulk, QBM_PSessionErrorAdd; writes INSERT into, UPDATE not; reads/joins inserted, deleted, job, Jobchain, JobEventGen

Declared parameters

No declared parameters in sys.parameters for this object, or metadata was not available.

DML targets

INSERT into UPDATE not

Config/session

Config: None extracted.

Session: None extracted.

DBQueue/tasks

QBM-K-ScriptAssemblyReset

Temp tables / referenced variables

Temp: None extracted.

Variables: @GenProcID @DBQueueElements_01

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.