<?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: Execute SQL Server stored procedures from ArcGIS 10.1 in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/execute-sql-server-stored-procedures-from-arcgis/m-p/591221#M33403</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@arekmatoszka I tried above links but I think its not possible to execute stored procedure in ArcGIS 10.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does&amp;nbsp; anyone&amp;nbsp; tried above link ??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I think best option would be creating some python tool. &lt;BR /&gt;There is tool that allows to execute SQL via SDE connection:&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002z00000021000000.htm"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002z00000021000000.htm&lt;/A&gt;&lt;BR /&gt;if not, I'm sure there are some other libraries for python that allows calling SQLServer stored procedure in Python.&lt;BR /&gt;Incorporating such solution should be quite easy.&lt;BR /&gt;Regards&lt;BR /&gt;Arek&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jun 2013 09:23:41 GMT</pubDate>
    <dc:creator>SunilPalkar</dc:creator>
    <dc:date>2013-06-20T09:23:41Z</dc:date>
    <item>
      <title>Execute SQL Server stored procedures from ArcGIS 10.1</title>
      <link>https://community.esri.com/t5/data-management-questions/execute-sql-server-stored-procedures-from-arcgis/m-p/591219#M33401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to know if it is possible to execute an already-defined stored procedure (in SQL Server) from ArcGIS 10.1 and use its output data as an input for my maps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, the stored procedure receives some input parameters (date, status, type) and returns back a table with two columns, the first one with a polygon ID and the second is an integer that represents the number of points in the polygon matching the input parameters. So i would like to associate to my map, that column with the number of occurrences.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this possible? If so, how this would be done? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please, could you provide some guidelines or link to a tutorial?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2012 20:52:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/execute-sql-server-stored-procedures-from-arcgis/m-p/591219#M33401</guid>
      <dc:creator>IreneGM</dc:creator>
      <dc:date>2012-11-15T20:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Execute SQL Server stored procedures from ArcGIS 10.1</title>
      <link>https://community.esri.com/t5/data-management-questions/execute-sql-server-stored-procedures-from-arcgis/m-p/591220#M33402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think best option would be creating some python tool. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is tool that allows to execute SQL via SDE connection:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002z00000021000000.htm"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002z00000021000000.htm&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;if not, I'm sure there are some other libraries for python that allows calling SQLServer stored procedure in Python.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Incorporating such solution should be quite easy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Arek&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 06:49:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/execute-sql-server-stored-procedures-from-arcgis/m-p/591220#M33402</guid>
      <dc:creator>ArkadiuszMatoszka</dc:creator>
      <dc:date>2012-11-16T06:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Execute SQL Server stored procedures from ArcGIS 10.1</title>
      <link>https://community.esri.com/t5/data-management-questions/execute-sql-server-stored-procedures-from-arcgis/m-p/591221#M33403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@arekmatoszka I tried above links but I think its not possible to execute stored procedure in ArcGIS 10.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does&amp;nbsp; anyone&amp;nbsp; tried above link ??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I think best option would be creating some python tool. &lt;BR /&gt;There is tool that allows to execute SQL via SDE connection:&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002z00000021000000.htm"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002z00000021000000.htm&lt;/A&gt;&lt;BR /&gt;if not, I'm sure there are some other libraries for python that allows calling SQLServer stored procedure in Python.&lt;BR /&gt;Incorporating such solution should be quite easy.&lt;BR /&gt;Regards&lt;BR /&gt;Arek&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 09:23:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/execute-sql-server-stored-procedures-from-arcgis/m-p/591221#M33403</guid>
      <dc:creator>SunilPalkar</dc:creator>
      <dc:date>2013-06-20T09:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Execute SQL Server stored procedures from ArcGIS 10.1</title>
      <link>https://community.esri.com/t5/data-management-questions/execute-sql-server-stored-procedures-from-arcgis/m-p/591222#M33404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can of course execute a SQL procedure in any number of ways, but the method&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you&amp;nbsp; describe doesn't match any of the existing models for accessing spatial data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS can read a table or view registered with an ArcSDE geodatabase, it can read &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a table or view with a geometry column and a unique integer id through Query Layers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; and it can compute a point from x/y data in a table, but I don't know of any way that &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you can join a stored procedure to a table with a geometry column using a SELECT&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; statement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you changed your procedure to populate a 1:1 table with the matching IDs, then&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you could fashion a query or view to access the geometry column.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 13:52:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/execute-sql-server-stored-procedures-from-arcgis/m-p/591222#M33404</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-06-20T13:52:26Z</dc:date>
    </item>
  </channel>
</rss>

