I have an SSIS flow to insert data into a table. This flow used to work fine, until the data model was updated and a computed column was added. Now, when I attempt to load data, I get the following error:
SQL Server Error Messages - Msg 271 - The column '' cannot be modified because it is either a computed column or is the result of a UNION operator.
I have found a good explanation for this error message here: SQL Server Error Messages - Msg 271
The reason why I am reaching out to StackOverflow, is because this column is, in fact, not mapped in my SSIS flow. This means that my OLEDB Destination component is aware of the column's existance, but its mapping is set to <ignore column>
. This is the way I treat other columns such as generated IDs, and it always works fine.
So, hence the question: why am I getting this error message?
Once idea I have is that SSIS may be auto-generating SQL insert statements that map null
values to this computed column. If this is the case, is there any way to force SSIS to completely ignore the column's existence?