dbo.QBM_TIDialogConfigParmOption
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-PrepropGenerateFunction / QBM_ZPrepropGenerateFunction at line 3
- References QBM_PDBQueueInsert_Single
- Trigger parent table: DialogConfigParmOption
Typed Edges
- queues DBQueue task QBM_ZPrepropGenerateFunction at line 3 Single DBQueue insert -> QBM-K-PrepropGenerateFunction / QBM_ZPrepropGenerateFunction at line 3
- trigger on table DialogConfigParmOption Trigger parent table: DialogConfigParmOption
- 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_TIDialogConfigParm source text reference
References
- dbo.QBM_FGISessionContext
- dbo.QBM_PDBQueueInsert_Single
- dbo.QBM_PSessionErrorAdd
- dbo.QBM_TIDialogConfigParm
Referenced By
- No direct source references extracted.
Complete Source
1CREATE trigger QBM_TIDialogConfigParmOption2 ON DialogConfigParmOption 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 IF EXISTS(15 SELECT TOP 1 116 FROM inserted i17 JOIN dialogConfigparm c18 ON i.uid_configparm = c.uid_configparm19 WHERE20 c.isPreprocessorCondition = 1)21 BEGIN22 EXEC QBM_PDBQueueInsert_Single 'QBM-K-PrepropGenerateFunction',23 '',24 '',25 @GenProcID26 END27 END TRY28 BEGIN CATCH29 EXEC QBM_PSessionErrorAdd DEFAULT30 RAISERROR('',31 18,32 1)33 WITH NOWAIT34 END CATCH35END
Open raw exported source
1 create trigger QBM_TIDialogConfigParmOption on DialogConfigParmOption for Insert not for Replication as begin BEGIN TRY if exists (select2 top 1 1 from inserted) goto start return start: declare @GenProcID varchar(38) select @GenProcID = dbo.QBM_FGISessionContext('') if exists (select top3 1 1 from inserted i join dialogConfigparm c on i.uid_configparm = c.uid_configparm where c.isPreprocessorCondition = 1 ) begin exec QBM_PDBQueueInsert_Single4 'QBM-K-PrepropGenerateFunction', '', '', @GenProcID end END TRY BEGIN CATCH exec QBM_PSessionErrorAdd default RAISERROR ('', 18, 1) WITH NOWAIT END 5CATCH end 6