dbo.QBM_TIDialogCustomizer
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
- Bulk DBQueue insert -> QBM-K-CommonPrePropCustomizer / QBM_ZPrePropCustomizer at line 5
- References QBM_PDBQueueInsert_Bulk
- Trigger parent table: DialogCustomizer
Typed Edges
- queues DBQueue task QBM_ZPrePropCustomizer at line 5 Bulk DBQueue insert -> QBM-K-CommonPrePropCustomizer / QBM_ZPrePropCustomizer at line 5
- trigger on table DialogCustomizer Trigger parent table: DialogCustomizer
- references source dbo.QBM_FGISessionContext source text reference
- references source dbo.QBM_PDBQueueInsert_Bulk source text reference
- references source dbo.QBM_PPrePropCheckSyntax source text reference
- references source dbo.QBM_PSessionErrorAdd source text reference
References
- dbo.QBM_FGISessionContext
- dbo.QBM_PDBQueueInsert_Bulk
- dbo.QBM_PPrePropCheckSyntax
- dbo.QBM_PSessionErrorAdd
Referenced By
- No direct source references extracted.
Complete Source
1CREATE trigger QBM_TIDialogCustomizer2 ON DialogCustomizer FOR3INSERT NOT FOR Replication4AS5BEGIN6 DECLARE @ConditionsToCheck QBM_YParameterList7 BEGIN TRY8 IF EXISTS(9 SELECT TOP 1 110 FROM inserted)11 GOTO start12 RETURN start:13 DECLARE @GenProcID varchar(38)14 SELECT @GenProcID = dbo.QBM_FGISessionContext('')15 INSERT INTO @ConditionsToCheck(ContentFull)16 SELECT i.PreProcessorCondition17 FROM inserted i18 EXEC QBM_PPrePropCheckSyntax @ConditionsToCheck19 DECLARE @DBQueueElements_01 QBM_YDBQueueRaw20 INSERT INTO @DBQueueElements_01(object,21 subobject,22 genprocid)23 SELECT24 x.uid,25 NULL,26 @GenProcID27 FROM(28 SELECT i.UID_Customizer AS UID29 FROM inserted i) AS x30 EXEC QBM_PDBQueueInsert_Bulk 'QBM-K-CommonPrePropCustomizer',31 @DBQueueElements_0132 END TRY33 BEGIN CATCH34 EXEC QBM_PSessionErrorAdd DEFAULT35 RAISERROR('',36 18,37 1)38 WITH NOWAIT39 END CATCH40 ende:41 RETURN42END
Open raw exported source
1 create trigger QBM_TIDialogCustomizer on DialogCustomizer for Insert not for Replication as begin declare @ConditionsToCheck QBM_YParameterList2 BEGIN TRY if exists (select top 1 1 from inserted) goto start return start: declare @GenProcID varchar(38) select @GenProcID = dbo.QBM_FGISessionContext3('') insert into @ConditionsToCheck (ContentFull) select i.PreProcessorCondition from inserted i exec QBM_PPrePropCheckSyntax @ConditionsToCheck declare4 @DBQueueElements_01 QBM_YDBQueueRaw insert into @DBQueueElements_01 (object, subobject, genprocid) select x.uid, null, @GenProcID from (select i.UID_Customizer5 as UID from inserted i ) as x exec QBM_PDBQueueInsert_Bulk 'QBM-K-CommonPrePropCustomizer', @DBQueueElements_01 END TRY BEGIN CATCH exec QBM_PSessionErrorAdd6 default RAISERROR ('', 18, 1) WITH NOWAIT END CATCH ende: return end 7