dbo.ATT_P600B8EB3A312074D1A10A4A_

SQL_STORED_PROCEDURE

Created 2025-06-27T18:01:11.837 · modified 2026-04-14T23:20:42.907 · source: live DB sys.objects/sys.sql_expression_dependencies.

Open formatted source/search result

Parameters

NameTypeOutput
@uid_AttestationPolicyvarcharno

Referenced objects

SchemaObjectColumn/minorClass
AttestationCaseOBJECT_OR_COLUMN
AttestationCaseHasMControlOBJECT_OR_COLUMN
QBM_PSessionErrorAddOBJECT_OR_COLUMN
QBM_YParameterListTYPE
dboQBM_FGISessionErrorRethrowOBJECT_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   procedure ATT_P600B8EB3A312074D1A10A4A_(@uid_AttestationPolicy varchar(38) ) as begin declare @ergebnis int = 1 declare @Work QBM_YParameterList
2  SET XACT_ABORT OFF BEGIN TRY insert into @Work (Parameter2 ) select top 2000 c.UID_AttestationCase from AttestationCase c where c.UID_AttestationPolicy
3 = @uid_AttestationPolicy select @ergebnis = @@ROWCOUNT if @ergebnis = 0 begin goto endLabel end  delete AttestationCaseHasMControl from AttestationCaseHasMControl
4 ac with (forceSeek) join @Work w on ac.UID_AttestationCase = w.Parameter2  delete AttestationCase from AttestationCase ac with (forceseek) join @Work 
5w on ac.UID_AttestationCase = w.Parameter2  option (maxdop 1) END TRY BEGIN CATCH exec QBM_PSessionErrorAdd default declare @Rethrow varchar(1000) = dbo.QBM_FGISessionErrorRethrow
6() RAISERROR (@Rethrow, 18, 1) WITH NOWAIT END CATCH endLabel: return (@Ergebnis) end 
7

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:20:42.907

has TRY/CATCH error handling

Summary: calls QBM_PSessionErrorAdd; writes INSERT into, DELETE AttestationCaseHasMControl, DELETE AttestationCase; reads/joins AttestationCase, AttestationCaseHasMControl

Declared parameters

ParameterTypeDirection
@uid_AttestationPolicyvarchar(38)input

DML targets

INSERT into DELETE AttestationCaseHasMControl DELETE AttestationCase

Called routines

Config/session

Config: None extracted.

Session: None extracted.

DBQueue/tasks

None extracted.

Temp tables / referenced variables

Temp: None extracted.

Variables: @uid_AttestationPolicy @ergebnis @Work @ROWCOUNT @Rethrow @Ergebnis

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.

Referencing objectRelationEvidence
dbo.ATT_ZHelperAttestationPolicySQL expression dependencyOBJECT_OR_COLUMN
dbo.ATT_ZHelperAttestationPolicysource text referencehas TRY/CATCH error handling