<?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 Adding columns by SQL to a feature Class producing ORA-00904 ... in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/adding-columns-by-sql-to-a-feature-class-producing/m-p/507627#M28783</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am adding columns to a Feature Class DBMS table using an Oracle client. After&amp;nbsp; commiting the change in Oracle (and verifying it was correct) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get the following error when&amp;nbsp; I open the feature class in Arc Desktop:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could not load data from the data source. If you cannot correct the problem, press&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the refresh button to reload the data. Possible problems can include bad network&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;connection, invalid field field, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Underlying DBMS Error [ORA-00904: "A"."{column name}"; invalid identifier]&amp;nbsp; ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I look up the error it seems that the column name may be invalid:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.dba-oracle.com/t_ora_00904_string_invalid_identifier.htm"&gt;http://www.dba-oracle.com/t_ora_00904_string_invalid_identifier.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However it is not. I am getting this with any column I add in SQL. This makes no sense&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but I suspect something funky may be going on the SDE metadata to kick this off.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is not the case when adding the column manually in ArcCatalog to the FC fields in the peroperty tab but I have a lot of these these columns to add and would like to automate this. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am sure that there are scripts and methods in Python to do this but being an Oracle&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DBA I would do this quicker in an SQL script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any clues? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Oracle: 10.2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS: 9.2 (via ArcDesktop 10.0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Jim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Sep 2011 17:45:32 GMT</pubDate>
    <dc:creator>JamesFox1</dc:creator>
    <dc:date>2011-09-19T17:45:32Z</dc:date>
    <item>
      <title>Adding columns by SQL to a feature Class producing ORA-00904 ...</title>
      <link>https://community.esri.com/t5/data-management-questions/adding-columns-by-sql-to-a-feature-class-producing/m-p/507627#M28783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am adding columns to a Feature Class DBMS table using an Oracle client. After&amp;nbsp; commiting the change in Oracle (and verifying it was correct) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get the following error when&amp;nbsp; I open the feature class in Arc Desktop:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could not load data from the data source. If you cannot correct the problem, press&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the refresh button to reload the data. Possible problems can include bad network&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;connection, invalid field field, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Underlying DBMS Error [ORA-00904: "A"."{column name}"; invalid identifier]&amp;nbsp; ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I look up the error it seems that the column name may be invalid:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.dba-oracle.com/t_ora_00904_string_invalid_identifier.htm"&gt;http://www.dba-oracle.com/t_ora_00904_string_invalid_identifier.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However it is not. I am getting this with any column I add in SQL. This makes no sense&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but I suspect something funky may be going on the SDE metadata to kick this off.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is not the case when adding the column manually in ArcCatalog to the FC fields in the peroperty tab but I have a lot of these these columns to add and would like to automate this. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am sure that there are scripts and methods in Python to do this but being an Oracle&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DBA I would do this quicker in an SQL script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any clues? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Oracle: 10.2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS: 9.2 (via ArcDesktop 10.0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Jim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 17:45:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/adding-columns-by-sql-to-a-feature-class-producing/m-p/507627#M28783</guid>
      <dc:creator>JamesFox1</dc:creator>
      <dc:date>2011-09-19T17:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Adding columns by SQL to a feature Class producing ORA-00904 ...</title>
      <link>https://community.esri.com/t5/data-management-questions/adding-columns-by-sql-to-a-feature-class-producing/m-p/507628#M28784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The safest way to add columns to a versioned table is to reconcile and post all your updates,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;unversion, make the table changes, and re-register the table as versioned.&amp;nbsp; You can't just&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;alter the table, since the ADDs table will not have the parallel columns added.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 18:00:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/adding-columns-by-sql-to-a-feature-class-producing/m-p/507628#M28784</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2011-09-19T18:00:32Z</dc:date>
    </item>
  </channel>
</rss>

