4

I am using Visual Studio 2019 Community edition. I was trying to configure and ADO Net Source using SQL Command. However, I need to pass parameters to it. Is there an easy way to inject SSIS Variables into it?

1 Answer 1

4

Yes, you can do it, using expression. Open data flow task, right-click on empty space there and choose "Properties". enter image description here

In "Properties" window choose "Expressions" enter image description here

In opened window choose [Your data source].[SqlCommand] and add you variable there in Expression input. enter image description here

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

1 Comment

Make sure you set DelayValidation = True when you use expressions. This tells the program that properties are being set during run time.

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.