dbo.QER_TUQERWorkingStep
SQL_TRIGGER parent QERWorkingStep
Created 2025-06-27T18:01:07.663 · modified 2026-04-14T23:23:08.777 · source: live DB sys.objects/sys.sql_expression_dependencies.
Parameters
| Name | Type | Output |
|---|---|---|
| No parameters. | ||
Referenced objects
| Schema | Object | Column/minor | Class |
|---|---|---|---|
| deleted | OBJECT_OR_COLUMN | ||
| inserted | OBJECT_OR_COLUMN | ||
| QBM_PSessionErrorAdd | OBJECT_OR_COLUMN | ||
| QERWorkingStep | OBJECT_OR_COLUMN | ||
| dbo | QBM_FGIColumnUpdatedOthers | 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 QER_TUQERWorkingStep on QERWorkingStep for Update not for Replication as begin declare @Message nvarchar(1000) = '#LDS#Changes on working table {0} are not allowed.|QERWorkingStep|' 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 dbo.QBM_FGISessionContext 3('QER_PGIQERWorkingMethod') > ' ' begin goto endlabel end if dbo.QBM_FGIColumnUpdatedOthers('QERWorkingStep', 'XObjectKey', COLUMNS_UPDATED()) = 1 and 4 dbo.QBM_FGIColumnUpdatedOthers('QERWorkingStep', 'UID_PWODecisionStep', COLUMNS_UPDATED()) = 1 begin if exists (select top 1 1 from inserted ) begin raiserror 5(@Message, 18, 1) with nowait end end if UPDATE (UID_PWODecisionStep) begin if exists (select top 1 1 from deleted d join QERWorkingStep s on d.UID_QERWorkingStep 6 = s.UID_QERWorkingStep where ISNULL(d.UID_PWODecisionStep, '') <> ISNULL(s.UID_PWODecisionStep, '') and s.UID_PWODecisionStep > ' ' ) begin raiserror(@Message 7, 18, 1) with nowait end end END TRY BEGIN CATCH exec QBM_PSessionErrorAdd default RAISERROR ('', 18, 1) WITH NOWAIT END CATCH endLabel: return 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.777
uses session context values has TRY/CATCH error handling
Summary: calls QBM_PSessionErrorAdd; writes UPDATE not; reads/joins inserted, deleted, QERWorkingStep; uses session context QER_PGIQERWorkingMethod
Declared parameters
No declared parameters in sys.parameters for this object, or metadata was not available.
DML targets
UPDATE notCalled routines
Read/join references
SQL dependency metadata
Config/session
Config: None extracted.
Session: QER_PGIQERWorkingMethod
DBQueue/tasks
None extracted.Temp tables / referenced variables
Temp: #LDS #Changes
Variables: @Message
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.