<?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 - SQL Database Projects Issues + 'ALTER TABLE' are not supported in Fabric in Data Warehouse</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3875448#M443</link>
    <description>&lt;P&gt;Thanks for your note...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I know those ALTER TABLE statements that are supported and that is precisely why I point out that you can run the same exact batch by hand it it works fine.&amp;nbsp; Still when submitted through the dacpac it does not run as shown in the previous post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can run the whole collection of scripts by hand successfully, through dacpac the same working ALTER TABLE statments fail.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My expectation is that anything that does run by hand should run successfully when publishing the database through the dacpac...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your thoughts...&lt;/P&gt;</description>
    <pubDate>Mon, 29 Apr 2024 11:35:34 GMT</pubDate>
    <dc:creator>esobrino</dc:creator>
    <dc:date>2024-04-29T11:35:34Z</dc:date>
    <item>
      <title>Data Warehouse - SQL Database Projects Issues + 'ALTER TABLE' are not supported in Fabric</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3872290#M441</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Here are some little issues&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;• Selecting a Profile always revert to an “SQL Login” Authentication type … “Microsoft Entra ID – Universal with MFA support” is expected.&lt;BR /&gt;• A batch should not only be allowed to have one statement on scripts. For example, it is possible that some variables may be needed if you are trying to populate a table. Alternatively, allow the script not to be executed (is not clear how to do this). In VS the Database Projects allow for such…&lt;BR /&gt;• It will be nice to add support for VS Database Projects to publish to Fabric… I tried and was clear how to…&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="5"&gt;More important...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;While publishing it outputted an issue while failing to deploy the dacpac:&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Error: Could not deploy package. Error SQL0: Deployment cannot continue because table changes that require ‘ALTER TABLE’ are not supported on Synapse Data Warehouse in Microsoft Fabric at this time.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;That I know is not true since I can execute the scripts that do have those 'ALTER TABLE'(s) without any issues and I get the expected results in the Fabric Data Warehouse.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Apr 2024 12:53:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3872290#M441</guid>
      <dc:creator>esobrino</dc:creator>
      <dc:date>2024-04-27T12:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: Data Warehouse - SQL Database Projects Issues + 'ALTER TABLE' are not supported in Fabric</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3873498#M442</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;forgive me if you already know this but with ALTER TABLE, only certain alter statements are supported e.g. adding unique/foreign key constraints/&amp;nbsp; Altering the table column structure itself like adding/dropping columns isn't supported.&amp;nbsp; What operations are your DB projects trying to do when deploying?&lt;/P&gt;</description>
      <pubDate>Sun, 28 Apr 2024 20:25:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3873498#M442</guid>
      <dc:creator>AndyDDC</dc:creator>
      <dc:date>2024-04-28T20:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Data Warehouse - SQL Database Projects Issues + 'ALTER TABLE' are not supported in Fabric</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3875448#M443</link>
      <description>&lt;P&gt;Thanks for your note...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I know those ALTER TABLE statements that are supported and that is precisely why I point out that you can run the same exact batch by hand it it works fine.&amp;nbsp; Still when submitted through the dacpac it does not run as shown in the previous post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can run the whole collection of scripts by hand successfully, through dacpac the same working ALTER TABLE statments fail.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My expectation is that anything that does run by hand should run successfully when publishing the database through the dacpac...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your thoughts...&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 11:35:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3875448#M443</guid>
      <dc:creator>esobrino</dc:creator>
      <dc:date>2024-04-29T11:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Data Warehouse - SQL Database Projects Issues + 'ALTER TABLE' are not supported in Fabric</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3875515#M444</link>
      <description>&lt;P&gt;What ALTER statements are you running manually?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 11:54:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3875515#M444</guid>
      <dc:creator>AndyDDC</dc:creator>
      <dc:date>2024-04-29T11:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Data Warehouse - SQL Database Projects Issues + 'ALTER TABLE' are not supported in Fabric</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3876241#M445</link>
      <description>&lt;P&gt;Here is a partial sample of a typical successfully tested table definition within the "SQL Database Project" in "Azure Data Studio":&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" color="#3366FF"&gt;CREATE TABLE [Case].[CaseDetail] (&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#3366FF"&gt;&amp;nbsp; &amp;nbsp;[CaseDetailNo] INT NOT NULL,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#3366FF"&gt;&amp;nbsp; &amp;nbsp;[CaseID] VARCHAR(20) NOT NULL,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#3366FF"&gt;&amp;nbsp; &amp;nbsp;[CaseNumber] VARCHAR(20) NOT NULL,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#3366FF"&gt;&amp;nbsp; &amp;nbsp;[TypeID] VARCHAR(20),&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#3366FF"&gt;&amp;nbsp; &amp;nbsp;[CaseTitle] VARCHAR(128),&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#3366FF"&gt;&amp;nbsp; &amp;nbsp;[FiledDate] DATE,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#3366FF"&gt;&amp;nbsp; &amp;nbsp;[JudgeNo] INT,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#3366FF"&gt;&amp;nbsp; &amp;nbsp;[CourtNo] INT&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#3366FF"&gt;);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#3366FF"&gt;GO&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" color="#3366FF"&gt;ALTER TABLE [Case].[CaseDetail] ADD CONSTRAINT pk_CaseDetail_No&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#3366FF"&gt;PRIMARY KEY NONCLUSTERED (CaseDetailNo) NOT ENFORCED;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#3366FF"&gt;GO&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" color="#3366FF"&gt;ALTER TABLE [Case].[CaseDetail] ADD CONSTRAINT fk_CaseDetail_Type FOREIGN KEY(TypeID)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#3366FF"&gt;REFERENCES [Case].[CaseType](TypeID) NOT ENFORCED;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#3366FF"&gt;GO&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#3366FF"&gt;ALTER TABLE [Case].[CaseDetail] ADD CONSTRAINT fk_CaseDetail_Court FOREIGN KEY(CourtNo)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#3366FF"&gt;REFERENCES [Entity].[Organization](OrganizationNo) NOT ENFORCED;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#3366FF"&gt;GO&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#3366FF"&gt;ALTER TABLE [Case].[CaseDetail] ADD CONSTRAINT fk_CaseDetail_Officer FOREIGN KEY(JudgeNo)&amp;nbsp;REFERENCES [Entity].[Officer](OfficerNo) NOT ENFORCED;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#3366FF"&gt;GO&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Normally, when all works as expected and when you "Publish" the database it creates all objects.&amp;nbsp; Those existing objects will be dropped...&amp;nbsp; (or depends on how you set-it-up within the advance options).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I expect is that "publish" behaves the same as the similar VS "Database Project" that has been available for years...&amp;nbsp; and if it runs manually it must run through "dapac".&amp;nbsp; The ALTER TABLE limitations are OK and those declared above follow the documentation and as explained all work well in the "Data Warehouse" and manually in "Azure Data Studio"...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 16:16:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3876241#M445</guid>
      <dc:creator>esobrino</dc:creator>
      <dc:date>2024-04-29T16:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Data Warehouse - SQL Database Projects Issues + 'ALTER TABLE' are not supported in Fabric</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3880348#M446</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;The internal team replied as follows:&lt;BR /&gt;&lt;BR /&gt;We have an artificial block on all alter table operations right now. You raise a good point that constraints can be added using alter table but unfortunately since we've implemented this block we cannot add constraints at this time through SQL projects. This block will be lifted in the coming semester.&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;BR /&gt;Apart from this I could not understand this point from the first question:&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;A batch should not only be allowed to have one statement on scripts. For example, it is possible that some variables may be needed if you are trying to populate a table. Alternatively, allow the script not to be executed (is not clear how to do this). In VS the Database Projects allow for such…&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;Can you please explain this?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 18:03:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3880348#M446</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-30T18:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Data Warehouse - SQL Database Projects Issues + 'ALTER TABLE' are not supported in Fabric</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3880408#M447</link>
      <description>&lt;P&gt;Got it!&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Related to the batch issue...&amp;nbsp; Within the "SQL Database Project" I wrote some code to load data into a table... some thing like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;DECLARE&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="181778" data-lia-user-login="dt" class="lia-mention lia-mention-user"&gt;dt&lt;/a&gt; DATETIME2(6) = getutcdate()&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;INSERT INTO [Code].[StatuteTitleCode] (CodeID, Description, UpdatedDate) VALUES&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;&amp;nbsp; &amp;nbsp;('AB', 'Alcoholic Breverages',&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="181778" data-lia-user-login="dt" class="lia-mention lia-mention-user"&gt;dt&lt;/a&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;GO&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The previous runs as expected within its script when executed by hand, but in dacpac it states that statements must be followed by a "GO".&amp;nbsp; And there is no point on putting a GO after the DECLARE since I will loose the variable.&amp;nbsp; This case is a no brainer since I can just put the date directly on the values... still it will be nice that a batch could be more than just one sentence.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your thoughts...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 18:27:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3880408#M447</guid>
      <dc:creator>esobrino</dc:creator>
      <dc:date>2024-04-30T18:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Data Warehouse - SQL Database Projects Issues + 'ALTER TABLE' are not supported in Fabric</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3889853#M448</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;Is this behavior specific to DW or is it across SQL projects?&amp;nbsp;and is this script a post deployment script?&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 18:03:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3889853#M448</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-03T18:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Data Warehouse - SQL Database Projects Issues + 'ALTER TABLE' are not supported in Fabric</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3889914#M449</link>
      <description>&lt;P&gt;Can you give the above details&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;?&amp;nbsp;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 18:38:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3889914#M449</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-03T18:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Data Warehouse - SQL Database Projects Issues + 'ALTER TABLE' are not supported in Fabric</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3894658#M450</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;We haven’t heard from you on the last response and was just checking back to see if you can provide the details asked above.&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 09:47:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3894658#M450</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-06T09:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Data Warehouse - SQL Database Projects Issues + 'ALTER TABLE' are not supported in Fabric</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3899798#M451</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/728882" target="_blank"&gt;@esobrino&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We haven’t heard from you on the last response and was just checking back to see if you can provide the details asked above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 17:48:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3899798#M451</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-07T17:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Data Warehouse - SQL Database Projects Issues + 'ALTER TABLE' are not supported in Fabric</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3899962#M452</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As stated above, I have (lets say) this script with one batch:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;DECLARE &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="181778" data-lia-user-login="dt" class="lia-mention lia-mention-user"&gt;dt&lt;/a&gt; DATETIME2(6) = getutcdate()
INSERT INTO [Code].[StatuteTitleCode] (CodeID, Description, UpdatedDate) VALUES
   ('AB', 'Alcoholic Breverages', &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="181778" data-lia-user-login="dt" class="lia-mention lia-mention-user"&gt;dt&lt;/a&gt;)
GO&lt;/LI-CODE&gt;&lt;P&gt;When I "publish" to deploy the model it complained about having 2 statements (1 - the declare, and the 2nd the insert) and say that each should be in a separate batch implying that a GO should be in between.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I commented the above and try to deploy ("publish") it and have other issues stating that it can't drop "exec_request_history" and others that are not even my objects.&amp;nbsp; I should not had those issues since I guess I suppose to supress or ignore those default objects using the following profile:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&amp;gt;
  &amp;lt;PropertyGroup&amp;gt;
    &amp;lt;TargetDatabaseName&amp;gt;DwStructured&amp;lt;/TargetDatabaseName&amp;gt;
    &amp;lt;TargetConnectionString&amp;gt;Data Source=txttshydoloejkit7jdka6ptg4-rfn4od4lgaduto2fljvpzsg4tu.datawarehouse.fabric.microsoft.com;Initial Catalog=DwStructured;User ID="Eduardo Sobrino - Eduardos@estradaconsultinginc.com";Password=******;Connect Timeout=30;Encrypt=True;Trust Server Certificate=False;Authentication=ActiveDirectoryInteractive;Application Name=azdata;Command Timeout=30&amp;lt;/TargetConnectionString&amp;gt;
    &amp;lt;AllowIncompatiblePlatform&amp;gt;True&amp;lt;/AllowIncompatiblePlatform&amp;gt;
    &amp;lt;DropConstraintsNotInSource&amp;gt;False&amp;lt;/DropConstraintsNotInSource&amp;gt;
    &amp;lt;DropDmlTriggersNotInSource&amp;gt;False&amp;lt;/DropDmlTriggersNotInSource&amp;gt;
    &amp;lt;DropExtendedPropertiesNotInSource&amp;gt;False&amp;lt;/DropExtendedPropertiesNotInSource&amp;gt;
    &amp;lt;DropIndexesNotInSource&amp;gt;False&amp;lt;/DropIndexesNotInSource&amp;gt;
    &amp;lt;DropPermissionsNotInSource&amp;gt;True&amp;lt;/DropPermissionsNotInSource&amp;gt;
    &amp;lt;DropObjectsNotInSource&amp;gt;True&amp;lt;/DropObjectsNotInSource&amp;gt;
    &amp;lt;DropRoleMembersNotInSource&amp;gt;True&amp;lt;/DropRoleMembersNotInSource&amp;gt;
    &amp;lt;DropStatisticsNotInSource&amp;gt;False&amp;lt;/DropStatisticsNotInSource&amp;gt;
    &amp;lt;IgnoreKeywordCasing&amp;gt;False&amp;lt;/IgnoreKeywordCasing&amp;gt;
    &amp;lt;IgnoreSemicolonBetweenStatements&amp;gt;False&amp;lt;/IgnoreSemicolonBetweenStatements&amp;gt;
    &amp;lt;AllowDropBlockingAssemblies&amp;gt;True&amp;lt;/AllowDropBlockingAssemblies&amp;gt;
    &amp;lt;ProfileVersionNumber&amp;gt;1&amp;lt;/ProfileVersionNumber&amp;gt;
  &amp;lt;/PropertyGroup&amp;gt;
&amp;lt;/Project&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My guess is that those default objects should not be touched and that by setting "DropXXXNotInSource" those should not be managed.&amp;nbsp; Still when I generate the script I got:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;PRINT N'Dropping View [queryinsights].[exec_requests_history]...';
GO
DROP VIEW [queryinsights].[exec_requests_history];
GO
PRINT N'Dropping View [queryinsights].[long_running_queries]...';
GO
DROP VIEW [queryinsights].[long_running_queries];
GO
PRINT N'Dropping View [queryinsights].[frequently_run_queries]...';
GO
DROP VIEW [queryinsights].[frequently_run_queries];
GO
PRINT N'Dropping Schema [_rsc]...';
GO
DROP SCHEMA [_rsc];
GO
PRINT N'Dropping Schema [queryinsights]...';
GO
DROP SCHEMA [queryinsights];&lt;/LI-CODE&gt;&lt;P&gt;That I want to avoid being dropted or even managed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry to show another issue while explaining the original found issue with the 2 statements batch.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I could have any existing documentation to perform a successful publish that will be nice, else if you help me prepare such documentation it will also be OK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope to hear from you soon...&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>Tue, 07 May 2024 18:57:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3899962#M452</guid>
      <dc:creator>esobrino</dc:creator>
      <dc:date>2024-05-07T18:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Data Warehouse - SQL Database Projects Issues + 'ALTER TABLE' are not supported in Fabric</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3902976#M453</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;/P&gt;
&lt;P&gt;Apologies for the issue you have been facing.&lt;BR /&gt;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;Our dedicated support team is well-equipped to handle code-related inquiries. They can assist you in troubleshooting the issue and provide you with step-by-step guidance.&lt;BR /&gt;After creating the ticket, please provide the details here.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 17:13:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3902976#M453</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-08T17:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Data Warehouse - SQL Database Projects Issues + 'ALTER TABLE' are not supported in Fabric</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3903308#M454</link>
      <description>&lt;P&gt;Support # is:&amp;nbsp;&lt;SPAN&gt;2405080040012467&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 19:22:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Data-Warehouse-SQL-Database-Projects-Issues-ALTER-TABLE-are-not/m-p/3903308#M454</guid>
      <dc:creator>esobrino</dc:creator>
      <dc:date>2024-05-08T19:22:21Z</dc:date>
    </item>
  </channel>
</rss>

