question

jaijitendra avatar image
jaijitendra asked

How to change the SqlStatementSource in a SSIS package through job step advanced tab?

I have a ssis package deployed and created a sql agent job which executes the package.I need to change the SqlStatementSource in one of the sql task in package through job step advanced tab. Can any one help me how to do that? I somewhere read its possible but not able to recall how exactly it can be done?
ssissql server
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Alvin Ramard avatar image
Alvin Ramard answered
Try creating a parameter for your package and use expressions to assign it's value to the SqlStatementSource. In your job step, assign the desired value to this new parameter.
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.