dbo.QBM_TUAssembly_DialogWebServ
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: DialogWebService
Typed Edges
- queues DBQueue task QBM_ZScriptAssemblyReset at line 3 Single DBQueue insert -> QBM-K-ScriptAssemblyReset / QBM_ZScriptAssemblyReset at line 3
- trigger on table DialogWebService Trigger parent table: DialogWebService
- 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_TUAssembly_DialogWebServ2 ON DialogWebService FOR3UPDATE 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 IF EXISTS(13 SELECT TOP 1 114 FROM deleted)15 GOTO start16 RETURN start:17 IF18 UPDATE(CustomCMD) OR19 UPDATE(IsLocked) OR20 UPDATE(LastProxyCodeUpdate) OR21 UPDATE(ProxyCode)22 BEGIN23 EXEC QBM_PDBQueueInsert_Single 'QBM-K-ScriptAssemblyReset',24 'WebServices',25 '#',26 @GenProcID27 END28 END TRY29 BEGIN CATCH30 EXEC QBM_PSessionErrorAdd DEFAULT31 RAISERROR('',32 18,33 1)34 WITH NOWAIT35 END CATCH36END
Open raw exported source
1 create trigger QBM_TUAssembly_DialogWebServ on DialogWebService for Update not for Replication as begin declare @GenProcID varchar(38) = dbo.QBM_FGISessionContext2('') BEGIN TRY if exists (select top 1 1 from inserted) goto start if exists (select top 1 1 from deleted) goto start return start: if update(CustomCMD3) or update(IsLocked) or update(LastProxyCodeUpdate) or update(ProxyCode) begin exec QBM_PDBQueueInsert_Single 'QBM-K-ScriptAssemblyReset', 'WebServices'4, '#', @GenProcID end END TRY BEGIN CATCH exec QBM_PSessionErrorAdd default RAISERROR ('', 18, 1) WITH NOWAIT END CATCH end 5