<?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 Re: Finding the records that participate in a relationship in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/finding-the-records-that-participate-in-a/m-p/81405#M4715</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the end I used something similar to what you describe, except I did&lt;/P&gt;&lt;P&gt;it straight in SQL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the code I used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select vs.PropertyID&lt;/P&gt;&lt;P&gt;         , vp.PROPERTY_ID as VALUATIONPROPERTY&lt;/P&gt;&lt;P&gt;         , p.PROPERTY_ID as PROPERTY&lt;/P&gt;&lt;P&gt;from new_valuation_fc vs&lt;/P&gt;&lt;P&gt;	 left outer join&lt;/P&gt;&lt;P&gt;	 old_propery_fc vp&lt;/P&gt;&lt;P&gt;	 on vp.PROPERTY_ID = vs.PropertyID&lt;/P&gt;&lt;P&gt;	 left outer join&lt;/P&gt;&lt;P&gt;	 new_property_fc p&lt;/P&gt;&lt;P&gt;	 on vs.PropertyID = p.PROPERTY_ID&lt;/P&gt;&lt;P&gt;where p.PROPERTY_ID is null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That gave me everything in the new_valuation_fc linked to PropertyIDs&lt;/P&gt;&lt;P&gt;that do not exist in the new_property_fc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had some help from a colleague with this and it seemed to do the trick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Hanlie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2020-10-26 19:38 GMT+02:00, Dana Nolan &amp;lt;geonet@esri.com&amp;gt;:&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;Dana Nolan&lt;/P&gt;&lt;P&gt; replied&lt;/P&gt;&lt;P&gt;to the discussion&lt;/P&gt;&lt;P&gt;"Re: Finding the records that participate in a relationship"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To view the discussion, visit:&lt;/P&gt;&lt;P&gt;https://community.esri.com/message/961154-re-finding-the-records-that-participate-in-a-relationship?commentID=961154&amp;amp;et=watches.email.thread#comment-961154&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Oct 2020 06:00:29 GMT</pubDate>
    <dc:creator>HanliePretorius</dc:creator>
    <dc:date>2020-10-27T06:00:29Z</dc:date>
    <item>
      <title>Finding the records that participate in a relationship</title>
      <link>https://community.esri.com/t5/data-management-questions/finding-the-records-that-participate-in-a/m-p/81403#M4713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I had to replace one FC with another and at the same time I created another relationship class.&lt;/P&gt;&lt;P&gt;I started with old_property_fc and old_valuation_table with 1:M old_property_valuation_relationship.&lt;/P&gt;&lt;P&gt;Then I created new_property_fc and new_valuation_fc and 1:M new_property_valuation_relationship.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The trouble is that some of the features in new_valuation_fc seem to be related to features in old_property_fc. I think I know how it happened - operator error! - but now I want to find all the features in new_valuation_fc that are related to old_property_fc records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some way of doing this? Both FCs have 40 000+ records, so doing it manually will be an arduous task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm comfortable with SQL if that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2020 14:16:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/finding-the-records-that-participate-in-a/m-p/81403#M4713</guid>
      <dc:creator>HanliePretorius</dc:creator>
      <dc:date>2020-10-01T14:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the records that participate in a relationship</title>
      <link>https://community.esri.com/t5/data-management-questions/finding-the-records-that-participate-in-a/m-p/81404#M4714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sounds like you can join-by-attribute the old property records to the new feature class table, assuming the field that is used in the relationships to link tables is usable. When you start a join from the many side (table), it should find all the one side (feature) records that match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the link field cannot be used to match the records, you will have to look at other fields and/or clean up the data until you get a single field that can match old records to new features.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2020 17:37:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/finding-the-records-that-participate-in-a/m-p/81404#M4714</guid>
      <dc:creator>DanaNolan</dc:creator>
      <dc:date>2020-10-26T17:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the records that participate in a relationship</title>
      <link>https://community.esri.com/t5/data-management-questions/finding-the-records-that-participate-in-a/m-p/81405#M4715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the end I used something similar to what you describe, except I did&lt;/P&gt;&lt;P&gt;it straight in SQL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the code I used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select vs.PropertyID&lt;/P&gt;&lt;P&gt;         , vp.PROPERTY_ID as VALUATIONPROPERTY&lt;/P&gt;&lt;P&gt;         , p.PROPERTY_ID as PROPERTY&lt;/P&gt;&lt;P&gt;from new_valuation_fc vs&lt;/P&gt;&lt;P&gt;	 left outer join&lt;/P&gt;&lt;P&gt;	 old_propery_fc vp&lt;/P&gt;&lt;P&gt;	 on vp.PROPERTY_ID = vs.PropertyID&lt;/P&gt;&lt;P&gt;	 left outer join&lt;/P&gt;&lt;P&gt;	 new_property_fc p&lt;/P&gt;&lt;P&gt;	 on vs.PropertyID = p.PROPERTY_ID&lt;/P&gt;&lt;P&gt;where p.PROPERTY_ID is null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That gave me everything in the new_valuation_fc linked to PropertyIDs&lt;/P&gt;&lt;P&gt;that do not exist in the new_property_fc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had some help from a colleague with this and it seemed to do the trick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Hanlie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2020-10-26 19:38 GMT+02:00, Dana Nolan &amp;lt;geonet@esri.com&amp;gt;:&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;Dana Nolan&lt;/P&gt;&lt;P&gt; replied&lt;/P&gt;&lt;P&gt;to the discussion&lt;/P&gt;&lt;P&gt;"Re: Finding the records that participate in a relationship"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To view the discussion, visit:&lt;/P&gt;&lt;P&gt;https://community.esri.com/message/961154-re-finding-the-records-that-participate-in-a-relationship?commentID=961154&amp;amp;et=watches.email.thread#comment-961154&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2020 06:00:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/finding-the-records-that-participate-in-a/m-p/81405#M4715</guid>
      <dc:creator>HanliePretorius</dc:creator>
      <dc:date>2020-10-27T06:00:29Z</dc:date>
    </item>
  </channel>
</rss>

