Skip to main content
Question

How to assign values from SQL Server Sequence to ESRI Feature Class Record

  • June 10, 2019
  • 1 reply
  • 33 views

Forum|alt.badge.img

I have an ESRI Feature Class that is updated using a Collector Field Application. I want to run a nightly process that finds all the new records and assign a unique ID Value that is not ObjectID or GlobalID. My Plan was to test the Feature Class for new records and use a SQL Server Sequence(Using SQL Executor) to assign a Unique ID. I have it just about setup but am having a problem adding the Result Values from the Sequence to the Feature Class. I am using SELECT NEXT VALUE FOR TESTSequence_seq AS FC_SEQUENCE. How do i combine the Seqence values and the Feature Class?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

Forum|alt.badge.img
  • Author
  • 12 replies
  • June 11, 2019

I figured it out. In the SQL Executor Transformer has a setting for combining attributes. I used the Keep Initiator Attributes if Conflicts setting. It joined the Sequence values to the table records