<?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 best practice when connecting to SQL DB in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/best-practice-when-connecting-to-sql-db/m-p/1502999#M45265</link>
    <description>&lt;P&gt;I am able to connect to a SQL Server database (not a GDB) as either an OLE DB connection or as an SDE connection (using the New Database Connection option in Catalog)&amp;nbsp; - is there an advantage to using one over the other? My use case is mainly extracting a table (approx 250K records) via a python script before applying various manipulations, merging with other data and loading into a GDB.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jul 2024 14:21:08 GMT</pubDate>
    <dc:creator>clt_cabq</dc:creator>
    <dc:date>2024-07-09T14:21:08Z</dc:date>
    <item>
      <title>best practice when connecting to SQL DB</title>
      <link>https://community.esri.com/t5/data-management-questions/best-practice-when-connecting-to-sql-db/m-p/1502999#M45265</link>
      <description>&lt;P&gt;I am able to connect to a SQL Server database (not a GDB) as either an OLE DB connection or as an SDE connection (using the New Database Connection option in Catalog)&amp;nbsp; - is there an advantage to using one over the other? My use case is mainly extracting a table (approx 250K records) via a python script before applying various manipulations, merging with other data and loading into a GDB.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 14:21:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/best-practice-when-connecting-to-sql-db/m-p/1502999#M45265</guid>
      <dc:creator>clt_cabq</dc:creator>
      <dc:date>2024-07-09T14:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: best practice when connecting to SQL DB</title>
      <link>https://community.esri.com/t5/data-management-questions/best-practice-when-connecting-to-sql-db/m-p/1503006#M45266</link>
      <description>&lt;P&gt;I would connect as the .SDE connection if using Python in Pro. I think this would provide you the easiest user experience.&lt;BR /&gt;&lt;BR /&gt;I am not sure what the difference is between the 2 are, but usually only make .sde connections to non-geodatabases in SQL Server.&lt;BR /&gt;&lt;BR /&gt;Just know that there are some limits to what can be done via ArcGIS client and .sde connections to non-geodatabases:&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/databases/databases-and-arcgis.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/help/data/databases/databases-and-arcgis.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 14:27:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/best-practice-when-connecting-to-sql-db/m-p/1503006#M45266</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2024-07-09T14:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: best practice when connecting to SQL DB</title>
      <link>https://community.esri.com/t5/data-management-questions/best-practice-when-connecting-to-sql-db/m-p/1503008#M45267</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/567"&gt;@George_Thompson&lt;/a&gt;&amp;nbsp;thanks for the response, this is what I suspected would be the answer. I did find one bit of functionality available as an SDE connection versus the OLE DB method - Summarize fields doesn't seem to be enabled in the OLE DB connection but it is in the SDE, so that makes a big difference when exploring data for me.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 14:35:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/best-practice-when-connecting-to-sql-db/m-p/1503008#M45267</guid>
      <dc:creator>clt_cabq</dc:creator>
      <dc:date>2024-07-09T14:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: best practice when connecting to SQL DB</title>
      <link>https://community.esri.com/t5/data-management-questions/best-practice-when-connecting-to-sql-db/m-p/1503012#M45268</link>
      <description>&lt;P&gt;That makes sense. I would think that the .sde connection would work with most GP tool available. The OLE DB connection would have limited functionality with tools.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 14:40:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/best-practice-when-connecting-to-sql-db/m-p/1503012#M45268</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2024-07-09T14:40:57Z</dc:date>
    </item>
  </channel>
</rss>

