<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to differentiate new records from updated records made in a SDE version in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/how-to-differentiate-new-records-from-updated/m-p/1497529#M9113</link>
    <description>&lt;P&gt;Good morning&lt;/P&gt;&lt;P&gt;Is there a way to differentiate between records added and records updated in traditional or branch versions?&lt;/P&gt;&lt;P&gt;I tried this code, but I did not see a way to differentiate them:&lt;/P&gt;&lt;P&gt;SELECT [MyRecordID], additional fields, ...&lt;BR /&gt;FROM [SchemaOwner].[a4313]&lt;BR /&gt;WHERE SDE_STATE_ID IN&lt;BR /&gt;(SELECT STATE_ID&lt;BR /&gt;FROM SDE.sde_STATES&lt;BR /&gt;WHERE LINEAGE_NAME IN&lt;BR /&gt;(SELECT LINEAGE_NAME&lt;BR /&gt;FROM SDE.sde_STATES&lt;BR /&gt;WHERE STATE_ID =&lt;BR /&gt;(SELECT STATE_ID FROM SDE.sde_VERSIONS WHERE NAME ='MyVersion'&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jun 2024 11:21:59 GMT</pubDate>
    <dc:creator>SanchezNuñez</dc:creator>
    <dc:date>2024-06-26T11:21:59Z</dc:date>
    <item>
      <title>How to differentiate new records from updated records made in a SDE version</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-differentiate-new-records-from-updated/m-p/1497529#M9113</link>
      <description>&lt;P&gt;Good morning&lt;/P&gt;&lt;P&gt;Is there a way to differentiate between records added and records updated in traditional or branch versions?&lt;/P&gt;&lt;P&gt;I tried this code, but I did not see a way to differentiate them:&lt;/P&gt;&lt;P&gt;SELECT [MyRecordID], additional fields, ...&lt;BR /&gt;FROM [SchemaOwner].[a4313]&lt;BR /&gt;WHERE SDE_STATE_ID IN&lt;BR /&gt;(SELECT STATE_ID&lt;BR /&gt;FROM SDE.sde_STATES&lt;BR /&gt;WHERE LINEAGE_NAME IN&lt;BR /&gt;(SELECT LINEAGE_NAME&lt;BR /&gt;FROM SDE.sde_STATES&lt;BR /&gt;WHERE STATE_ID =&lt;BR /&gt;(SELECT STATE_ID FROM SDE.sde_VERSIONS WHERE NAME ='MyVersion'&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 11:21:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-differentiate-new-records-from-updated/m-p/1497529#M9113</guid>
      <dc:creator>SanchezNuñez</dc:creator>
      <dc:date>2024-06-26T11:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to differentiate new records from updated records made in a SDE version</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-differentiate-new-records-from-updated/m-p/1502661#M9151</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/467729"&gt;@SanchezNuñez&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I cant provide you with a query, however you can utilize Editor Tracking with traditional versioning to assist you.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/introduction-to-editor-tracking.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/introduction-to-editor-tracking.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Branch versioning already has editor tracking built in automatically.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marlon&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 18:31:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-differentiate-new-records-from-updated/m-p/1502661#M9151</guid>
      <dc:creator>MarlonAmaya</dc:creator>
      <dc:date>2024-07-08T18:31:47Z</dc:date>
    </item>
  </channel>
</rss>

