Back to OIM Explorer

dbo.QBM_TIAssembly_DialogObjHasM

Database TriggerSQL_TRIGGERSandbox DB

Database Trigger on DialogObjectHasMethod. Single DBQueue insert -> QBM-K-ScriptAssemblyReset / QBM_ZScriptAssemblyReset at line 2; References QBM_PDBQueueInsert_Single; Trigger parent table: DialogObjectHasMethod

Source: sandbox-db sys.sql_modules

Source size: 448 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

  • Single DBQueue insert -> QBM-K-ScriptAssemblyReset / QBM_ZScriptAssemblyReset at line 2
  • References QBM_PDBQueueInsert_Single
  • Trigger parent table: DialogObjectHasMethod

Typed Edges

  • queues DBQueue task QBM_ZScriptAssemblyReset at line 2 Single DBQueue insert -> QBM-K-ScriptAssemblyReset / QBM_ZScriptAssemblyReset at line 2
  • trigger on table DialogObjectHasMethod Trigger parent table: DialogObjectHasMethod
  • references source dbo.QBM_FGISessionContext source text reference
  • references source dbo.QBM_PDBQueueInsert_Single source text reference
  • references source dbo.QBM_PSessionErrorAdd source text reference

References

Referenced By

  • No direct source references extracted.

Complete Source

SQL25 lines
1CREATE trigger QBM_TIAssembly_DialogObjHasM2  ON DialogObjectHasMethod 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    EXEC QBM_PDBQueueInsert_Single 'QBM-K-ScriptAssemblyReset',14    'DlgMth',15    '#',16      @GenProcID17  END TRY18  BEGIN CATCH19    EXEC QBM_PSessionErrorAdd DEFAULT20    RAISERROR('',21    18,22    1)23      WITH NOWAIT24  END CATCH25END
Open raw exported source
SQL ยท Raw4 lines
1  create   trigger QBM_TIAssembly_DialogObjHasM on DialogObjectHasMethod  for insert not for Replication as begin  declare @GenProcID varchar(382) = dbo.QBM_FGISessionContext('') BEGIN TRY if exists (select top 1 1 from inserted) goto start return start: exec QBM_PDBQueueInsert_Single 'QBM-K-ScriptAssemblyReset'3, 'DlgMth', '#', @GenProcID END TRY BEGIN CATCH exec QBM_PSessionErrorAdd default RAISERROR ('', 18, 1) WITH NOWAIT END CATCH end 4