dbo.QER_FTPersonsAreMe
SQL_INLINE_TABLE_VALUED_FUNCTION
Created 2026-04-14T23:20:36.100 · modified 2026-04-14T23:20:36.100 · source: live DB sys.objects/sys.sql_expression_dependencies.
Parameters
| Name | Type | Output |
|---|---|---|
@UID_Person | varchar | no |
Referenced objects
| Schema | Object | Column/minor | Class |
|---|---|---|---|
| dbo | Person | OBJECT_OR_COLUMN | |
| dbo | Person | UID_Person | OBJECT_OR_COLUMN |
| dbo | Person | UID_PersonMasterIdentity | 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.QER_FTPersonsAreMe (@UID_Person varchar(38)) returns table with schemabinding as return ( select @UID_Person as UID_Person , 2 p.UID_PersonMasterIdentity , case when p.UID_PersonMasterIdentity IS null then 1 else 0 end as IsMasterIdentity , case when p.UID_PersonMasterIdentity 3 > ' ' then 1 else 0 end as IsSubIdentity from dbo.Person p where p.UID_Person = @UID_Person union select p.UID_PersonMasterIdentity, null, 1, 0 from dbo.Person 4 p where p.UID_Person = @UID_Person and p.UID_PersonMasterIdentity > ' ' union select distinct p.UID_Person, p.UID_PersonMasterIdentity, case when p.UID_PersonMasterIdentity 5 IS null then 1 else 0 end as IsMasterIdentity , case when p.UID_PersonMasterIdentity > ' ' then 1 else 0 end as IsSubIdentity from dbo.Person p join( 6 select @UID_Person as uid_person union select p.UID_PersonMasterIdentity from dbo.Person p where p.UID_Person = @UID_Person and p.UID_PersonMasterIdentity 7 > ' ' ) e on p.UID_PersonMasterIdentity = e.UID_Person ) 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:20:36.100
None extracted.
Summary: reads/joins Person
Declared parameters
| Parameter | Type | Direction |
|---|---|---|
@UID_Person | varchar(38) | input |
DML targets
None extracted.Called 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_Person
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.