Back to OIM Explorer

dbo.ADS_TRMBUDomain

Database TriggerSQL_TRIGGERSandbox DB

Database Trigger on ADSDomain. Trigger parent table: ADSDomain

Source: sandbox-db sys.sql_modules

Source size: 455 characters

Interpretation

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

Relations

  • Trigger parent table: ADSDomain

Typed Edges

  • trigger on table ADSDomain Trigger parent table: ADSDomain
  • 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

SQL29 lines
1CREATE trigger ADS_TRMBUDomain2  ON adsdomain 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    DECLARE @Parameter nvarchar(1000)19  END TRY20  BEGIN CATCH21    EXEC QBM_PSessionErrorAdd DEFAULT22    RAISERROR('',23    18,24    1)25      WITH NOWAIT26  END CATCH27  ende:28  RETURN29END
Open raw exported source
SQL ยท Raw4 lines
1    create   trigger ADS_TRMBUDomain on adsdomain  for Update not for Replication as begin  BEGIN TRY if exists (select top 1 1 from inserted) goto2 start if exists (select top 1 1 from deleted) goto start return start: declare @GenProcID varchar(38) select @GenProcID = dbo.QBM_FGISessionContext(''3) declare @Parameter nvarchar(1000) END TRY BEGIN CATCH exec QBM_PSessionErrorAdd default RAISERROR ('', 18, 1) WITH NOWAIT END CATCH ende: return end 4