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.
Parameters
| Name | Type | Output |
|---|---|---|
| No parameters. | ||
Referenced objects
| Schema | Object | Column/minor | Class |
|---|---|---|---|
| DialogConfigParm | OBJECT_OR_COLUMN | ||
| DialogTable | OBJECT_OR_COLUMN | ||
| DPRProjectionConfigStep | OBJECT_OR_COLUMN | ||
| DPRProjectionStartInfo | OBJECT_OR_COLUMN | ||
| DPRRootObjConnectionInfo | OBJECT_OR_COLUMN | ||
| dbo | QBM_FCVStringToInt | OBJECT_OR_COLUMN | |
| dbo | QBM_FGIConfigparmValue | 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.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.
Read/join references
SQL dependency metadata
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 object | Relation | Evidence |
|---|---|---|
| dbo.DPR_PSlotResetWhileProj_L | SQL expression dependency | dbo · OBJECT_OR_COLUMN |
| dbo.DPR_PSlotResetWhileProj_L | source text reference | has TRY/CATCH error handling |