<?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: DB Compatibility Level in SQL database</title>
    <link>https://community.fabric.microsoft.com/t5/SQL-database/DB-Compatibility-Level/m-p/4706734#M286</link>
    <description>&lt;P&gt;OK, lots of viewers and no comments. If the answer to this is that you can do it from "Microsoft Fabric" in the Azure Portal , just wanted to say that for my experiment, I have nothing in there to manage, but I do have Lakehouses, Warehouses and SQL DB's in my Power BI Tenant. So struggling to see how to uplift existing DB's to SQL 2025&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 May 2025 06:05:55 GMT</pubDate>
    <dc:creator>markf7962</dc:creator>
    <dc:date>2025-05-26T06:05:55Z</dc:date>
    <item>
      <title>DB Compatibility Level</title>
      <link>https://community.fabric.microsoft.com/t5/SQL-database/DB-Compatibility-Level/m-p/4704262#M281</link>
      <description>&lt;P&gt;I noticed new Fabric SQL DB's are now created at 170 compatibility level (SQL 2025) but my older ones are 160 (SQL 2022).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to upgrade the older ones given that below is not allowed on Fabric SQL DB's ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ALTER DATABASE [&amp;lt;YOUR DB NAME&amp;gt;] SET COMPATIBILITY_LEVEL = 170&amp;nbsp;&lt;BR /&gt;Apologies if this has already been asked and answered.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 01:06:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/SQL-database/DB-Compatibility-Level/m-p/4704262#M281</guid>
      <dc:creator>markf7962</dc:creator>
      <dc:date>2025-05-23T01:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: DB Compatibility Level</title>
      <link>https://community.fabric.microsoft.com/t5/SQL-database/DB-Compatibility-Level/m-p/4706734#M286</link>
      <description>&lt;P&gt;OK, lots of viewers and no comments. If the answer to this is that you can do it from "Microsoft Fabric" in the Azure Portal , just wanted to say that for my experiment, I have nothing in there to manage, but I do have Lakehouses, Warehouses and SQL DB's in my Power BI Tenant. So struggling to see how to uplift existing DB's to SQL 2025&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 06:05:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/SQL-database/DB-Compatibility-Level/m-p/4706734#M286</guid>
      <dc:creator>markf7962</dc:creator>
      <dc:date>2025-05-26T06:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: DB Compatibility Level</title>
      <link>https://community.fabric.microsoft.com/t5/SQL-database/DB-Compatibility-Level/m-p/4707359#M288</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="573802" data-lia-user-login="markf7962" class="lia-mention lia-mention-user"&gt;markf7962&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;Thank you for reaching out to Microosft Fabric Community Forum.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;New databases created in &lt;/SPAN&gt;&lt;SPAN&gt;Microsoft Fabric SQL DB&lt;/SPAN&gt;&lt;SPAN&gt; now default to &lt;/SPAN&gt;&lt;SPAN&gt;level 170&lt;/SPAN&gt;&lt;SPAN&gt; (SQL 2025).Older Fabric SQL databases may still use &lt;/SPAN&gt;&lt;SPAN&gt;level 160&lt;/SPAN&gt;&lt;SPAN&gt; (SQL 2022). You cannot manually change the compatibility level in Microsoft Fabric SQL DBs using&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ALTER DATABASE [&amp;lt;YOUR DB NAME&amp;gt;] SET COMPATIBILITY_LEVEL =170&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To use a different level, you must create a new database with the desired level and migrate the data.&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV style="direction: ltr; border-width: 100%;"&gt;
&lt;DIV style="direction: ltr; margin-top: 0in; margin-left: 0in; width: 6.109in;"&gt;
&lt;DIV style="direction: ltr; margin-top: 0in; margin-left: 0in; width: 6.109in;"&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 16.0pt;"&gt;&lt;SPAN&gt;Please refer the below documents:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL style="direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in;" type="disc"&gt;
&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle;"&gt;&lt;A href="https://learn.microsoft.com/en-us/sql/t-sql/statements/alter-database-transact-sql-compatibility-level" target="_blank"&gt;&lt;SPAN&gt;ALTER DATABASE - Compatibility Level&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;
&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle;"&gt;&lt;A href="https://learn.microsoft.com/en-us/sql/relational-databases/databases/view-or-change-the-compatibility-level-of-a-database" target="_blank"&gt;&lt;SPAN&gt;View or Change Compatibility Level&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;
&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle;"&gt;&lt;A href="https://techcommunity.microsoft.com/blog/azuresqlblog/database-compatibility-level-170-in-azure-sql-database-and-sql-database-in-micro/4405102" target="_blank"&gt;&lt;SPAN&gt;Fabric SQL &amp;amp; Compatibility Level 170 Announcement&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;
&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle;"&gt;&lt;A href="https://learn.microsoft.com/en-us/sql/relational-databases/performance/upgrade-dbcompat-using-qta?view=sql-server-ver17" target="_blank"&gt;&lt;SPAN&gt;Upgrade Databases Using Query Tuning Assistant - SQL Server | Microsoft Learn&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV style="direction: ltr;"&gt;
&lt;TABLE style="direction: ltr; border-collapse: collapse; border: 1pt solid #A3A3A3;" title="" border="1" summary="" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="background-color: #c5e0b3; vertical-align: top; width: 7.5284in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;H4 style="margin: 0in; font-family: Calibri; font-size: 12.0pt;"&gt;&lt;SPAN&gt;If this post helps, then please consider &lt;/SPAN&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;Accepting as solution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;SPAN&gt; to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!&lt;/SPAN&gt;&lt;/H4&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;P style="margin: 0in; margin-left: 3.0in; font-family: Arial; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;B Manikanteswara Reddy&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 26 May 2025 11:25:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/SQL-database/DB-Compatibility-Level/m-p/4707359#M288</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-05-26T11:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: DB Compatibility Level</title>
      <link>https://community.fabric.microsoft.com/t5/SQL-database/DB-Compatibility-Level/m-p/4711023#M300</link>
      <description>&lt;P&gt;Thanks for confirming my suspicion. I had already used sqlpackage to do exactly that, but then of course I had to fix up the change of lineage for the Semantic Model sitting on top of the old DB. Thanks to Tabular Editor for enabling that outcome.&lt;BR /&gt;&lt;BR /&gt;Lets hope there is support for a better way of dealing with things like this as Fabric matures as a platform.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 23:22:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/SQL-database/DB-Compatibility-Level/m-p/4711023#M300</guid>
      <dc:creator>markf7962</dc:creator>
      <dc:date>2025-05-28T23:22:40Z</dc:date>
    </item>
  </channel>
</rss>

