dbo.DPR_FTProjectionRootRunning

SQL_INLINE_TABLE_VALUED_FUNCTION

Created 2026-04-14T23:20:35.500 · modified 2026-04-14T23:20:35.500 · source: live DB sys.objects/sys.sql_expression_dependencies.

Open formatted source/search result

Parameters

NameTypeOutput
No parameters.

Referenced objects

SchemaObjectColumn/minorClass
DialogConfigParmOBJECT_OR_COLUMN
DialogTableOBJECT_OR_COLUMN
DPRProjectionConfigStepOBJECT_OR_COLUMN
DPRProjectionStartInfoOBJECT_OR_COLUMN
DPRRootObjConnectionInfoOBJECT_OR_COLUMN
dboQBM_FCVStringToIntOBJECT_OR_COLUMN
dboQBM_FGIConfigparmValueOBJECT_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

1create function dbo.DPR_FTProjectionRootRunning ()      returns table as return (  select x.ObjectKeyRoot as ObjectKeyRoot , x.BaseTableName as BaseTableName
2 from ( select ci.ObjectKeyRoot, t.TableName as BaseTableName, t.UID_DialogTable , isnull(si.LastStart , '1899-12-30') as LastStart from DPRRootObjConnectionInfo
3 ci join DPRProjectionStartInfo si with (nolock) on ci.UID_DPRRootObjConnectionInfo = si.UID_DPRRootObjConnectionInfo join DialogTable t with (readpast
4) on ci.ObjectKeyRoot like '<Key><T>' + t.TableName + '</T>%' where (exists ( select top 1 1 from DPRProjectionConfigStep cs where cs.UID_DPRProjectionConfig
5 = si.UID_DPRProjectionConfig and cs.UID_LeftDPRSystemConnection = ci.UID_DPRSystemConnection ) or exists ( select top 1 1 from DPRProjectionConfigStep
6 cs where cs.UID_DPRProjectionConfig = si.UID_DPRProjectionConfig and cs.UID_RightDPRSystemConnection = ci.UID_DPRSystemConnection ) ) ) as x   left outer
7 join DialogConfigParm cp on LEFT(x.UID_DialogTable, 3) = LEFT(cp.UID_ConfigParm, 3) and cp.FullPath like 'TargetSystem\%\MaxFullsyncDuration' where dateadd
8(mi , case when cp.UID_ConfigParm is null then 720  when dbo.QBM_FCVStringToInt(right(dbo.QBM_FGIConfigparmValue(cp.FullPath),6), 720 ) > 10080 then 10080
9 else dbo.QBM_FCVStringToInt(right(dbo.QBM_FGIConfigparmValue(cp.FullPath),6), 720 ) end , isnull(x.LastStart , '1899-12-30') ) > getutcdate() ) 
10

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:35.500

None extracted.

Summary: reads/joins DPRRootObjConnectionInfo, DPRProjectionStartInfo, DialogTable, DPRProjectionConfigStep, DialogConfigParm; uses config TargetSystem\%\MaxFullsyncDuration

Declared parameters

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

DML targets

None extracted.

Called routines

None extracted.

Config/session

Config: TargetSystem\%\MaxFullsyncDuration

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.

Referencing objectRelationEvidence
dbo.DPR_PSlotResetWhileProj_LSQL expression dependencydbo · OBJECT_OR_COLUMN
dbo.DPR_PSlotResetWhileProj_Lsource text referencehas TRY/CATCH error handling