dbo.QBM_FTPrimaryKeyInfo_BTV

SQL_INLINE_TABLE_VALUED_FUNCTION

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

Open formatted source/search result

Parameters

NameTypeOutput
No parameters.

Referenced objects

SchemaObjectColumn/minorClass
DialogColumnOBJECT_OR_COLUMN
DialogTableOBJECT_OR_COLUMN
dboQBM_FTPrimaryKeyInfo_BTOBJECT_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.QBM_FTPrimaryKeyInfo_BTV()   returns table as return ( select TableName,ColumnName, UID_DialogColumn, UID_DialogTable, TableType, OrdinalPosition
2, IsPKMember, IsPKName1, IsPKName2, UID_DialogColumnUnionView from dbo.QBM_FTPrimaryKeyInfo_BT() v union all select vt.TableName, vc.ColumnName, vc.UID_DialogColumn
3, vt.UID_DialogTable, vt.TableType , vb.OrdinalPosition , vb.IsPKMember , vb.IsPKName1 , vb.IsPKName2 , vc.UID_DialogColumnUnionView from DialogTable vt
4 with (readpast) join DialogColumn vc with (readpast) on vt.UID_DialogTable = vc.UID_DialogTable join dbo.QBM_FTPrimaryKeyInfo_BT() vb on vc.UID_BaseColumn
5 = vb.UID_DialogColumn  where vb.TableType in ( 'B') ) 
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:32.100

None extracted.

Summary: reads/joins QBM_FTPrimaryKeyInfo_BT, DialogTable, DialogColumn

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: None extracted.

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.QBM_FTPrimaryKeyInfo_BTVPSQL expression dependencydbo · OBJECT_OR_COLUMN
dbo.QBM_PDialogTablePKNameCorrectSQL expression dependencydbo · OBJECT_OR_COLUMN
dbo.QBM_FTPrimaryKeyInfo_BTVPsource text referenceSQL_INLINE_TABLE_VALUED_FUNCTION
dbo.QBM_PDialogTablePKNameCorrectsource text referencehas TRY/CATCH error handling