I have a variable called 'Test123' - it is a string.
I then have an Execute SQL Task. I have mapped the variable as a parameter - Direction = Input \ Data Type = String \ Parameter Name = 0 \ Size = 512
The actual SQL is thus:
update [MyTable] set MyField = ? where MyField2 = 'xxx'
However, I keep receiving the error:
"Incorrect syntax near '?'
Where am I going wrong? I thought you use the question mark for parameters (that I've mapped to the variable)