dbo.TSB_TRMBUUNSRootB
Database TriggerSQL_TRIGGERSandbox DB
Interpretation
- Database trigger. Treat parent table and enqueue/object-layer calls as the main relation points.
Relations
- Trigger parent table: UNSRootB
Typed Edges
- trigger on table UNSRootB Trigger parent table: UNSRootB
- references source dbo.QBM_FGISessionContext source text reference
- references source dbo.QBM_PSessionErrorAdd source text reference
References
Referenced By
- No direct source references extracted.
Complete Source
1CREATE trigger TSB_TRMBUUNSRootB2 ON UNSRootB FOR3UPDATE NOT FOR Replication4AS5BEGIN6 DECLARE @Parameter nvarchar(1000)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 DECLARE @GenProcID varchar(38)18 SELECT @GenProcID = dbo.QBM_FGISessionContext('')19 END TRY20 BEGIN CATCH21 EXEC QBM_PSessionErrorAdd DEFAULT22 RAISERROR('',23 18,24 1)25 WITH NOWAIT26 END CATCH27 ende:28 RETURN29END
Open raw exported source
1 create trigger TSB_TRMBUUNSRootB on UNSRootB for Update not for Replication as begin declare @Parameter nvarchar(1000) BEGIN TRY if exists2 (select top 1 1 from inserted) goto start if exists (select top 1 1 from deleted) goto start return start: declare @GenProcID varchar(38) select @GenProcID3 = dbo.QBM_FGISessionContext('') END TRY BEGIN CATCH exec QBM_PSessionErrorAdd default RAISERROR ('', 18, 1) WITH NOWAIT END CATCH ende: return end 4