<?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 SQL Differences When Using SSMS with Databricks Lakehouse Federation in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/sql-differences-when-using-ssms-with-databricks-lakehouse/m-p/83922#M1489</link>
    <description>&lt;P&gt;I'm planning to connect SQL Server Management Studio (SSMS) with Databricks using Lakehouse Federation. I understand that there are some differences in the SQL dialects between SSMS and Databricks SQL. For instance, in SSMS, we use TOP 10 to limit the number of rows, whereas in Databricks SQL, we use LIMIT 10.&lt;/P&gt;&lt;P&gt;Could someone clarify which query language will be used when querying Databricks from SSMS in this setup? Will SSMS automatically translate the queries, or do I need to adapt them for Databricks SQL manually?&lt;/P&gt;</description>
    <pubDate>Thu, 22 Aug 2024 13:08:48 GMT</pubDate>
    <dc:creator>Akshay_Petkar</dc:creator>
    <dc:date>2024-08-22T13:08:48Z</dc:date>
    <item>
      <title>SQL Differences When Using SSMS with Databricks Lakehouse Federation</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/sql-differences-when-using-ssms-with-databricks-lakehouse/m-p/83922#M1489</link>
      <description>&lt;P&gt;I'm planning to connect SQL Server Management Studio (SSMS) with Databricks using Lakehouse Federation. I understand that there are some differences in the SQL dialects between SSMS and Databricks SQL. For instance, in SSMS, we use TOP 10 to limit the number of rows, whereas in Databricks SQL, we use LIMIT 10.&lt;/P&gt;&lt;P&gt;Could someone clarify which query language will be used when querying Databricks from SSMS in this setup? Will SSMS automatically translate the queries, or do I need to adapt them for Databricks SQL manually?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 13:08:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/sql-differences-when-using-ssms-with-databricks-lakehouse/m-p/83922#M1489</guid>
      <dc:creator>Akshay_Petkar</dc:creator>
      <dc:date>2024-08-22T13:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Differences When Using SSMS with Databricks Lakehouse Federation</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/sql-differences-when-using-ssms-with-databricks-lakehouse/m-p/83950#M1492</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/88335"&gt;@Akshay_Petkar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;To be precise, you are going to connect SQL Server with Databricks using Lakehouse Federation &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; SSMS is just a client tool you can use to query SQL Server database.&lt;BR /&gt;And answering your question, you are limited only to dialect supported by Spark SQL. So you cannot use TOP 10, which comes from T-SQL dialect, because you will get an error as below:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Slash_0-1724342883081.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/10545i59EE536019FC5064/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Slash_0-1724342883081.png" alt="Slash_0-1724342883081.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 16:13:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/sql-differences-when-using-ssms-with-databricks-lakehouse/m-p/83950#M1492</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2024-08-22T16:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Differences When Using SSMS with Databricks Lakehouse Federation</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/sql-differences-when-using-ssms-with-databricks-lakehouse/m-p/84021#M1496</link>
      <description>&lt;P&gt;To add on this:&lt;BR /&gt;if you really have to use T-SQL (the MS dialect of SQL), you can define the SQL warehouse from databricks as a linked server on your SQL server.&lt;BR /&gt;As said: SSMS is merely a sql client, the SQL dialect to be used is defined by the database you are connecting to.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 08:20:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/sql-differences-when-using-ssms-with-databricks-lakehouse/m-p/84021#M1496</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2024-08-23T08:20:40Z</dc:date>
    </item>
  </channel>
</rss>

