dbo.QBM_FTJobCreateDBParameter

SQL_INLINE_TABLE_VALUED_FUNCTION

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

Open formatted source/search result

Parameters

NameTypeOutput
@ComponentClassnvarcharno
@TaskNamenvarcharno
@ParameterSoFarQBM_YParameterListno

Referenced objects

SchemaObjectColumn/minorClass
dboDialogDatabaseOBJECT_OR_COLUMN
dboDialogDatabaseIsMainDatabaseOBJECT_OR_COLUMN
dboDialogDatabaseConnectionProviderOBJECT_OR_COLUMN
dboDialogDatabaseConnectionStringOBJECT_OR_COLUMN
dboJobComponentOBJECT_OR_COLUMN
dboJobComponentUID_JobComponentOBJECT_OR_COLUMN
dboJobComponentComponentClassOBJECT_OR_COLUMN
dboJobParameterOBJECT_OR_COLUMN
dboJobParameterUID_JobTaskOBJECT_OR_COLUMN
dboJobParameterNameOBJECT_OR_COLUMN
dboJobTaskOBJECT_OR_COLUMN
dboJobTaskUID_JobTaskOBJECT_OR_COLUMN
dboJobTaskUID_JobComponentOBJECT_OR_COLUMN
dboJobTaskTaskNameOBJECT_OR_COLUMN
dboQBM_YParameterListTYPE

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_FTJobCreateDBParameter(@ComponentClass nvarchar(1024) , @TaskName nvarchar(256) , @ParameterSoFar dbo.QBM_YParameterList readOnly
2  )  returns table with schemabinding as return (   select 'ConnectionProvider' as ParameterName , d.ConnectionProvider as ParameterValue from dbo.DialogDatabase
3 d with (nolock) where IsMainDatabase = 1 and exists (select top 1 1 from dbo.JobComponent c join dbo.JobTask t on c.UID_JobComponent = t.UID_JobComponent
4 join dbo.JobParameter p on p.UID_JobTask = t.UID_JobTask where c.ComponentClass = @ComponentClass and t.TaskName = @TaskName and p.Name = 'ConnectionProvider'
5 ) and Not exists (select top 1 1 from @ParameterSoFar f where f.Parameter1 = 'ConnectionProvider' ) union all  select 'ConnectionString' , d.ConnectionString
6 from dbo.DialogDatabase d with (nolock) where IsMainDatabase = 1 and exists (select top 1 1 from dbo.JobComponent c join dbo.JobTask t on c.UID_JobComponent
7 = t.UID_JobComponent join dbo.JobParameter p on p.UID_JobTask = t.UID_JobTask where c.ComponentClass = @ComponentClass and t.TaskName = @TaskName and 
8p.Name = 'ConnectionString' ) and Not exists (select top 1 1 from @ParameterSoFar f where f.Parameter1 = 'ConnectionString' ) ) 
9

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

None extracted.

Summary: reads/joins DialogDatabase, JobComponent, JobTask, JobParameter

Declared parameters

ParameterTypeDirection
@ComponentClassnvarchar(1024)input
@TaskNamenvarchar(256)input
@ParameterSoFarqbm_yparameterlistinput

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: @ComponentClass @TaskName @ParameterSoFar

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_PJobCreateSQL expression dependencydbo · OBJECT_OR_COLUMN
dbo.QBM_PJobCreatesource text referencecreates object-layer jobs via QBM_PJobCreate*, uses session context values, has TRY/CATCH error handling