<?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: SQL in python in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618044#M48228</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the info James.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why would the date not make it? Is that because the numpy does not support that data type or something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Apr 2015 19:16:27 GMT</pubDate>
    <dc:creator>forestknutsen1</dc:creator>
    <dc:date>2015-04-14T19:16:27Z</dc:date>
    <item>
      <title>SQL in python</title>
      <link>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618042#M48226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The situation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table that is in a oracle database that I need to query and then spatialize. I need to select the most recant updated record for each group. I have a last update column to base the max date on. Then I have a name and a sand type columns that should make up the groups. So after some looking I think this is the sql that I need:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;SELECT NAME, SAND, MAX(LAST_UPDATE) AS "DATE" from MY_TABLE &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;GROUP BY NAME, SAND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have run it in Toad and it produced the desired result. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the query I will need to do a join to a table that has the lat and long data and then make a xy events layer and then export the thing to a feature class in our SDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What it the best way to do this query in python in such a way that I can pass the output to arcpy for the join etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Forest&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 18:23:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618042#M48226</guid>
      <dc:creator>forestknutsen1</dc:creator>
      <dc:date>2015-04-14T18:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: SQL in python</title>
      <link>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618043#M48227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SQL thru ESRI (ie, definition queries, attribute selection, etc...) aren't "REAL" sql in ANSI/ISO standard as your statement run in TOAD is.&amp;nbsp; It's more like the WHERE clause portion I would think.&amp;nbsp; So, your group by would likely fail.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;To answer your question, what you can do is install cx_Oracle python library and execute your REAL sql statements against your non-spatial table(s), generate a cursor and then go from there.&amp;nbsp; To just join the results to your spatial data you could just convert the cursor to a NumPy array and then issue arcpy.da.NumPyArrayToTable in order to get it back into ESRI world.&amp;nbsp; Unfortunately, it wouldn't pull over any date fields and you'd have to find an alternative to that issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//018w00000016000000" title="http://resources.arcgis.com/en/help/main/10.1/index.html#//018w00000016000000"&gt;ArcGIS Help 10.1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well that's how we are integrating non-spatial RDBMS tables anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 18:32:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618043#M48227</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2015-04-14T18:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: SQL in python</title>
      <link>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618044#M48228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the info James.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why would the date not make it? Is that because the numpy does not support that data type or something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 19:16:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618044#M48228</guid>
      <dc:creator>forestknutsen1</dc:creator>
      <dc:date>2015-04-14T19:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: SQL in python</title>
      <link>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618045#M48229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We use &lt;A href="https://cx-oracle.readthedocs.org/en/latest/" rel="nofollow noopener noreferrer" target="_blank"&gt;cx_Oracle&lt;/A&gt; as well. Here's a sample snippet that I use.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import cx_Oracle

try:
&amp;nbsp;&amp;nbsp;&amp;nbsp; oracle_db = u'UserNameHere/PasswordHere@DatabaseNameHere'
&amp;nbsp;&amp;nbsp;&amp;nbsp; sql = "SELECT * FROM TABLE_NAME"
&amp;nbsp;&amp;nbsp;&amp;nbsp; cnxn = cx_Oracle.connect(oracle_db)
&amp;nbsp;&amp;nbsp;&amp;nbsp; sqlcursor = cnxn.cursor()
&amp;nbsp;&amp;nbsp;&amp;nbsp; sqlcursor.execute(sql)
&amp;nbsp;&amp;nbsp;&amp;nbsp; sqlresult = sqlcursor.fetchall()
&amp;nbsp;&amp;nbsp;&amp;nbsp; # Validate and process result
except Exception as err:
&amp;nbsp;&amp;nbsp;&amp;nbsp; print err
finally:
&amp;nbsp;&amp;nbsp;&amp;nbsp; sqlresult = None
&amp;nbsp;&amp;nbsp;&amp;nbsp; if 'sqlcursor' in locals():
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sqlcursor.close()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; del sqlcursor
&amp;nbsp;&amp;nbsp;&amp;nbsp; if 'cnxn' in locals():
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cnxn.close()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; del cnxn&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result table can be returned in different ways, so you should validate it before you try to process it.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Valid SQL query but no rows returned: empty list&lt;UL&gt;&lt;LI&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;[]&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Exactly one row with only one field value returned: single item tuple in a list&lt;UL&gt;&lt;LI&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;[(val,)]&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;More than one row returned with more than one field: list of tuples, each row being a tuple&lt;UL&gt;&lt;LI&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;[(val, val), (val, val)]&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The third scenario is the most common, and what you should expect with the SQL query you posted. The number of tuples is the number of rows. The number of items in each tuple is the number of fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:24:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618045#M48229</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2021-12-12T02:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: SQL in python</title>
      <link>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618046#M48230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//002z00000028000000" title="http://resources.arcgis.com/en/help/main/10.1/index.html#//002z00000028000000"&gt;ArcGIS Help 10.1&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Other field types not listed above, including date, raster, and BLOB fields are not supported.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 19:32:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618046#M48230</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2015-04-14T19:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: SQL in python</title>
      <link>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618047#M48231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;James and Blake thanks for the help. I am able to get the data out of oracle with cx_Oracle without any problems. I did run into a little bit of a hard time getting the sql output to a numpy array. James I would be interested in seeing a code snippet of your work flow. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 00:12:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618047#M48231</guid>
      <dc:creator>forestknutsen1</dc:creator>
      <dc:date>2015-04-15T00:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: SQL in python</title>
      <link>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618048#M48232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to pull from an existing implementation and reformat the text a bit, so not sure if this is entirely correct but it should give you the general idea of moving around.&amp;nbsp; We use the pandas library for a lot of our number crunching, so that's why you see going from a list to a pandas DataFrame.&amp;nbsp; From there it goes into a numpy array and specifying dtypes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that, pretty easy to get it to a gdb table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;dsn = cx_Oracle.makedsn(&amp;lt;connection params here&amp;gt;)
oradb = cx_Oracle.connect("unm", "pwd", dsn)
cursor = oradb.cursor()
sqlQry = "SELECT col1, col2, col3 from blah"
cursor.execute(sqlQry)
datArray = []
&amp;nbsp; 
cxRows = cursor.fetchall()
for cxRow in cxRows:
&amp;nbsp;&amp;nbsp; datArray.append(cxRow)
&amp;nbsp;&amp;nbsp; 
#close the conn to ora
cursor.close() 
oradb.close()
del cxRows, cursor
&amp;nbsp;&amp;nbsp; 
it = len(datArray)
if it&amp;gt;0: 
&amp;nbsp;&amp;nbsp; #convert to pandas data frame
&amp;nbsp;&amp;nbsp; DF = DataFrame(datArray, columns=['col1', 'col2', 'col3'])
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; #...running a bunch of other data processing on this df
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; ##convert final pandas DataFrame result into a numpyarray
&amp;nbsp;&amp;nbsp; nmpyar = np.array(DF, np.dtype([('col1', '|S25'), ('col2', '|S25'), ('col3', '&amp;lt;f8')]))
&amp;nbsp;&amp;nbsp; ##now covert the numpyarray to the gdb table in the default.gdb&amp;nbsp; 
&amp;nbsp;&amp;nbsp; arcpy.da.NumPyArrayToTable(nmpyar, r"H:\Default.gdb\numpytab") &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:24:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618048#M48232</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2021-12-12T02:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: SQL in python</title>
      <link>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618049#M48233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you read the &lt;A href="http://desktop.arcgis.com/en/desktop/latest/analyze/python/executing-sql-using-an-arcsde-connection.htm"&gt;Executing SQL using an ArcSDE connection &lt;/A&gt;documentation?&amp;nbsp; I have used the &lt;A href="http://desktop.arcgis.com/en/desktop/latest/analyze/arcpy-classes/arcsdesqlexecute.htm"&gt;ArcSDESQLExecute &lt;/A&gt;object in the past to accomplish similar tasks as what you are trying here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 14:51:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618049#M48233</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2015-04-15T14:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: SQL in python</title>
      <link>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618050#M48234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I took the OP to mean that this was a non-spatial Oracle db/table(s) that needed to be joined back to features.&amp;nbsp; There would be no .sde file to use for making a connection as the db would not be a registered SDE database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I'm with you in that keeping in the ESRI stack when possible is best since you have to manage all of these other libraries.&amp;nbsp; But if arcpy is insufficient, something has to be done.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 14:56:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618050#M48234</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2015-04-15T14:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: SQL in python</title>
      <link>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618051#M48235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One can use SDE connection files, and ArcSDESQLExecute, against databases that are not registered SDE databases, at least I do it with SQL Server regularly and assume it would work with Oracle as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 15:42:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618051#M48235</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2015-04-15T15:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: SQL in python</title>
      <link>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618052#M48236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No I have not read that. Thanks you for the input. I have already made up the python for this current project based on James and &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Blake's input. But next time....&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 16:58:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618052#M48236</guid>
      <dc:creator>forestknutsen1</dc:creator>
      <dc:date>2015-04-15T16:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: SQL in python</title>
      <link>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618053#M48237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for posting that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 17:18:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618053#M48237</guid>
      <dc:creator>forestknutsen1</dc:creator>
      <dc:date>2015-04-15T17:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: SQL in python</title>
      <link>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618054#M48238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice!&amp;nbsp; Do you have an example?&amp;nbsp; It'd be great to not have to rely on .sde files for making connections.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 17:34:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618054#M48238</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2015-04-15T17:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: SQL in python</title>
      <link>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618055#M48239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didn't think about doing this either. Interesting idea, I'll have to give it a try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 18:12:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618055#M48239</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2015-04-15T18:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: SQL in python</title>
      <link>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618056#M48240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Typically, I use an SDE connection file to a regular/nonSDE database for simplicity's sake, but the connection can be created on the fly.&amp;nbsp; Here is a generalized example for SQL Server Express:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="python" __jive_macro_name="code" class="_jivemacro_uid_14291242467039529 jive_macro_code jive_text_macro" data-renderedposition="71_8_912_16" jivemacro_uid="_14291242467039529"&gt;&lt;P&gt;sde_conn = arcpy.ArcSDESQLExecute(instance="sde:sqlserver:host\MSSQLExpress", database="DB")&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;The above will use Operating System Authentication since I am connecting to SQL Server and not specifying a username/password.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The syntax for creating on-the-fly connections using ArcSDESQLExecute is the same as the direct connect syntax prior to ArcGIS 10.1 when they started changing connections to databases.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 18:57:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618056#M48240</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2015-04-15T18:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: SQL in python</title>
      <link>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618057#M48241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just noticed this &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//018w0000000m000000" title="http://resources.arcgis.com/en/help/main/10.2/index.html#//018w0000000m000000"&gt;ArcGIS Help (10.2, 10.2.1, and 10.2.2)&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like you can now just join the NumPy array to your gdb Feature Class. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 20:30:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618057#M48241</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2015-04-15T20:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: SQL in python</title>
      <link>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618058#M48242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting, I guess I never noticed.&amp;nbsp; Now the lack of datetime support with ArcGIS and NumPy hurts even more.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 20:59:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sql-in-python/m-p/618058#M48242</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2015-04-15T20:59:44Z</dc:date>
    </item>
  </channel>
</rss>

