<?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 Accessing Stored Procedure from Oracle DB and get output in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/accessing-stored-procedure-from-oracle-db-and-get/m-p/675377#M38279</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 have a normal database connection with Oracle platform. This database contains one stored procedure which I need to access using connection properties. This stored procedure gives me output of type 'OracleTable' in the parameter named 'SDS_SYS.T_NUMBER_TAB'(it may/may not be physically existing).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So, is it possible to access and execute this stored procedure with ArcObject in .Net ? Available platforms are- ArcMap 10.1 SP1, Silverlight 5, Oracle 11g client.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If yes, a sample code or link to related query would be helpful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Oct 2013 03:55:28 GMT</pubDate>
    <dc:creator>VinayakJogade</dc:creator>
    <dc:date>2013-10-09T03:55:28Z</dc:date>
    <item>
      <title>Accessing Stored Procedure from Oracle DB and get output</title>
      <link>https://community.esri.com/t5/data-management-questions/accessing-stored-procedure-from-oracle-db-and-get/m-p/675377#M38279</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 have a normal database connection with Oracle platform. This database contains one stored procedure which I need to access using connection properties. This stored procedure gives me output of type 'OracleTable' in the parameter named 'SDS_SYS.T_NUMBER_TAB'(it may/may not be physically existing).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So, is it possible to access and execute this stored procedure with ArcObject in .Net ? Available platforms are- ArcMap 10.1 SP1, Silverlight 5, Oracle 11g client.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If yes, a sample code or link to related query would be helpful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 03:55:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/accessing-stored-procedure-from-oracle-db-and-get/m-p/675377#M38279</guid>
      <dc:creator>VinayakJogade</dc:creator>
      <dc:date>2013-10-09T03:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Stored Procedure from Oracle DB and get output</title>
      <link>https://community.esri.com/t5/data-management-questions/accessing-stored-procedure-from-oracle-db-and-get/m-p/675378#M38280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can explore the IWorkspace.ExecuteSQL method to execute the stored procedure from ArcObjects. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As mentioned on the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#/ExecuteSQL_Method/002500000mrv000000/"&gt;ArcObjects API reference link&lt;/A&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"The statement can be any DDL (data definition language) or DML (data manipulation language) statement but cannot return any result sets."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This limitation can be addressed by modifying the stored procedure. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for e.g. writing the results to a table, and the results read, say, using &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#/Working_with_query_classes/000100000322000000/"&gt;query classes&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mandar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 14:38:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/accessing-stored-procedure-from-oracle-db-and-get/m-p/675378#M38280</guid>
      <dc:creator>MandarPurohit</dc:creator>
      <dc:date>2013-10-09T14:38:19Z</dc:date>
    </item>
  </channel>
</rss>

