<?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 Azure SQL DB bug in identifying the primary key for table? in SQL database</title>
    <link>https://community.fabric.microsoft.com/t5/SQL-database/Azure-SQL-DB-bug-in-identifying-the-primary-key-for-table/m-p/4356967#M143</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We want to try Fabric with a mirrored MSSQL database, however we get this error for several tables:&amp;nbsp;&lt;SPAN&gt;&lt;EM&gt;This table can't be mirrored to Fabric because the primary key column uses one of the following data types: computed types, user-defined types, geometry, geography, hierarchy ID, SQL variant, timestamp, datetime2(7), datetimeoffset(7) or time(7)&lt;/EM&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However it's not true, we have the &lt;STRONG&gt;Id int&lt;/STRONG&gt; as the primary key. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I think it's because we have another &lt;STRONG&gt;unique constraint&lt;/STRONG&gt; apart from the ID that also contains a date field. Is it a bug that the PK is being identified incorrectly or is it a limitation that we can't have unique constraint for date? (I did not find in the document).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you in advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jan 2025 10:36:41 GMT</pubDate>
    <dc:creator>jozseftuska</dc:creator>
    <dc:date>2025-01-09T10:36:41Z</dc:date>
    <item>
      <title>Azure SQL DB bug in identifying the primary key for table?</title>
      <link>https://community.fabric.microsoft.com/t5/SQL-database/Azure-SQL-DB-bug-in-identifying-the-primary-key-for-table/m-p/4356967#M143</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We want to try Fabric with a mirrored MSSQL database, however we get this error for several tables:&amp;nbsp;&lt;SPAN&gt;&lt;EM&gt;This table can't be mirrored to Fabric because the primary key column uses one of the following data types: computed types, user-defined types, geometry, geography, hierarchy ID, SQL variant, timestamp, datetime2(7), datetimeoffset(7) or time(7)&lt;/EM&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However it's not true, we have the &lt;STRONG&gt;Id int&lt;/STRONG&gt; as the primary key. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I think it's because we have another &lt;STRONG&gt;unique constraint&lt;/STRONG&gt; apart from the ID that also contains a date field. Is it a bug that the PK is being identified incorrectly or is it a limitation that we can't have unique constraint for date? (I did not find in the document).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you in advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2025 10:36:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/SQL-database/Azure-SQL-DB-bug-in-identifying-the-primary-key-for-table/m-p/4356967#M143</guid>
      <dc:creator>jozseftuska</dc:creator>
      <dc:date>2025-01-09T10:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Azure SQL DB bug in identifying the primary key for table?</title>
      <link>https://community.fabric.microsoft.com/t5/SQL-database/Azure-SQL-DB-bug-in-identifying-the-primary-key-for-table/m-p/4357939#M144</link>
      <description>&lt;P&gt;sure sounds like a design oversight.&amp;nbsp;&amp;nbsp;If you have a Pro license you can open a Pro ticket at &lt;A href="https://admin.powerplatform.microsoft.com/newsupportticket/powerbi" target="_blank"&gt;https://admin.powerplatform.microsoft.com/newsupportticket/powerbi&lt;/A&gt;&lt;BR /&gt;Otherwise you can raise an issue at &lt;A href="https://community.fabric.microsoft.com/t5/Issues/idb-p/Issues" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Issues/idb-p/Issues&lt;/A&gt; .&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2025 23:45:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/SQL-database/Azure-SQL-DB-bug-in-identifying-the-primary-key-for-table/m-p/4357939#M144</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-01-09T23:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Azure SQL DB bug in identifying the primary key for table?</title>
      <link>https://community.fabric.microsoft.com/t5/SQL-database/Azure-SQL-DB-bug-in-identifying-the-primary-key-for-table/m-p/4359224#M145</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="910387" data-lia-user-login="jozseftuska" class="lia-mention lia-mention-user"&gt;jozseftuska&lt;/a&gt;,&amp;nbsp;we can confirm that this is a bug and in your scenario the table should &lt;EM&gt;&lt;STRONG&gt;NOT&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt; be blocked for Mirroring as you have a supported data type as a PK with a UK constraint of Date field. We'll work to have this bug resolved soon. Thanks for bringing this to our attention!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 18:01:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/SQL-database/Azure-SQL-DB-bug-in-identifying-the-primary-key-for-table/m-p/4359224#M145</guid>
      <dc:creator>idrismotiwala</dc:creator>
      <dc:date>2025-01-10T18:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Azure SQL DB bug in identifying the primary key for table?</title>
      <link>https://community.fabric.microsoft.com/t5/SQL-database/Azure-SQL-DB-bug-in-identifying-the-primary-key-for-table/m-p/4605165#M214</link>
      <description>&lt;P&gt;This is still an issue and preventing us from fully evaluating Fabric.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="813243" data-lia-user-login="idrismotiwala" class="lia-mention lia-mention-user"&gt;idrismotiwala&lt;/a&gt;&amp;nbsp;any update on when the fix will be released?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 12:52:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/SQL-database/Azure-SQL-DB-bug-in-identifying-the-primary-key-for-table/m-p/4605165#M214</guid>
      <dc:creator>dawiej</dc:creator>
      <dc:date>2025-03-11T12:52:17Z</dc:date>
    </item>
  </channel>
</rss>

