<?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: Create RelationShip Class using File Geodatabase API in File Geodatabase API Questions</title>
    <link>https://community.esri.com/t5/file-geodatabase-api-questions/create-relationship-class-using-file-geodatabase/m-p/296124#M491</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;File Geodatabase SQL is based mostly on the SQL92 standard which does not include FROM in an a UPDATE. Normally this sort of update would be performed using a subquery.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The 1.0-1.3 versions of the API are based on File Geodatabase as it existed at 10.0. This did not include support for aliasing. So "SET Field1=a.Field2 FROM Table2 a , Table1 b where a.OID=b.OID" would return an error in any case. The next release which is expected later in 2013 will be updated to 10.2 File Geodatabase SQL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;File Geodatabase support for subqueries is limited, so I can not promise that it would work in this case. I'll take a look and report my findings.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Aug 2013 18:24:21 GMT</pubDate>
    <dc:creator>LanceShipman</dc:creator>
    <dc:date>2013-08-16T18:24:21Z</dc:date>
    <item>
      <title>Create RelationShip Class using File Geodatabase API</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/create-relationship-class-using-file-geodatabase/m-p/296120#M487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to create relationship of the table using File geodatabase API? If yes, how?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 13:22:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/create-relationship-class-using-file-geodatabase/m-p/296120#M487</guid>
      <dc:creator>ParvathavardhaniGanesan</dc:creator>
      <dc:date>2012-09-17T13:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Create RelationShip Class using File Geodatabase API</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/create-relationship-class-using-file-geodatabase/m-p/296121#M488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Relationship classes are not supported by the File Geodatabase API. They cannot be created or utilized in any way.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 14:48:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/create-relationship-class-using-file-geodatabase/m-p/296121#M488</guid>
      <dc:creator>LanceShipman</dc:creator>
      <dc:date>2012-09-17T14:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create RelationShip Class using File Geodatabase API</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/create-relationship-class-using-file-geodatabase/m-p/296122#M489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the quick response&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 15:08:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/create-relationship-class-using-file-geodatabase/m-p/296122#M489</guid>
      <dc:creator>ParvathavardhaniGanesan</dc:creator>
      <dc:date>2012-09-17T15:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Create RelationShip Class using File Geodatabase API</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/create-relationship-class-using-file-geodatabase/m-p/296123#M490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can we run the bulk update or insert queries on File geodatabase using File GDB API ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;UPDATE Table1 SET Field1=a.Field2 FROM Table2 a , Table1 b where a.OID=b.OID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Both Table1 and Table2 are names of two featureclasses present in my File geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;While running I am getting exception saying "An Invalid SQL statement was used."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could someone please comment that am I doing something wrong or This is not possible with File GDB API yet.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Aug 2013 10:49:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/create-relationship-class-using-file-geodatabase/m-p/296123#M490</guid>
      <dc:creator>AmitSaini</dc:creator>
      <dc:date>2013-08-16T10:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create RelationShip Class using File Geodatabase API</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/create-relationship-class-using-file-geodatabase/m-p/296124#M491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;File Geodatabase SQL is based mostly on the SQL92 standard which does not include FROM in an a UPDATE. Normally this sort of update would be performed using a subquery.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The 1.0-1.3 versions of the API are based on File Geodatabase as it existed at 10.0. This did not include support for aliasing. So "SET Field1=a.Field2 FROM Table2 a , Table1 b where a.OID=b.OID" would return an error in any case. The next release which is expected later in 2013 will be updated to 10.2 File Geodatabase SQL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;File Geodatabase support for subqueries is limited, so I can not promise that it would work in this case. I'll take a look and report my findings.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Aug 2013 18:24:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/create-relationship-class-using-file-geodatabase/m-p/296124#M491</guid>
      <dc:creator>LanceShipman</dc:creator>
      <dc:date>2013-08-16T18:24:21Z</dc:date>
    </item>
  </channel>
</rss>

