Just wondered if anyone could explain how the "insert into identity column" option in the format parameters of the SQL Server spatial writer works, please.
I want the writer to create a table with an Identity column called "Row_No" and populate it as the features flow into it, so I created an Identity column called "Row_No" in the writer, then set the "insert into identity column" option to 'yes'
but get the following error : "Cannot insert the value NULL into column 'row_no'" and nothing gets written to the table.
If I set the set the "insert into identity column" option to 'no' then it populates the "Row_No" field as I'd hoped but the log shows : "identity' of attribute `row_no' of feature type `test' is not supported for writing. Attribute will be ignored by writer"
It's as if the yes and no option do the opposite of what I think they're going to do!
I couldn't see anything in the writer reference help so I'm confused! Help!
Cheers
Batesy
(I'm using FME Desktop 2012 (SQL Server edition) 32-bit)