I have Data flow task. Final step of it is the OLE DB Destination component. My goal is to update existing table. The table has fields Id, Query and some others. The OLE DB Destination has input columns rowId, queryString. I'm trying to use DataAccessMode: SQL command. But if I write something like
UPDATE [queryTable]
SET [Query] = [queryString]
WHERE [Id] = [rowId]
I get error "Invalid column name 'rowId'"
I guess I should write something like [Input Columns].[rowId] but I don't know exactly.