1

I have the script activity in ADF pipeline:

enter image description here

On running this, I see the following error. What does this indicate and how do fix this?

enter image description here

1

1 Answer 1

2

You are trying to make tableName dynamic. It won't work like that. Better create a variable and use Set variable activity to set the tableName. Then use the same in your script Activity.

select * from @{variables('tableName')} where id=@id

Set variable activity settings: enter image description here

Here is the script activity settings: enter image description here

Output : enter image description here

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.