<?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 Opening Oracle view ALL_TAB_COLUMNS via SDE in ArcObjects in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/opening-oracle-view-all-tab-columns-via-sde-in/m-p/737318#M19580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to open the Oracle 11g system view SYS.ALL_TAB_COLUMNS using SDE from an ArcObjects add-in for ArcMap 10.0 in C# so I can select rows from it via a cursor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The line of code I am using to open the table is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; ITable table = (ITable)((IFeatureWorkspace)_workspace).OpenTable("SYS.ALL_TAB_COLUMNS");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...but this throws the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; "Invalid column data type"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not very informative I know but does anyone know how I can work around this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can open other views and tables such as 'SYS.USER_ROLE_PRIVS' and user tables. It may be because ArcObjects does not like the 'raw' Oracle datatypes used in this view but I don't know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Aug 2011 17:56:53 GMT</pubDate>
    <dc:creator>PaulLivingstone</dc:creator>
    <dc:date>2011-08-26T17:56:53Z</dc:date>
    <item>
      <title>Opening Oracle view ALL_TAB_COLUMNS via SDE in ArcObjects</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/opening-oracle-view-all-tab-columns-via-sde-in/m-p/737318#M19580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to open the Oracle 11g system view SYS.ALL_TAB_COLUMNS using SDE from an ArcObjects add-in for ArcMap 10.0 in C# so I can select rows from it via a cursor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The line of code I am using to open the table is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; ITable table = (ITable)((IFeatureWorkspace)_workspace).OpenTable("SYS.ALL_TAB_COLUMNS");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...but this throws the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; "Invalid column data type"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not very informative I know but does anyone know how I can work around this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can open other views and tables such as 'SYS.USER_ROLE_PRIVS' and user tables. It may be because ArcObjects does not like the 'raw' Oracle datatypes used in this view but I don't know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2011 17:56:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/opening-oracle-view-all-tab-columns-via-sde-in/m-p/737318#M19580</guid>
      <dc:creator>PaulLivingstone</dc:creator>
      <dc:date>2011-08-26T17:56:53Z</dc:date>
    </item>
  </channel>
</rss>

