Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
The scenario is very simple, given a Data Warehouse and executing the "Download SQL database project" menu option, a ZIP file is generated. The Data Warehouse was created and it contains a table definition that has a foreign key to another CaseDetail table. The generated project shows the following:
ALTER TABLE [Case].[CaseFlag] ADD CONSTRAINT fk_CaseFlag_Case FOREIGN KEY (, [CaseDetailID]) REFERENCES Case.CaseDetail(, [CaseDetailID]);
Executing the previous statement 2 issues where found. 1) the 2 commas after the openned parenthesis (shown in red); and 2) since (I guess) the word "Case" was not quotted it generated an error.
The expected output was:
ALTER TABLE [Case].[CaseFlag] ADD CONSTRAINT fk_CaseFlag_Case FOREIGN KEY(CaseDetailID)
REFERENCES [Case].[CaseDetail](CaseDetailID) NOT ENFORCED;
On another note the original SQL script define a PK that is not defined in the generated code. Can you explained why?
Hope that this gets corrected and soon be available...
Here is the requested info: Support request number: 2404270040000609
Hi @esobrino
Thanks for using Fabric Community.
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.
Thanks
Super! Hope to hear from you guys sooon...
Hi @esobrino
The internal team wants you to create a support ticket to understand why the package generated the wrong script. I will request you to please go ahead with Microsoft support on this.
https://support.fabric.microsoft.com/en-US/support/
After creating the ticket please provide the ticket details here so that it would be helpful for internal tracking.
Thanks
Check out the April 2024 Fabric update to learn about new features.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City