<?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: Data Warehouse - &amp;quot;Download SQL database project&amp;quot; option generates invalid SQL... in Data Warehouse</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-quot-Download-SQL-database-project-quot-option/m-p/3871755#M362</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="728882" data-lia-user-login="esobrino" class="lia-mention lia-mention-user"&gt;esobrino&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thanks for using Fabric Community.&lt;BR /&gt;At this time, we are reaching out to the internal team to get some help on this. We will update you once we hear back from them. &lt;BR /&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 26 Apr 2024 19:56:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-04-26T19:56:14Z</dc:date>
    <item>
      <title>Data Warehouse - "Download SQL database project" option generates invalid SQL...</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-quot-Download-SQL-database-project-quot-option/m-p/3869343#M361</link>
      <description>&lt;P&gt;The scenario is very simple, given a Data Warehouse and executing the "Download SQL database project" menu option, a ZIP file is generated.&amp;nbsp; The Data Warehouse was created and it contains a table definition that has a foreign key to another CaseDetail table.&amp;nbsp; The generated project shows the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;ALTER TABLE [Case].[CaseFlag] ADD CONSTRAINT fk_CaseFlag_Case FOREIGN KEY (&lt;/FONT&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;,&lt;/STRONG&gt; &lt;/FONT&gt;&lt;FONT color="#3366FF"&gt;[CaseDetailID]) REFERENCES&lt;/FONT&gt; &lt;FONT color="#FF0000"&gt;Case&lt;/FONT&gt;&lt;FONT color="#3366FF"&gt;.CaseDetail(&lt;/FONT&gt;&lt;FONT color="#FF0000"&gt;,&lt;/FONT&gt; &lt;FONT color="#3366FF"&gt;[CaseDetailID]);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Executing the previous statement 2 issues where found.&amp;nbsp; 1) the 2 commas after the openned parenthesis (shown in red); and 2) since (I guess) the word "&lt;FONT color="#FF0000"&gt;Case&lt;/FONT&gt;" was not quotted it generated an error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The expected output was:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;ALTER TABLE [Case].[CaseFlag] ADD CONSTRAINT fk_CaseFlag_Case FOREIGN KEY(CaseDetailID)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;REFERENCES [Case].[CaseDetail](CaseDetailID) NOT ENFORCED;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On another note the original SQL script define a PK that is not defined in the generated code.&amp;nbsp; Can you explained why?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that this gets corrected and soon be available...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 21:12:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-quot-Download-SQL-database-project-quot-option/m-p/3869343#M361</guid>
      <dc:creator>esobrino</dc:creator>
      <dc:date>2024-04-25T21:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Data Warehouse - "Download SQL database project" option generates invalid SQL...</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-quot-Download-SQL-database-project-quot-option/m-p/3871755#M362</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="728882" data-lia-user-login="esobrino" class="lia-mention lia-mention-user"&gt;esobrino&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thanks for using Fabric Community.&lt;BR /&gt;At this time, we are reaching out to the internal team to get some help on this. We will update you once we hear back from them. &lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 19:56:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-quot-Download-SQL-database-project-quot-option/m-p/3871755#M362</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-26T19:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Data Warehouse - "Download SQL database project" option generates invalid SQL...</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-quot-Download-SQL-database-project-quot-option/m-p/3871757#M363</link>
      <description>&lt;P&gt;Super!&amp;nbsp; Hope to hear from you guys sooon...&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 19:57:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-quot-Download-SQL-database-project-quot-option/m-p/3871757#M363</guid>
      <dc:creator>esobrino</dc:creator>
      <dc:date>2024-04-26T19:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Data Warehouse - "Download SQL database project" option generates invalid SQL...</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-quot-Download-SQL-database-project-quot-option/m-p/3871758#M364</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="728882" data-lia-user-login="esobrino" class="lia-mention lia-mention-user"&gt;esobrino&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The internal team wants you to create a support ticket to understand why the package generated the wrong script.&amp;nbsp;I will request you to please go ahead with Microsoft support on this. &lt;BR /&gt;&lt;A href="https://support.fabric.microsoft.com/en-US/support/" target="_blank"&gt;https://support.fabric.microsoft.com/en-US/support/&lt;/A&gt;&lt;BR /&gt;After creating the ticket please provide the ticket details here so that it would be helpful for internal tracking.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 20:01:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-quot-Download-SQL-database-project-quot-option/m-p/3871758#M364</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-26T20:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Data Warehouse - "Download SQL database project" option generates invalid SQL...</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-quot-Download-SQL-database-project-quot-option/m-p/3872227#M365</link>
      <description>&lt;P&gt;Here is the requested info:&amp;nbsp; Support request number:&amp;nbsp;&lt;FONT color="#3366FF"&gt;&lt;STRONG&gt;2404270040000609&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Apr 2024 10:55:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-quot-Download-SQL-database-project-quot-option/m-p/3872227#M365</guid>
      <dc:creator>esobrino</dc:creator>
      <dc:date>2024-04-27T10:55:29Z</dc:date>
    </item>
  </channel>
</rss>

