SQLTeam.com | Weblogs | Forums

SSIS Task - Insert Variables into Table

I have an SSIS SQL Task which is trying to insert variable values into this table:

Insert into MyTable (Col1, Col2, Col3)
Values (?,?), 'Nothing to process today';

The 2 related variables do exist (as number 0 and 1) and I've configured the SQL task to reference them.

But the Task fails with "syntax error or permissions violation error". Any ideas? Thanks

This is the case I think:

Insert into MyTable (Col1, Col2, Col3)
Values (?,?, 'Nothing to process today');

1 Like

Your suggestion worked @RogierPronk.Thank you.