Back to OIM Explorer

dbo.QER_TIDialogGroup

Database TriggerSQL_TRIGGERSandbox DB

Database Trigger on DialogGroup. Trigger parent table: DialogGroup

Source: sandbox-db sys.sql_modules

Source size: 373 characters

Interpretation

  • Database trigger. Treat parent table and enqueue/object-layer calls as the main relation points.

Relations

  • Trigger parent table: DialogGroup

Typed Edges

  • trigger on table DialogGroup Trigger parent table: DialogGroup
  • references source dbo.QBM_FGISessionContext source text reference
  • references source dbo.QBM_PSessionErrorAdd source text reference

References

Referenced By

  • No direct source references extracted.

Complete Source

SQL22 lines
1CREATE trigger QER_TIDialogGroup2  ON DialogGroup 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  END TRY15  BEGIN CATCH16    EXEC QBM_PSessionErrorAdd DEFAULT17    RAISERROR('',18    18,19    1)20      WITH NOWAIT21  END CATCH22END
Open raw exported source
SQL ยท Raw4 lines
1 create   trigger QER_TIDialogGroup on DialogGroup  for insert not for Replication as begin  BEGIN TRY if exists (select top 1 1 from inserted) 2goto start return start: declare @GenProcID varchar(38) select @GenProcID = dbo.QBM_FGISessionContext('')                END TRY BEGIN CATCH exec QBM_PSessionErrorAdd3 default RAISERROR ('', 18, 1) WITH NOWAIT END CATCH end 4