dbo.LDP_TDTSBSpecificGroupBehavior

SQL_TRIGGER parent TSBSpecificGroupBehavior

Created 2026-04-14T23:20:50.277 · modified 2026-04-14T23:23:08.830 · source: live DB sys.objects/sys.sql_expression_dependencies.

Open formatted source/search result

Parameters

NameTypeOutput
No parameters.

Referenced objects

SchemaObjectColumn/minorClass
deletedOBJECT_OR_COLUMN
LDAPAccountInLDAPGroupOBJECT_OR_COLUMN
LDAPGroupOBJECT_OR_COLUMN
QBM_PDBQueueInsert_BulkOBJECT_OR_COLUMN
QBM_PSessionErrorAddOBJECT_OR_COLUMN
QBM_YDBQueueRawTYPE
QBM_YSingleGUIDTYPE
dboQBM_FGISessionContextOBJECT_OR_COLUMN

Source excerpt

First extracted SQL definition lines from the exported source. Use the full source page for complete context.

Open full formatted source

1create   trigger LDP_TDTSBSpecificGroupBehavior on TSBSpecificGroupBehavior  for delete not for Replication as begin declare @GenProcID varchar(38
2) = dbo.QBM_FGISessionContext('') BEGIN TRY if exists (select top 1 1 from deleted) goto start return start: declare @GUIDLDAPGroup QBM_YSingleGUID insert
3 into @GUIDLDAPGroup(UID_SingleGuid) select g.UID_LDAPGroup from LDAPGroup g join deleted i on g.XObjectKey = i.ObjectKeyGroup if @@ROWCOUNT > 0 begin 
4declare @DBQueueElements_LDAPAccountInLDAPGroup QBM_YDBQueueRaw insert into @DBQueueElements_LDAPAccountInLDAPGroup (object, subobject, genprocid) select
5 x.uid, null, @GenProcID from ( select uig.UID_LDAPAccount as uid from LDAPAccountInLDAPGroup uig join @GUIDLDAPGroup gg on uig.UID_LDAPGroup = gg.UID_SingleGuid
6 ) as x exec QBM_PDBQueueInsert_Bulk 'LDP-K-LDAPAccountInLDAPGroup', @DBQueueElements_LDAPAccountInLDAPGroup end  END TRY BEGIN CATCH exec QBM_PSessionErrorAdd
7 default RAISERROR ('', 18, 1) WITH NOWAIT END CATCH EndLabel: return end 
8

Module relation graph

Loading module relation graph…

Source-derived context

Generated from exported SQL module definitions plus read-only sandbox sys.objects/sys.parameters/sys.sql_expression_dependencies metadata. This is factual source evidence, not a semantic guess.

provenance: SQL definition export provenance: sandbox DB metadata modified: 2026-04-14T23:23:08.830

inserts DBQueue tasks uses session context values has TRY/CATCH error handling

Summary: calls QBM_PDBQueueInsert_Bulk, QBM_PSessionErrorAdd; writes INSERT into, DELETE not; reads/joins deleted, LDAPGroup, LDAPAccountInLDAPGroup

Declared parameters

No declared parameters in sys.parameters for this object, or metadata was not available.

DML targets

INSERT into DELETE not

Config/session

Config: None extracted.

Session: None extracted.

DBQueue/tasks

LDP-K-LDAPAccountInLDAPGroup

Temp tables / referenced variables

Temp: None extracted.

Variables: @GenProcID @GUIDLDAPGroup @ROWCOUNT @DBQueueElements_LDAPAccountInLDAPGroup

Referenced by / reverse dependencies

Generated from live DB metadata, FK rows, and exported SQL dependency/source extraction. This is factual linkage evidence, not inferred behavior.

No reverse dependencies extracted.