dbo.LDP_TUTSBSpecificGroupBehavior
SQL_TRIGGER parent TSBSpecificGroupBehavior
Created 2026-04-14T23:20:50.270 · modified 2026-04-14T23:23:08.830 · source: live DB sys.objects/sys.sql_expression_dependencies.
Parameters
| Name | Type | Output |
|---|---|---|
| No parameters. | ||
Referenced objects
| Schema | Object | Column/minor | Class |
|---|---|---|---|
| deleted | OBJECT_OR_COLUMN | ||
| inserted | OBJECT_OR_COLUMN | ||
| LDAPAccountInLDAPGroup | OBJECT_OR_COLUMN | ||
| LDAPGroup | OBJECT_OR_COLUMN | ||
| QBM_PDBQueueInsert_Bulk | OBJECT_OR_COLUMN | ||
| QBM_PSessionErrorAdd | OBJECT_OR_COLUMN | ||
| QBM_YDBQueueRaw | TYPE | ||
| QBM_YParameterList | TYPE | ||
| QBM_YSingleGUID | TYPE | ||
| TSBSpecificGroupBehavior | OBJECT_OR_COLUMN | ||
| dbo | QBM_FGISessionContext | OBJECT_OR_COLUMN |
Source excerpt
First extracted SQL definition lines from the exported source. Use the full source page for complete context.
1create trigger LDP_TUTSBSpecificGroupBehavior on TSBSpecificGroupBehavior for update not for Replication as begin declare @GenProcID varchar(38 2) = dbo.QBM_FGISessionContext('') declare @ReallyChanged QBM_YParameterList BEGIN TRY if exists (select top 1 1 from inserted) goto start if exists (select 3 top 1 1 from deleted) goto start return start: if not (update( PFDInheritOverwrite ) or update( PTDInheritOverwrite ) or update( PSIInheritOverwrite ) 4 or update( PMDInheritOverwrite ) or update( ADAInheritOverwrite ) ) begin goto EndLabel end insert into @ReallyChanged(Parameter1) select ovr.ObjectKeyGroup 5 from TSBSpecificGroupBehavior ovr join deleted i on ovr.UID_TSBSpecificGroupBehavior = i.UID_TSBSpecificGroupBehavior where isnull(ovr.PFDInheritOverwrite 6,0) <> isnull(i.PFDInheritOverwrite, 0) or isnull(ovr.PTDInheritOverwrite,0) <> isnull(i.PTDInheritOverwrite, 0) or isnull(ovr.PSIInheritOverwrite,0) <> 7 isnull(i.PSIInheritOverwrite, 0) or isnull(ovr.PMDInheritOverwrite,0) <> isnull(i.PMDInheritOverwrite, 0) or isnull(ovr.ADAInheritOverwrite,0) <> isnull 8(i.ADAInheritOverwrite, 0) if @@ROWCOUNT = 0 begin goto EndLabel end declare @GUIDLDAPGroup QBM_YSingleGUID insert into @GUIDLDAPGroup(UID_SingleGuid) 9select g.UID_LDAPGroup from LDAPGroup g join @ReallyChanged ch on g.XObjectKey = ch.Parameter1 if @@ROWCOUNT > 0 begin declare @DBQueueElements_LDAPAccountInLDAPGroup 10 QBM_YDBQueueRaw insert into @DBQueueElements_LDAPAccountInLDAPGroup (object, subobject, genprocid) select x.uid, null, @GenProcID from ( select uig.UID_LDAPAccount 11 as uid from LDAPAccountInLDAPGroup uig join @GUIDLDAPGroup gg on uig.UID_LDAPGroup = gg.UID_SingleGuid ) as x exec QBM_PDBQueueInsert_Bulk 'LDP-K-LDAPAccountInLDAPGroup' 12, @DBQueueElements_LDAPAccountInLDAPGroup end END TRY BEGIN CATCH exec QBM_PSessionErrorAdd default RAISERROR ('', 18, 1) WITH NOWAIT END CATCH EndLabel: 13 return end 14
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, UPDATE not; reads/joins inserted, deleted, TSBSpecificGroupBehavior, LDAPGroup, LDAPAccountInLDAPGroup
Declared parameters
No declared parameters in sys.parameters for this object, or metadata was not available.
DML targets
INSERT into UPDATE notCalled routines
Read/join references
SQL dependency metadata
Config/session
Config: None extracted.
Session: None extracted.
DBQueue/tasks
LDP-K-LDAPAccountInLDAPGroupTemp tables / referenced variables
Temp: None extracted.
Variables: @GenProcID @ReallyChanged @ROWCOUNT @GUIDLDAPGroup @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.