I have an .sql file with scripts that include SQLCMD elements.
I need to have it run from an SSIS package.
I was unable to execute it from an \"Execute S
I believe you need to create an expression named Arguments with the value:
"-S server -U user -P pass -i " + @[User::FileNameView]
You may need to do some type casting if @[User::FileNameView] isn't a string.
@[User::FileNameView]