简体   繁体   中英

How to create and set a variable in azure data factory v2

How do I set an variable of type array of strings in ADF v2 so that I can iterate over each element? Each element represents a database name?

The 'Set Variable' activity has a dropdown but displays 'no results found'?

截屏 Many thanks,

from the official doc:

Use the Set Variable activity to set the value of an existing variable of type String, Bool, or Array defined in a Data Factory pipeline.

https://docs.microsoft.com/en-us/azure/data-factory/control-flow-set-variable-activity

You'll need to use the pipelines Variable first:

在此处输入图像描述

You can also find a good tutorial in here: https://www.mssqltips.com/sqlservertip/6136/azure-data-factory-pipeline-variables/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM