<?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 Join doesn't work - Invalid Identifier in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/join-doesn-t-work-invalid-identifier/m-p/610511#M34410</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I posted this in ArcGIS for Desktop forum too, but think I might get some insight from SDE forum too. I will delete the other one later. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I try to make a join (a feature class with standalone table), I get Invalid Identifier error as below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;One or more layers failed to draw:&lt;BR /&gt;schemaName.featureClassName: Underlying DBMS error [ORA-00904: "V__22"."joinedFieldName": invalid identifier&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I could successfully validate the join, but it happens when it draws the joined layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using ArcMap 10.1, with ArcSDE 10.1 (SP1) in Oracle 11.2.0.1. The feature class(polygon layer) is registered as versioned and the table is registered with Geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the entire error message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I used 'PARCEL.GPIN' and 'CAMATEST.MAPBLOLOT' to join the layer and table, but in the error message you can see it is creating the view (V__22) by selecting the other column (=TYPE_CODE) in the feature class, not the 'GPIN' that I chose to join... &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW after join, I don't have a problem in seeing the attribute tables which are joined with the correct fields.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;VECTOR.Parcels: Underlying DBMS error [ORA-00904: "V__22"."GPIN": invalid identifier&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;::SELECT V__22.st_SHAPE$, &lt;/SPAN&gt;&lt;STRONG&gt;V__22.TYPE_CODE&lt;/STRONG&gt;&lt;SPAN&gt;, V__22.OBJECTID, V__22.st_points,V__22.st_numpts,V__22.st_entity,V__22.st_minx,V__22.st_miny,V__22.st_maxx,V__22.st_maxy,V__22.st_minz,V__22.st_maxz,V__22.st_minm,V__22.st_maxm,V__22.st_area$,V__22.st_len$,V__22.st_rowid FROM (SELECT 1 st_SHAPE$,b.TYPE_CODE ,b.OBJECTID,b.SHAPE.points as st_points,b.SHAPE.numpts as st_numpts,b.SHAPE.entity as st_entity,b.SHAPE.minx as st_minx,b.SHAPE.miny as st_miny,b.SHAPE.maxx as st_maxx,b.SHAPE.maxy as st_maxy,b.SHAPE.minz as st_minz,b.SHAPE.maxz as st_maxz,b.SHAPE.minm as st_minm,b.SHAPE.maxm as st_maxm,b.SHAPE.area as st_area$,b.SHAPE.len as st_len$,b.rowid as st_rowid FROM VECTOR.Parcels b WHERE SDE.ST_EnvIntersects(b.SHAPE,:1,:2,:3,:4) = 1 AND b.OBJECTID NOT IN (SELECT /*+ HASH_AJ */ SDE_DELETES_ROW_ID FROM VECTOR.D22 WHERE DELETED_AT IN (SELECT l.lineage_id FROM SDE.state_lineages l WHERE l.lineage_name = :lineage_name1 AND l.lineage_id &amp;lt;= :state_id1) AND SDE_STATE_ID = 0) UNION ALL SELECT 2 st_SHAPE$,a.TYPE_CODE ,a.OBJECTID,a.SHAPE.points as st_points,a.SHAPE.numpts as st_numpts,a.SHAPE.entity as st_entity,a.SHAPE.minx as st_minx,a.SHAPE.miny as st_miny,a.SHAPE.maxx as st_maxx,a.SHAPE.maxy as st_maxy,a.SHAPE.minz as st_minz,a.SHAPE.maxz as st_maxz,a.SHAPE.minm as st_minm,a.SHAPE.maxm as st_maxm,a.SHAPE.area as st_area$,a.SHAPE.len as st_len$,a.rowid as st_rowid FROM VECTOR.A22 a,SDE.state_lineages SL WHERE SDE.ST_EnvIntersects(a.SHAPE,:5,:6,:7,:8) = 1 AND (a.OBJECTID, a.SDE_STATE_ID) NOT IN (SELECT /*+ HASH_AJ */ SDE_DELETES_ROW_ID, SDE_STATE_ID FROM VECTOR.D22 WHERE DELETED_AT IN (SELECT l.lineage_id FROM SDE.state_lineages l WHERE l.lineage_name = :lineage_name2 AND l.lineage_id &amp;lt;= :state_id2) AND SDE_STATE_ID &amp;gt; 0) AND a.SDE_STATE_ID = SL.lineage_id AND SL.lineage_name = :lineage_name3 AND SL.lineage_id &amp;lt;= :state_id3) &lt;FONT color="&amp;quot;#FF0000&amp;quot;"&gt;V__22 LEFT OUTER JOIN VECTOR.CAMATEST ON V__22.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;STRONG&gt;GPIN&lt;/STRONG&gt;&lt;SPAN&gt; = VECTOR.CAMATEST.MAPBLOLOT] [DBJoin1][/COLOR&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jul 2013 11:53:18 GMT</pubDate>
    <dc:creator>DahaeHwang</dc:creator>
    <dc:date>2013-07-24T11:53:18Z</dc:date>
    <item>
      <title>Join doesn't work - Invalid Identifier</title>
      <link>https://community.esri.com/t5/data-management-questions/join-doesn-t-work-invalid-identifier/m-p/610511#M34410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I posted this in ArcGIS for Desktop forum too, but think I might get some insight from SDE forum too. I will delete the other one later. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I try to make a join (a feature class with standalone table), I get Invalid Identifier error as below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;One or more layers failed to draw:&lt;BR /&gt;schemaName.featureClassName: Underlying DBMS error [ORA-00904: "V__22"."joinedFieldName": invalid identifier&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I could successfully validate the join, but it happens when it draws the joined layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using ArcMap 10.1, with ArcSDE 10.1 (SP1) in Oracle 11.2.0.1. The feature class(polygon layer) is registered as versioned and the table is registered with Geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the entire error message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I used 'PARCEL.GPIN' and 'CAMATEST.MAPBLOLOT' to join the layer and table, but in the error message you can see it is creating the view (V__22) by selecting the other column (=TYPE_CODE) in the feature class, not the 'GPIN' that I chose to join... &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW after join, I don't have a problem in seeing the attribute tables which are joined with the correct fields.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;VECTOR.Parcels: Underlying DBMS error [ORA-00904: "V__22"."GPIN": invalid identifier&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;::SELECT V__22.st_SHAPE$, &lt;/SPAN&gt;&lt;STRONG&gt;V__22.TYPE_CODE&lt;/STRONG&gt;&lt;SPAN&gt;, V__22.OBJECTID, V__22.st_points,V__22.st_numpts,V__22.st_entity,V__22.st_minx,V__22.st_miny,V__22.st_maxx,V__22.st_maxy,V__22.st_minz,V__22.st_maxz,V__22.st_minm,V__22.st_maxm,V__22.st_area$,V__22.st_len$,V__22.st_rowid FROM (SELECT 1 st_SHAPE$,b.TYPE_CODE ,b.OBJECTID,b.SHAPE.points as st_points,b.SHAPE.numpts as st_numpts,b.SHAPE.entity as st_entity,b.SHAPE.minx as st_minx,b.SHAPE.miny as st_miny,b.SHAPE.maxx as st_maxx,b.SHAPE.maxy as st_maxy,b.SHAPE.minz as st_minz,b.SHAPE.maxz as st_maxz,b.SHAPE.minm as st_minm,b.SHAPE.maxm as st_maxm,b.SHAPE.area as st_area$,b.SHAPE.len as st_len$,b.rowid as st_rowid FROM VECTOR.Parcels b WHERE SDE.ST_EnvIntersects(b.SHAPE,:1,:2,:3,:4) = 1 AND b.OBJECTID NOT IN (SELECT /*+ HASH_AJ */ SDE_DELETES_ROW_ID FROM VECTOR.D22 WHERE DELETED_AT IN (SELECT l.lineage_id FROM SDE.state_lineages l WHERE l.lineage_name = :lineage_name1 AND l.lineage_id &amp;lt;= :state_id1) AND SDE_STATE_ID = 0) UNION ALL SELECT 2 st_SHAPE$,a.TYPE_CODE ,a.OBJECTID,a.SHAPE.points as st_points,a.SHAPE.numpts as st_numpts,a.SHAPE.entity as st_entity,a.SHAPE.minx as st_minx,a.SHAPE.miny as st_miny,a.SHAPE.maxx as st_maxx,a.SHAPE.maxy as st_maxy,a.SHAPE.minz as st_minz,a.SHAPE.maxz as st_maxz,a.SHAPE.minm as st_minm,a.SHAPE.maxm as st_maxm,a.SHAPE.area as st_area$,a.SHAPE.len as st_len$,a.rowid as st_rowid FROM VECTOR.A22 a,SDE.state_lineages SL WHERE SDE.ST_EnvIntersects(a.SHAPE,:5,:6,:7,:8) = 1 AND (a.OBJECTID, a.SDE_STATE_ID) NOT IN (SELECT /*+ HASH_AJ */ SDE_DELETES_ROW_ID, SDE_STATE_ID FROM VECTOR.D22 WHERE DELETED_AT IN (SELECT l.lineage_id FROM SDE.state_lineages l WHERE l.lineage_name = :lineage_name2 AND l.lineage_id &amp;lt;= :state_id2) AND SDE_STATE_ID &amp;gt; 0) AND a.SDE_STATE_ID = SL.lineage_id AND SL.lineage_name = :lineage_name3 AND SL.lineage_id &amp;lt;= :state_id3) &lt;FONT color="&amp;quot;#FF0000&amp;quot;"&gt;V__22 LEFT OUTER JOIN VECTOR.CAMATEST ON V__22.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;STRONG&gt;GPIN&lt;/STRONG&gt;&lt;SPAN&gt; = VECTOR.CAMATEST.MAPBLOLOT] [DBJoin1][/COLOR&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 11:53:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/join-doesn-t-work-invalid-identifier/m-p/610511#M34410</guid>
      <dc:creator>DahaeHwang</dc:creator>
      <dc:date>2013-07-24T11:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Join doesn't work - Invalid Identifier</title>
      <link>https://community.esri.com/t5/data-management-questions/join-doesn-t-work-invalid-identifier/m-p/610512#M34411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dahae,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can have a look at the below link. You might be hitting a known Bug:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ NIM082229 - In ArcGIS 10.1 for Desktop, when an ArcSDE versioned layer is displayed after being joined to an ArcSDE table in Oracle, the following error is returned: "ORA-00904: invalid identifier"]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://support.esri.com/en/bugs/nimbus/TklNMDgyMjI5" rel="nofollow" target="_blank"&gt;http://support.esri.com/en/bugs/nimbus/TklNMDgyMjI5&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 14:14:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/join-doesn-t-work-invalid-identifier/m-p/610512#M34411</guid>
      <dc:creator>AsrujitSengupta</dc:creator>
      <dc:date>2013-07-24T14:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Join doesn't work - Invalid Identifier</title>
      <link>https://community.esri.com/t5/data-management-questions/join-doesn-t-work-invalid-identifier/m-p/610513#M34412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I am curious if ESRI will include the fix for this bug in a new patch/service pack. Does anyone know..?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 16:30:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/join-doesn-t-work-invalid-identifier/m-p/610513#M34412</guid>
      <dc:creator>DahaeHwang</dc:creator>
      <dc:date>2013-07-24T16:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Join doesn't work - Invalid Identifier</title>
      <link>https://community.esri.com/t5/data-management-questions/join-doesn-t-work-invalid-identifier/m-p/610514#M34413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The Bug seems to be fixed in the upcoming release 10.2, as mentioned in the link.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 16:41:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/join-doesn-t-work-invalid-identifier/m-p/610514#M34413</guid>
      <dc:creator>AsrujitSengupta</dc:creator>
      <dc:date>2013-07-24T16:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Join doesn't work - Invalid Identifier</title>
      <link>https://community.esri.com/t5/data-management-questions/join-doesn-t-work-invalid-identifier/m-p/610515#M34414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am getting the same error message in 10.5.1 through an ArcGIS Enterprise mapservice, but the configuration of GIS data is not the same.&amp;nbsp; Are there any other reasons why this error message would occur as the AGS logging does not provide enough information for me to figure out the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2018 17:32:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/join-doesn-t-work-invalid-identifier/m-p/610515#M34414</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2018-01-23T17:32:02Z</dc:date>
    </item>
  </channel>
</rss>

