dbo.QER_TDQEREntitlementSource
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 -> QER-K-EntitlementSourceMakeProc / QER_ZEntitlementSourceMakeProc at line 2
- References QBM_PDBQueueInsert_Single
- Trigger parent table: QEREntitlementSource
Typed Edges
- queues DBQueue task QER_ZEntitlementSourceMakeProc at line 2 Single DBQueue insert -> QER-K-EntitlementSourceMakeProc / QER_ZEntitlementSourceMakeProc at line 2
- trigger on table QEREntitlementSource Trigger parent table: QEREntitlementSource
- 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 QER_TDQEREntitlementSource2 ON QEREntitlementSource 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 EXEC QBM_PDBQueueInsert_Single 'QER-K-EntitlementSourceMakeProc',15 '',16 '',17 @GenProcID18 END TRY19 BEGIN CATCH20 EXEC QBM_PSessionErrorAdd DEFAULT21 RAISERROR('',22 18,23 1)24 WITH NOWAIT25 END CATCH26 ende:27 RETURN28END
Open raw exported source
1create trigger QER_TDQEREntitlementSource on QEREntitlementSource 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('') exec QBM_PDBQueueInsert_Single3 'QER-K-EntitlementSourceMakeProc', '', '', @GenProcID END TRY BEGIN CATCH exec QBM_PSessionErrorAdd default RAISERROR ('', 18, 1) WITH NOWAIT END CATCH4 ende: return end 5