dbo.QBM_TDDialogGroupCollection
Database TriggerSQL_TRIGGERSandbox DB
Interpretation
- Database trigger. Treat parent table and enqueue/object-layer calls as the main relation points.
- DBQueue relation detected. Follow the task procedure and referenced-by list for async processing.
Relations
- Single DBQueue insert -> QBM-K-CommonRecalculate / QBM_ZRecalculate at line 2
- References QBM_PDBQueueInsert_Single
- Trigger parent table: DialogGroupCollection
Typed Edges
- queues DBQueue task QBM_ZRecalculate at line 2 Single DBQueue insert -> QBM-K-CommonRecalculate / QBM_ZRecalculate at line 2
- trigger on table DialogGroupCollection Trigger parent table: DialogGroupCollection
- references source dbo.QBM_FGISessionContext source text reference
- references source dbo.QBM_PDBQueueInsert_Single source text reference
- references source dbo.QBM_PSessionErrorAdd source text reference
- references source dbo.QBM_TDDialogGroup source text reference
References
- dbo.QBM_FGISessionContext
- dbo.QBM_PDBQueueInsert_Single
- dbo.QBM_PSessionErrorAdd
- dbo.QBM_TDDialogGroup
Referenced By
- No direct source references extracted.
Complete Source
1CREATE trigger QBM_TDDialogGroupCollection2 ON DialogGroupCollection FOR3DELETE NOT FOR Replication4AS5BEGIN6 BEGIN TRY7 IF EXISTS(8 SELECT TOP 1 19 FROM deleted)10 GOTO start11 RETURN start:12 DECLARE @GenProcID varchar(38) = dbo.QBM_FGISessionContext('')13 EXEC QBM_PDBQueueInsert_Single 'QBM-K-CommonRecalculate',14 'QBM-K-MissingDisplayRightFill',15 '',16 @GenProcID17 END TRY18 BEGIN CATCH19 EXEC QBM_PSessionErrorAdd DEFAULT20 RAISERROR('',21 18,22 1)23 WITH NOWAIT24 END CATCH25END
Open raw exported source
1 create trigger QBM_TDDialogGroupCollection on DialogGroupCollection for Delete not for Replication as begin BEGIN TRY if exists (select top2 1 1 from deleted) goto start return start: declare @GenProcID varchar(38) = dbo.QBM_FGISessionContext('') exec QBM_PDBQueueInsert_Single 'QBM-K-CommonRecalculate'3, 'QBM-K-MissingDisplayRightFill', '', @GenProcID END TRY BEGIN CATCH exec QBM_PSessionErrorAdd default RAISERROR ('', 18, 1) WITH NOWAIT END CATCH end4 5