dbo.QBM_TIDialogConfigParm
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-CommonConfigParm / QBM_ZConfigParmCheck at line 2
- Single DBQueue insert -> QBM-K-PrepropGenerateFunction / QBM_ZPrepropGenerateFunction at line 2
- Single DBQueue insert -> QBM-K-PrepropGenerateFunction / QBM_ZPrepropGenerateFunction at line 3
- References QBM_PDBQueueInsert_Single
- Trigger parent table: DialogConfigParm
Typed Edges
- queues DBQueue task QBM_ZConfigParmCheck at line 2 Single DBQueue insert -> QBM-K-CommonConfigParm / QBM_ZConfigParmCheck at line 2
- queues DBQueue task QBM_ZPrepropGenerateFunction at line 2 Single DBQueue insert -> QBM-K-PrepropGenerateFunction / QBM_ZPrepropGenerateFunction at line 2
- queues DBQueue task QBM_ZPrepropGenerateFunction at line 3 Single DBQueue insert -> QBM-K-PrepropGenerateFunction / QBM_ZPrepropGenerateFunction at line 3
- trigger on table DialogConfigParm Trigger parent table: DialogConfigParm
- 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
Referenced By
Complete Source
1CREATE trigger QBM_TIDialogConfigParm2 ON DialogConfigParm FOR3INSERT NOT FOR Replication4AS5BEGIN6 BEGIN TRY7 IF EXISTS(8 SELECT TOP 1 19 FROM inserted)10 GOTO start11 RETURN start:12 DECLARE @GenProcID varchar(38)13 SELECT @GenProcID = dbo.QBM_FGISessionContext('')14 EXEC QBM_PDBQueueInsert_Single 'QBM-K-CommonConfigParm',15 '',16 '',17 @GenProcID18 IF EXISTS(19 SELECT TOP 1 120 FROM inserted i21 WHERE22 i.IsPreprocessorCondition = 1)23 BEGIN24 EXEC QBM_PDBQueueInsert_Single 'QBM-K-PrepropGenerateFunction',25 '',26 '',27 @GenProcID28 END29 END TRY30 BEGIN CATCH31 EXEC QBM_PSessionErrorAdd DEFAULT32 RAISERROR('',33 18,34 1)35 WITH NOWAIT36 END CATCH37END
Open raw exported source
1 create trigger QBM_TIDialogConfigParm on DialogConfigParm for Insert not for Replication as begin BEGIN TRY if exists (select top 1 1 from2 inserted) goto start return start: declare @GenProcID varchar(38) select @GenProcID = dbo.QBM_FGISessionContext('') exec QBM_PDBQueueInsert_Single 'QBM-K-CommonConfigParm'3, '', '', @GenProcID if exists (select top 1 1 from inserted i where i.IsPreprocessorCondition = 1 ) begin exec QBM_PDBQueueInsert_Single 'QBM-K-PrepropGenerateFunction'4, '', '', @GenProcID end END TRY BEGIN CATCH exec QBM_PSessionErrorAdd default RAISERROR ('', 18, 1) WITH NOWAIT END CATCH end 5