dbo.QBM_TIAssembly_DialogObject
Database TriggerSQL_TRIGGERSandbox DB
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 3
- References QBM_PDBQueueInsert_Single
- Trigger parent table: DialogObject
Typed Edges
- queues DBQueue task QBM_ZScriptAssemblyReset at line 3 Single DBQueue insert -> QBM-K-ScriptAssemblyReset / QBM_ZScriptAssemblyReset at line 3
- trigger on table DialogObject Trigger parent table: DialogObject
- 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
1CREATE trigger QBM_TIAssembly_DialogObject2 ON DialogObject 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 IF EXISTS(14 SELECT TOP 1 115 FROM inserted i16 WHERE17 i.SelectScript > ' ' OR i.InsertValues > ' ')18 BEGIN19 EXEC QBM_PDBQueueInsert_Single 'QBM-K-ScriptAssemblyReset',20 'DlgObj',21 '#',22 @GenProcID23 END24 END TRY25 BEGIN CATCH26 EXEC QBM_PSessionErrorAdd DEFAULT27 RAISERROR('',28 18,29 1)30 WITH NOWAIT31 END CATCH32END
Open raw exported source
1 create trigger QBM_TIAssembly_DialogObject on DialogObject for Insert not for Replication as begin declare @GenProcID varchar(38) = dbo.QBM_FGISessionContext2('') BEGIN TRY if exists (select top 1 1 from inserted) goto start return start: if exists (select top 1 1 from inserted i where i.SelectScript > ' ' 3or i.InsertValues > ' ' ) begin exec QBM_PDBQueueInsert_Single 'QBM-K-ScriptAssemblyReset', 'DlgObj', '#', @GenProcID end END TRY BEGIN CATCH exec QBM_PSessionErrorAdd4 default RAISERROR ('', 18, 1) WITH NOWAIT END CATCH end 5