<?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: ArcSDESQLExecute =&amp;gt; FGDB in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcsdesqlexecute-amp-gt-fgdb/m-p/407771#M32091</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I asked, since the "best" way probably depends on what the rows contain (i.e is there Shape data?).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if you are looking for a Python-based solution, I'm not sure how you would get away from using an insert cursor, which the cursor kinda being the "lowest level" operator available.&amp;nbsp; Of course the new .da cursors (in v10.1) are much faster than the "old" cursors, so if you are running v10.1, that'd be the 1st thing I'd try.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you were really handy, maybe you could use the new FGDB API, but that's above my head and I don't think there's a way to do it directly via Python.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 May 2013 19:39:07 GMT</pubDate>
    <dc:creator>ChrisSnyder</dc:creator>
    <dc:date>2013-05-23T19:39:07Z</dc:date>
    <item>
      <title>ArcSDESQLExecute =&amp;gt; FGDB</title>
      <link>https://community.esri.com/t5/python-questions/arcsdesqlexecute-amp-gt-fgdb/m-p/407768#M32088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'd like to take the results from a ArcSDESQLExecute query and bulk load that into a file geodatabase.&amp;nbsp; Anyone know of a way to do that faster than using the InsertCursor?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is the ArcSDESQLExecute.execute list castable to anything else like a FeatureSet or other ArcPy list?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chuck&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 19:03:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcsdesqlexecute-amp-gt-fgdb/m-p/407768#M32088</guid>
      <dc:creator>CharlesTilly</dc:creator>
      <dc:date>2013-05-22T19:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: ArcSDESQLExecute =&gt; FGDB</title>
      <link>https://community.esri.com/t5/python-questions/arcsdesqlexecute-amp-gt-fgdb/m-p/407769#M32089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What does your ArcSDESQLExecute query look like and what is it returning? A spatial view, table view?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 17:17:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcsdesqlexecute-amp-gt-fgdb/m-p/407769#M32089</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2013-05-23T17:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: ArcSDESQLExecute =&gt; FGDB</title>
      <link>https://community.esri.com/t5/python-questions/arcsdesqlexecute-amp-gt-fgdb/m-p/407770#M32090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It shouldn't matter should it?&amp;nbsp; The results of a ArcSDESQLExecute.excute is always going to be a list of lists isn't it?&amp;nbsp; A SQL statement against a table is going to return the same sort of list that one against a view does.&amp;nbsp; Correct?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd love to figure out how to get it to return a ref_cursor from a function if that is possible.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 18:30:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcsdesqlexecute-amp-gt-fgdb/m-p/407770#M32090</guid>
      <dc:creator>CharlesTilly</dc:creator>
      <dc:date>2013-05-23T18:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: ArcSDESQLExecute =&gt; FGDB</title>
      <link>https://community.esri.com/t5/python-questions/arcsdesqlexecute-amp-gt-fgdb/m-p/407771#M32091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I asked, since the "best" way probably depends on what the rows contain (i.e is there Shape data?).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if you are looking for a Python-based solution, I'm not sure how you would get away from using an insert cursor, which the cursor kinda being the "lowest level" operator available.&amp;nbsp; Of course the new .da cursors (in v10.1) are much faster than the "old" cursors, so if you are running v10.1, that'd be the 1st thing I'd try.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you were really handy, maybe you could use the new FGDB API, but that's above my head and I don't think there's a way to do it directly via Python.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 19:39:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcsdesqlexecute-amp-gt-fgdb/m-p/407771#M32091</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2013-05-23T19:39:07Z</dc:date>
    </item>
  </channel>
</rss>

