[英]SQL Query using script activity in ADF
You are trying to make tableName dynamic.您正在尝试使 tableName 动态化。 It won't work like that.
它不会那样工作。 Better create a variable and use Set variable activity to set the tableName.
最好创建一个变量并使用 Set variable activity 来设置 tableName。 Then use the same in your script Activity.
然后在您的脚本活动中使用相同的内容。
select * from @{variables('tableName')} where id=@id
Set variable activity settings:设置可变活动设置:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.