dbo.QBM_TUDialogConfigParmOption
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 5
- References QBM_PDBQueueInsert_Single
- Trigger parent table: DialogConfigParmOption
Typed Edges
- queues DBQueue task QBM_ZPrepropGenerateFunction at line 5 Single DBQueue insert -> QBM-K-PrepropGenerateFunction / QBM_ZPrepropGenerateFunction at line 5
- 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_TUDialogConfigParm source text reference
References
- dbo.QBM_FGISessionContext
- dbo.QBM_PDBQueueInsert_Single
- dbo.QBM_PSessionErrorAdd
- dbo.QBM_TUDialogConfigParm
Referenced By
- No direct source references extracted.
Complete Source
1CREATE trigger QBM_TUDialogConfigParmOption2 ON DialogConfigParmOption FOR3UPDATE NOT FOR Replication4AS5BEGIN6 BEGIN TRY7 IF EXISTS(8 SELECT TOP 1 19 FROM inserted)10 GOTO start11 IF EXISTS(12 SELECT TOP 1 113 FROM deleted)14 GOTO start15 RETURN start:16 DECLARE @GenProcID varchar(38)17 SELECT @GenProcID = dbo.QBM_FGISessionContext('')18 IF EXISTS(19 SELECT TOP 1 120 FROM DialogConfigParmOption i21 JOIN deleted d22 ON i.uid_dialogConfigParmOption = d.uid_dialogConfigParmOption23 JOIN dialogConfigparm c24 ON i.uid_configparm = c.uid_configparm AND c.isPreprocessorCondition = 125 WHERE26 isnull(i.PreProcessorstring, N '') <> isnull(d.PreProcessorstring, N ''))27 BEGIN28 EXEC QBM_PDBQueueInsert_Single 'QBM-K-PrepropGenerateFunction',29 '',30 '',31 @GenProcID32 END33 END TRY34 BEGIN CATCH35 EXEC QBM_PSessionErrorAdd DEFAULT36 RAISERROR('',37 18,38 1)39 WITH NOWAIT40 END CATCH41END
Open raw exported source
1 create trigger QBM_TUDialogConfigParmOption on DialogConfigParmOption for Update not for Replication as begin BEGIN TRY if exists (select 2top 1 1 from inserted) goto start if exists (select top 1 1 from deleted) goto start return start: declare @GenProcID varchar(38) select @GenProcID = dbo.QBM_FGISessionContext3('') if exists (select top 1 1 from DialogConfigParmOption i join deleted d on i.uid_dialogConfigParmOption = d.uid_dialogConfigParmOption join dialogConfigparm4 c on i.uid_configparm = c.uid_configparm and c.isPreprocessorCondition = 1 where isnull(i.PreProcessorstring,N'') <> isnull(d.PreProcessorstring,N'') 5) begin exec QBM_PDBQueueInsert_Single 'QBM-K-PrepropGenerateFunction', '', '', @GenProcID end END TRY BEGIN CATCH exec QBM_PSessionErrorAdd default 6RAISERROR ('', 18, 1) WITH NOWAIT END CATCH end 7