<?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: How to connect to a local instance of SQL Server in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-connect-to-a-local-instance-of-sql-server/m-p/131479#M49098</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/179410"&gt;@MGAutomation&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;If by local instance you mean SQL Server deployed on-premises or in your local PC then i's possible but you need to establish network connectivity.&lt;BR /&gt;So you would have to deploy your databricks workspace into customer-managed vpc and then establish&amp;nbsp;&amp;nbsp;a connection between your SQL server and the Databricks virtual private cloud (VPC) using VPN or AWS Direct Connect.&lt;/P&gt;&lt;P&gt;The hardest part will be networking here. Once you establish connection then you can just use jdbc or odbc driver to read/write data from SQL Server&lt;/P&gt;</description>
    <pubDate>Wed, 10 Sep 2025 06:30:41 GMT</pubDate>
    <dc:creator>szymon_dybczak</dc:creator>
    <dc:date>2025-09-10T06:30:41Z</dc:date>
    <item>
      <title>How to connect to a local instance of SQL Server</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-connect-to-a-local-instance-of-sql-server/m-p/131467#M49095</link>
      <description>&lt;P&gt;How can I connect my Databricks AWS account to a local instance of SQL Server?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2025 20:41:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-connect-to-a-local-instance-of-sql-server/m-p/131467#M49095</guid>
      <dc:creator>MGAutomation</dc:creator>
      <dc:date>2025-09-09T20:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to a local instance of SQL Server</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-connect-to-a-local-instance-of-sql-server/m-p/131479#M49098</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/179410"&gt;@MGAutomation&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;If by local instance you mean SQL Server deployed on-premises or in your local PC then i's possible but you need to establish network connectivity.&lt;BR /&gt;So you would have to deploy your databricks workspace into customer-managed vpc and then establish&amp;nbsp;&amp;nbsp;a connection between your SQL server and the Databricks virtual private cloud (VPC) using VPN or AWS Direct Connect.&lt;/P&gt;&lt;P&gt;The hardest part will be networking here. Once you establish connection then you can just use jdbc or odbc driver to read/write data from SQL Server&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2025 06:30:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-connect-to-a-local-instance-of-sql-server/m-p/131479#M49098</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-09-10T06:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to a local instance of SQL Server</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-connect-to-a-local-instance-of-sql-server/m-p/131973#M49305</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/179410"&gt;@MGAutomation&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;You may also need to open the firewall of your on-premises SQL Server to the CIDR range of your Databricks VPC. This ensures that the EC2 instances used by Databricks have valid IPs that can reach your database.&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;If what you are looking for is mainly to query or analyze data, and you already have connectivity through another tool or VPC such as AWS DMS or Airbyte (whether for testing or in a corporate environment), the easiest approach would be to export directly with those extractors into S3 and then read it from there.&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;Keep in mind that you could also use &lt;SPAN class=""&gt;&lt;STRONG&gt;Lakehouse Federation&lt;/STRONG&gt;&lt;/SPAN&gt; to create on-premise connections by configuring a federated catalog pointing to your SQL Server. For this you’ll need a &lt;SPAN class=""&gt;&lt;STRONG&gt;Serverless or Pro SQL Warehouse&lt;/STRONG&gt;&lt;/SPAN&gt; if you’re using a &lt;STRONG&gt;SQL endpoint&lt;/STRONG&gt;. This option will give you greater visibility and a more convenient way of working compared to a raw JDBC call, provided you have the right database permissions. Just be aware of the limitations that come with federation. &lt;A href="https://docs.databricks.com/aws/en/query-federation/sql-server" target="_self"&gt;Docs&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Hope this helps &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Isi&lt;/P&gt;</description>
      <pubDate>Mon, 15 Sep 2025 12:13:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-connect-to-a-local-instance-of-sql-server/m-p/131973#M49305</guid>
      <dc:creator>Isi</dc:creator>
      <dc:date>2025-09-15T12:13:08Z</dc:date>
    </item>
  </channel>
</rss>

