dbo.QBM_TUDialogReportQueryModule
Database TriggerSQL_TRIGGERSandbox DB
Interpretation
- Database trigger. Treat parent table and enqueue/object-layer calls as the main relation points.
Relations
- Trigger parent table: DialogReportQueryModule
Typed Edges
- trigger on table DialogReportQueryModule Trigger parent table: DialogReportQueryModule
- references source dbo.QBM_FGISessionContext source text reference
- references source dbo.QBM_PPrePropCheckSyntax source text reference
- references source dbo.QBM_PSessionErrorAdd source text reference
- references source dbo.QBM_TUDialogReport source text reference
References
- dbo.QBM_FGISessionContext
- dbo.QBM_PPrePropCheckSyntax
- dbo.QBM_PSessionErrorAdd
- dbo.QBM_TUDialogReport
Referenced By
- No direct source references extracted.
Complete Source
1CREATE trigger QBM_TUDialogReportQueryModule2 ON DialogReportQueryModule FOR3UPDATE NOT FOR Replication4AS5BEGIN6 DECLARE @ConditionsToCheck QBM_YParameterList7 BEGIN TRY8 IF EXISTS(9 SELECT TOP 1 110 FROM inserted)11 GOTO start12 IF EXISTS(13 SELECT TOP 1 114 FROM deleted)15 GOTO start16 RETURN start:17 DECLARE @GenProcID varchar(38)18 SELECT @GenProcID = dbo.QBM_FGISessionContext('')19 IF20 UPDATE(PreprocessorCondition)21 BEGIN22 INSERT INTO @ConditionsToCheck(ContentFull)23 SELECT i.PreProcessorCondition24 FROM inserted i25 EXEC QBM_PPrePropCheckSyntax @ConditionsToCheck26 END27 END TRY28 BEGIN CATCH29 EXEC QBM_PSessionErrorAdd DEFAULT30 RAISERROR('',31 18,32 1)33 WITH NOWAIT34 END CATCH35END
Open raw exported source
1create trigger QBM_TUDialogReportQueryModule on DialogReportQueryModule for Update not for Replication as begin declare @ConditionsToCheck QBM_YParameterList2 BEGIN TRY if exists (select top 1 1 from inserted) goto start if exists (select top 1 1 from deleted) goto start return start: declare @GenProcID varchar3(38) select @GenProcID = dbo.QBM_FGISessionContext('') if update(PreprocessorCondition) begin insert into @ConditionsToCheck (ContentFull) select i.PreProcessorCondition4 from inserted i exec QBM_PPrePropCheckSyntax @ConditionsToCheck end END TRY BEGIN CATCH exec QBM_PSessionErrorAdd default RAISERROR ('', 18, 1) WITH 5NOWAIT END CATCH end 6