docs.ssis_ParameterList - V

type: V ( view ), modify_date: 2021-11-03 18:26:45

RepoObject_guid: 869A07F7-C23C-EC11-852D-A81E8446D5B0

Description

Examples

Entity Diagram

entity-docs.ssis_parameterlist

Columns

Table 1. Columns of docs.ssis_ParameterList - V
PK Column Name Data Type NULL? ID

varchar(50)

NOT NULL

varchar(200)

NOT NULL

nvarchar(max)

NULL

Foreign Key Diagram

entity_1_1_fk-docs.ssis_parameterlist

References

Referencing Objects

Object Reference Diagram - 1 1

entity_1_1_objectref-docs.ssis_parameterlist

Object Reference Diagram - Referenced - 30 0

entity_30_0_objectref-docs.ssis_parameterlist

Object Reference Diagram - Referencing - 0 30

entity_0_30_objectref-docs.ssis_parameterlist

Column Reference Diagram

entity_1_1_colref-docs.ssis_parameterlist

Indexes

idx_ssis_ParameterList__1

Column Details

_

AntoraModule

AntoraModule

varchar(50)

NOT NULL

PackageName

PackageName

varchar(200)

NOT NULL

ParameterList

ParameterList

nvarchar(max)

NULL

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