I have a source table in Azure SQL Database with employees. It's a staging table in an ETL environment. Then I have a destination table called DimEmployee.
I want to use Upsert with the Copy data action. In DimEmployee I have a primary key column with identity(1,1) called EmployeeID. If I do a plain Insert action in Sink to DimEmployee it works after mapping the fields. EmployeeID is not mapped becuase it's an identity field.
If I change to Upsert and set the key field that is the link between the tables I get an error. It says it can't insert NULL into EmployeeID. But that field is an autoincrement field and primary key.
Anyone experienced this?
I've attached the error message I've got.
