Back to OIM Explorer

dbo.QER_TIOrgRoot

Database TriggerSQL_TRIGGERSandbox DB

Database Trigger on OrgRoot. Trigger parent table: OrgRoot

Source: sandbox-db sys.sql_modules

Source size: 314 characters

Interpretation

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

Relations

  • Trigger parent table: OrgRoot

Typed Edges

  • trigger on table OrgRoot Trigger parent table: OrgRoot
  • references source dbo.QBM_PSessionErrorAdd source text reference
  • references source dbo.QER_POrgRootAssignFill source text reference

References

Referenced By

  • No direct source references extracted.

Complete Source

SQL23 lines
1CREATE trigger QER_TIOrgRoot2  ON OrgRoot FOR3INSERT NOT FOR Replication4AS5BEGIN6  BEGIN TRY7    IF EXISTS(8      SELECT TOP 1 19      FROM inserted)10    GOTO start11    RETURN start:12    EXEC QER_POrgRootAssignFill13  END TRY14  BEGIN CATCH15    EXEC QBM_PSessionErrorAdd DEFAULT16    RAISERROR('',17    18,18    1)19      WITH NOWAIT20  END CATCH21  ende:22  RETURN23END
Open raw exported source
SQL ยท Raw4 lines
1    create   trigger QER_TIOrgRoot on OrgRoot  for Insert not for Replication as begin  BEGIN TRY if exists (select top 1 1 from inserted) goto 2start return start:  exec QER_POrgRootAssignFill END TRY BEGIN CATCH exec QBM_PSessionErrorAdd default RAISERROR ('', 18, 1) WITH NOWAIT END CATCH ende:3 return end 4