Skip to main content
Question

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

  • June 10, 2019
  • 1 reply
  • 27 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?

1 reply

Forum|alt.badge.img

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings