dbo.ARS_FTAttestationRulerPA
SQL_TABLE_VALUED_FUNCTION
Created 2026-04-14T23:20:50.523 · modified 2026-04-14T23:20:50.523 · source: live DB sys.objects/sys.sql_expression_dependencies.
Parameters
| Name | Type | Output |
|---|---|---|
@UID_AttestationCase | varchar | no |
Referenced objects
| Schema | Object | Column/minor | Class |
|---|---|---|---|
| ADSAccountInADSGroup | OBJECT_OR_COLUMN | ||
| ADSGroup | OBJECT_OR_COLUMN | ||
| ADSGroupInADSGroup | OBJECT_OR_COLUMN | ||
| AttestationCase | OBJECT_OR_COLUMN | ||
| dbo | ARS_FTPersonFromEdsva | OBJECT_OR_COLUMN |
Source excerpt
First extracted SQL definition lines from the exported source. Use the full source page for complete context.
1create function dbo.ARS_FTAttestationRulerPA (@UID_AttestationCase varchar(38) ) returns @erg table ( UID_Person varchar(38) collate database_default ) 2 AS begin declare @Ownerlist nvarchar(max) = null declare @ObjectKeyBase varchar(138) = null select top 1 @ObjectKeyBase = ac.ObjectKeyBase from AttestationCase 3 ac where ac.UID_AttestationCase = @UID_AttestationCase if @ObjectKeyBase is null begin goto endlabel end if @ObjectKeyBase like '<Key><T>ADSGroup</T>%' 4 begin select top 1 @Ownerlist = g.edsvaSecondaryOwners from ADSGroup g where g.XObjectKey = @ObjectKeyBase end if @ObjectKeyBase like '<Key><T>ADSAccountInADSGroup</T>%' 5 begin select top 1 @Ownerlist = g.edsvaSecondaryOwners from ADSAccountInADSGroup gig join ADSGroup g on g.UID_ADSGroup = gig.UID_ADSGroup where gig.XObjectKey 6 = @ObjectKeyBase end If @ObjectKeyBase like '<Key><T>ADSGroupInADSGroup</T>%' begin select top 1 @Ownerlist = g.edsvaSecondaryOwners from ADSGroupInADSGroup 7 gg JOIN ADSGroup g on g.UID_ADSGroup = gg.UID_ADSGroupParent where gg.XObjectKey = @ObjectKeyBase end if @Ownerlist is null begin goto endLabel end insert 8 into @erg(UID_Person) select l.UID_Person from dbo.ARS_FTPersonFromEdsva(@Ownerlist) l endLabel: return end 9
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:50.523
None extracted.
Summary: writes INSERT into; reads/joins AttestationCase, ADSGroup, ADSAccountInADSGroup, ADSGroupInADSGroup, ARS_FTPersonFromEdsva
Declared parameters
| Parameter | Type | Direction |
|---|---|---|
@UID_AttestationCase | varchar(38) | input |
DML targets
INSERT intoCalled routines
None extracted.
Read/join references
SQL dependency metadata
Config/session
Config: None extracted.
Session: None extracted.
DBQueue/tasks
None extracted.Temp tables / referenced variables
Temp: None extracted.
Variables: @UID_AttestationCase @erg @Ownerlist @ObjectKeyBase
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 object | Relation | Evidence |
|---|---|---|
| dbo.GEN_FT06941843E5E88226E59DAAE4 | SQL expression dependency | dbo · OBJECT_OR_COLUMN |
| dbo.GEN_FT71486EB9289E8C428D0BC8BD | SQL expression dependency | dbo · OBJECT_OR_COLUMN |