dbo.DPR_TDDPRProjectionConfigStep

SQL_TRIGGER parent DPRProjectionConfigStep

Created 2025-06-27T18:01:03.173 · modified 2026-04-14T23:23:08.233 · 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
DPRProjectionStepQuotaOBJECT_OR_COLUMN
DPRSystemObjectMatchSetsOBJECT_OR_COLUMN
QBM_PSessionErrorAddOBJECT_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

1 create   trigger DPR_TDDPRProjectionConfigStep on DPRProjectionConfigStep  for delete not for replication as begin  BEGIN TRY if exists (select
2 top 1 1 from deleted d where d.UID_LeftDPRProjectionQuota > ' ' ) begin delete DPRProjectionStepQuota from DPRProjectionStepQuota x join deleted d on 
3x.UID_DPRProjectionStepQuota = d.UID_LeftDPRProjectionQuota end if exists (select top 1 1 from deleted d where d.UID_RightDPRProjectionQuota > ' ' ) begin
4 delete DPRProjectionStepQuota from DPRProjectionStepQuota x join deleted d on x.UID_DPRProjectionStepQuota = d.UID_RightDPRProjectionQuota end if exists
5 (select top 1 1 from deleted d where d.UID_DPRSystemObjectMatchSets > ' ' ) begin delete DPRSystemObjectMatchSets from DPRSystemObjectMatchSets x join
6 deleted d on x.UID_DPRSystemObjectMatchSets = d.UID_DPRSystemObjectMatchSets end END TRY BEGIN CATCH exec QBM_PSessionErrorAdd default RAISERROR ('', 
718, 1) WITH NOWAIT END CATCH ende: 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.233

has TRY/CATCH error handling

Summary: calls QBM_PSessionErrorAdd; writes DELETE not, DELETE DPRProjectionStepQuota, DELETE DPRSystemObjectMatchSets; reads/joins deleted, DPRProjectionStepQuota, DPRSystemObjectMatchSets

Declared parameters

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

DML targets

DELETE not DELETE DPRProjectionStepQuota DELETE DPRSystemObjectMatchSets

Called routines

Config/session

Config: None extracted.

Session: None extracted.

DBQueue/tasks

None extracted.

Temp tables / referenced variables

Temp: None extracted.

Variables: None extracted.

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.