docs.ssis_ParameterList - V
type: V ( view ), modify_date: 2021-11-03 18:26:45
RepoObject_guid: 869A07F7-C23C-EC11-852D-A81E8446D5B0
Columns
PK | Column Name | Data Type | NULL? | ID |
---|---|---|---|---|
|
|
|||
|
|
|||
|
|
Indexes
idx_ssis_ParameterList__1
-
IndexSemanticGroup: no_group
-
[column-AntoraModule]; varchar(50)
-
[column-PackageName]; varchar(200)
-
-
PK, Unique, Real: 0, 0, 0
sql_modules_definition
docs.ssis_ParameterList - V script
CREATE View [docs].[ssis_ParameterList]
As
Select
AntoraModule
, PackageName
, ParameterList =
--
String_Agg (
Concat (
Cast(N'' As NVarchar(Max))
, '[#parameter-'
, docs.fs_cleanStringForAnchorId ( ParameterName )
, ']'
, Char ( 13 ) + Char ( 10 )
, '=== '
, docs.fs_cleanStringForHeader ( ParameterName )
, Char ( 13 ) + Char ( 10 ) + Char ( 13 ) + Char ( 10 )
--table start
, '[cols="1,4l"]' + Char ( 13 ) + Char ( 10 )
, '|===' + Char ( 13 ) + Char ( 10 )
, Char ( 13 ) + Char ( 10 )
--table content
--https://docs.microsoft.com/en-us/dotnet/api/microsoft.sqlserver.dts.runtime.wrapper.datatype?view=sqlserver-2019
, '|' + 'ParameterDataType' + Char ( 13 ) + Char ( 10 ) + '|' + ParameterDataType
+ Char ( 13 ) + Char ( 10 ) + Char ( 13 ) + Char ( 10 )
, '|' + 'ParameterValue' + Char ( 13 ) + Char ( 10 ) + '|' + ParameterValue + Char ( 13 )
+ Char ( 10 ) + Char ( 13 ) + Char ( 10 )
, '|' + 'ExpressionValue' + Char ( 13 ) + Char ( 10 ) + '|' + ExpressionValue + Char ( 13 )
+ Char ( 10 ) + Char ( 13 ) + Char ( 10 )
--table end
, '|===' + Char ( 13 ) + Char ( 10 )
)
, Char ( 13 ) + Char ( 10 )
) Within Group(Order By
ParameterName)
From
ssis.PackageParameter
Group By
AntoraModule
, PackageName
sql