Back to OIM Explorer

dbo.QER_TIQERDynamicGroupBlackList

Database TriggerSQL_TRIGGERSandbox DB

Database Trigger on QERDynamicGroupBlackList. Bulk DBQueue insert -> QER-K-DynamicGroupSingleBasic / QER_ZDynGroupSingleBasic at line 3; References QBM_PDBQueueInsert_Bulk; Trigger parent table: QERDynamicGroupBlackList

Source: sandbox-db sys.sql_modules

Source size: 642 characters

Interpretation

  • Database trigger. Treat parent table and enqueue/object-layer calls as the main relation points.
  • DBQueue relation detected. Follow the task procedure and referenced-by list for async processing.

Relations

  • Bulk DBQueue insert -> QER-K-DynamicGroupSingleBasic / QER_ZDynGroupSingleBasic at line 3
  • References QBM_PDBQueueInsert_Bulk
  • Trigger parent table: QERDynamicGroupBlackList

Typed Edges

  • queues DBQueue task QER_ZDynGroupSingleBasic at line 3 Bulk DBQueue insert -> QER-K-DynamicGroupSingleBasic / QER_ZDynGroupSingleBasic at line 3
  • trigger on table QERDynamicGroupBlackList Trigger parent table: QERDynamicGroupBlackList
  • references source dbo.QBM_FGISessionContext source text reference
  • references source dbo.QBM_PDBQueueInsert_Bulk source text reference
  • references source dbo.QBM_PSessionErrorAdd source text reference

References

Referenced By

  • No direct source references extracted.

Complete Source

SQL34 lines
1CREATE trigger QER_TIQERDynamicGroupBlackList2  ON QERDynamicGroupBlackList FOR3INSERT NOT FOR Replication4AS5BEGIN6  DECLARE @GenProcID varchar(38) = dbo.QBM_FGISessionContext('')7  BEGIN TRY8    IF EXISTS(9      SELECT TOP 1 110      FROM inserted)11    GOTO start12    RETURN start:13    DECLARE @DBQueueElements_01 QBM_YDBQueueRaw14    INSERT INTO @DBQueueElements_01(object,15    subobject,16    genprocid)17    SELECT18      d.UID_Person,19      d.UID_DynamicGroup,20      @GenProcID21    FROM inserted d22    EXEC QBM_PDBQueueInsert_Bulk 'QER-K-DynamicGroupSingleBasic',23      @DBQueueElements_0124  END TRY25  BEGIN CATCH26    EXEC QBM_PSessionErrorAdd DEFAULT27    RAISERROR('',28    18,29    1)30      WITH NOWAIT31  END CATCH32  ende:33  RETURN34END
Open raw exported source
SQL ยท Raw6 lines
1  create   trigger QER_TIQERDynamicGroupBlackList on QERDynamicGroupBlackList  for Insert not for Replication as begin  declare @GenProcID varchar2(38) = dbo.QBM_FGISessionContext('') BEGIN TRY if exists (select top 1 1 from inserted) goto start return start: declare @DBQueueElements_01 QBM_YDBQueueRaw3 insert into @DBQueueElements_01 (object, subobject, genprocid) select d.UID_Person, d.UID_DynamicGroup , @GenProcID from inserted d exec QBM_PDBQueueInsert_Bulk4 'QER-K-DynamicGroupSingleBasic', @DBQueueElements_01 END TRY BEGIN CATCH exec QBM_PSessionErrorAdd default RAISERROR ('', 18, 1) WITH NOWAIT END CATCH5 ende: return end 6