I am using an SQLExecutor to write spatial data into an ArcGIS Enterprise database table.
It took me a while to get it done, and there is still more work to do but currently a smaller chunk of data is for the first time written into the table. What bugs me is the 4 lines of warning that I get for every feature written.
Microsoft SQL Server Spatial Reader: Getting Custom SQL schema failed. Custom SQL query 'INSERT
INTO
building (OBJECTID,SHAPE)
VALUES (27, geometry::STGeomFromWKB(here is of course the binary, 25832))' may execute in an unexpected manner. Make sure all columns are named (any ambiguous columns, e.g. GEOM.STBuffer(1), must have an AS clause). If there is an ORDER BY clause, either remove it or add a TOP clause. If this warning is generated in a SQLCreator or SQLExecutor, you can avoid it by picking Data Features in the Features to Read field
- the message coming from Microsoft SQL Server Spatial Reader seems strange
- how can I avoid this in the SQLExecutor? Should I set the ‘Features to Read’ to Data Features?