dbo.DPR_FTSystemMapChildren
SQL_TABLE_VALUED_FUNCTION
Created 2026-04-14T23:16:47.190 · modified 2026-04-14T23:16:47.190 · source: live DB sys.objects/sys.sql_expression_dependencies.
Parameters
| Name | Type | Output |
|---|---|---|
@UID_Property1 | varchar | no |
Referenced objects
| Schema | Object | Column/minor | Class |
|---|---|---|---|
| dbo | DPRSystemMap | OBJECT_OR_COLUMN | |
| dbo | DPRSystemMap | UID_DPRSystemMap | OBJECT_OR_COLUMN |
| dbo | DPRSystemMap | MappingDirection | OBJECT_OR_COLUMN |
| dbo | DPRSystemMap | UID_BaseDPRSystemMap | OBJECT_OR_COLUMN |
| dbo | QBM_YSingleGUID | TYPE |
Source excerpt
First extracted SQL definition lines from the exported source. Use the full source page for complete context.
1create function dbo.DPR_FTSystemMapChildren (@UID_Property1 varchar(38) ) returns @erg table (UIDChild varchar(38) collate database_default primary key 2 ) with schemabinding as begin declare @Anzahl int declare @work dbo.QBM_YSingleGUID insert into @work(UID_SingleGuid) select @UID_Property1 select @Anzahl 3 = 1 while @Anzahl > 0 begin insert into @work(UID_SingleGuid) select distinct sm.UID_BaseDPRSystemMap from dbo.DPRSystemMap sm join @work ph on ph.UID_SingleGuid 4 = sm.UID_DPRSystemMap where sm.MappingDirection <> 'DoNotMap' and sm.UID_BaseDPRSystemMap > ' ' and not exists (select top 1 1 from @work e where e.UID_SingleGuid 5 = sm.UID_BaseDPRSystemMap ) select @Anzahl = @@ROWCOUNT end insert into @erg(UIDChild) select w.UID_SingleGuid from @work w endLabel: return end 6
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:16:47.190
None extracted.
Summary: writes INSERT into; reads/joins DPRSystemMap
Declared parameters
| Parameter | Type | Direction |
|---|---|---|
@UID_Property1 | 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_Property1 @erg @Anzahl @work @ROWCOUNT
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.DPR_VWorkflowHandlesProperty | SQL expression dependency | dbo · OBJECT_OR_COLUMN |
| dbo.DPR_VWorkflowReadsProperty | SQL expression dependency | dbo · OBJECT_OR_COLUMN |