dbo.QBM_TDDialogMultiLanguage
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-CommonIncSemaphor / QBM_ZDialogSemaphorIncGlobal at line 4
- References QBM_PDBQueueInsert_Single
- Trigger parent table: DialogMultiLanguage
Typed Edges
- queues DBQueue task QBM_ZDialogSemaphorIncGlobal at line 4 single DBQueue insert -> QBM-K-CommonIncSemaphor / QBM_ZDialogSemaphorIncGlobal at line 4
- trigger on table DialogMultiLanguage Trigger parent table: DialogMultiLanguage
- 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_TDDialogMultiLanguage2 ON DialogMultiLanguage FOR3DELETE NOT FOR Replication4AS5BEGIN6 BEGIN TRY7 IF EXISTS(8 SELECT TOP 1 19 FROM deleted)10 GOTO start11 RETURN start:12 DECLARE @GenProcID varchar(38)13 SELECT @GenProcID = dbo.QBM_FGISessionContext('')14 IF EXISTS(15 SELECT TOP 1 116 FROM deleted d17 JOIN dialogcolumn c18 ON d.uid_dialogcolumn = c.uid_dialogcolumn AND c.UID_DialogTable IN('QBM-T-QBMTree', 'QBM-T-DialogMethod',19 'QBM-T-DialogSheet'))20 BEGIN21 EXEC QBM_PDBQueueInsert_single 'QBM-K-CommonIncSemaphor',22 'DIALOG',23 '',24 @GenProcID25 END26 END TRY27 BEGIN CATCH28 EXEC QBM_PSessionErrorAdd DEFAULT29 RAISERROR('',30 18,31 1)32 WITH NOWAIT33 END CATCH34END
Open raw exported source
1 create trigger QBM_TDDialogMultiLanguage on DialogMultiLanguage for Delete not for Replication as begin BEGIN TRY if exists (select top 1 21 from deleted) goto start return start: declare @GenProcID varchar(38) select @GenProcID = dbo.QBM_FGISessionContext('') if exists (select top 1 1 from3 deleted d join dialogcolumn c on d.uid_dialogcolumn = c.uid_dialogcolumn and c.UID_DialogTable in ('QBM-T-QBMTree', 'QBM-T-DialogMethod', 'QBM-T-DialogSheet'4) ) begin exec QBM_PDBQueueInsert_single 'QBM-K-CommonIncSemaphor', 'DIALOG', '', @GenProcID end END TRY BEGIN CATCH exec QBM_PSessionErrorAdd 5default RAISERROR ('', 18, 1) WITH NOWAIT END CATCH end 6