Back to OIM Explorer

dbo.QBM_TIDialogReportQueryModule

Database TriggerSQL_TRIGGERSandbox DB

Database Trigger on DialogReportQueryModule. Trigger parent table: DialogReportQueryModule

Source: sandbox-db sys.sql_modules

Source size: 571 characters

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_TIDialogReport source text reference

References

Referenced By

  • No direct source references extracted.

Complete Source

SQL27 lines
1CREATE trigger QBM_TIDialogReportQueryModule2  ON DialogReportQueryModule 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  END TRY20  BEGIN CATCH21    EXEC QBM_PSessionErrorAdd DEFAULT22    RAISERROR('',23    18,24    1)25      WITH NOWAIT26  END CATCH27END
Open raw exported source
SQL ยท Raw5 lines
1 create   trigger QBM_TIDialogReportQueryModule on DialogReportQueryModule  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  END 4TRY BEGIN CATCH exec QBM_PSessionErrorAdd default RAISERROR ('', 18, 1) WITH NOWAIT END CATCH end 5