<?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: [Database Projects] Statement 'CREATE TABLE' is not supported in Data Warehouse</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Database-Projects-Statement-CREATE-TABLE-is-not-supported/m-p/3751353#M406</link>
    <description>&lt;P&gt;No resolution yet, I have been contacted by both support tech and operations manager warehousing.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Mar 2024 12:21:50 GMT</pubDate>
    <dc:creator>BiJoe</dc:creator>
    <dc:date>2024-03-08T12:21:50Z</dc:date>
    <item>
      <title>[Database Projects] Statement 'CREATE TABLE' is not supported</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Database-Projects-Statement-CREATE-TABLE-is-not-supported/m-p/3739949#M399</link>
      <description>&lt;P&gt;I have just started testing Database Projects extension in Azure Data Studio. I have made a new project out of an existing Fabric warehouse. In that warehouse I have several stored procedure which are triggered in a pipeline, for dropping, creating and transforming tables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The project seemingly loads just fine in ADS, I can run select queries locally and get expected results, as well as ALTER existing procedures.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For testing I made some simple changes in one of the stored procedures in ADS, then chose Build. I get a lot of errors, the first one is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Build error SQL70015: Statement 'CREATE TABLE' is not supported for the targeted platform.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I seem to remember this being a problem earlier in Fabric warehouses, but CREATE TABLE works just fine in Fabric portal now. What am I doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: I just made a new folder for containing all Database Projects, and created yet another new project from the same existing Fabric warehouse. I see that the changes I made in the failed build is also implemented in the stored procedure from the new project...&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 12:32:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Database-Projects-Statement-CREATE-TABLE-is-not-supported/m-p/3739949#M399</guid>
      <dc:creator>BiJoe</dc:creator>
      <dc:date>2024-03-04T12:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: [Database Projects] Statement 'CREATE TABLE' is not supported</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Database-Projects-Statement-CREATE-TABLE-is-not-supported/m-p/3740446#M400</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="451446" data-lia-user-login="BiJoe" class="lia-mention lia-mention-user"&gt;BiJoe&lt;/a&gt;&amp;nbsp;so to clarify, it's not any CREATE TABLE syntax failing for actual tables in your database project, but rather CREATE TABLE syntax within Stored Procedures in your database project?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 15:18:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Database-Projects-Statement-CREATE-TABLE-is-not-supported/m-p/3740446#M400</guid>
      <dc:creator>AndyDDC</dc:creator>
      <dc:date>2024-03-04T15:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: [Database Projects] Statement 'CREATE TABLE' is not supported</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Database-Projects-Statement-CREATE-TABLE-is-not-supported/m-p/3742000#M401</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="265587" data-lia-user-login="AndyDDC" class="lia-mention lia-mention-user"&gt;AndyDDC&lt;/a&gt;&amp;nbsp;there are two issues here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. The stored procedures I wrote had CREATE TABLE AS, which I can work around by using SELECT INTO&lt;/P&gt;&lt;P&gt;2. All the tables, both the ones created from my SP, and the tables imported with Data Flow, show up as CREATE TABLE statements.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each of these CREATE TABLE AS statements generate a build failure. I have submitted a support ticket for this. I guess the reason for this failure is that Microsoft SQL Server does not allow CREATE TABLE AS?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 07:11:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Database-Projects-Statement-CREATE-TABLE-is-not-supported/m-p/3742000#M401</guid>
      <dc:creator>BiJoe</dc:creator>
      <dc:date>2024-03-05T07:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: [Database Projects] Statement 'CREATE TABLE' is not supported</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Database-Projects-Statement-CREATE-TABLE-is-not-supported/m-p/3746835#M402</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="451446" data-lia-user-login="BiJoe" class="lia-mention lia-mention-user"&gt;BiJoe&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Can you please provide the support ticket number here? This would help us to track internally.&lt;BR /&gt;&lt;BR /&gt;While SQL Server itself supports CTAS, Azure Data Studio Database Projects might have limitations regarding specific platforms like Fabric warehouses. The build error message "SQL70015: Statement 'CREATE TABLE' is not supported for the targeted platform" accurately reflects the current incompatibility.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 18:09:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Database-Projects-Statement-CREATE-TABLE-is-not-supported/m-p/3746835#M402</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-06T18:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: [Database Projects] Statement 'CREATE TABLE' is not supported</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Database-Projects-Statement-CREATE-TABLE-is-not-supported/m-p/3748266#M404</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, ticket number&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;2403040050003670&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I understand regarding compatibility, then all the warehouse's imported table CREATE TABLE AS statements will generate build errors.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 09:05:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Database-Projects-Statement-CREATE-TABLE-is-not-supported/m-p/3748266#M404</guid>
      <dc:creator>BiJoe</dc:creator>
      <dc:date>2024-03-07T09:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: [Database Projects] Statement 'CREATE TABLE' is not supported</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Database-Projects-Statement-CREATE-TABLE-is-not-supported/m-p/3751350#M405</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="451446" data-lia-user-login="BiJoe" class="lia-mention lia-mention-user"&gt;BiJoe&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Are you still facing this issue or did you get any resolution? Please let me know if you have any further questions. Glad to help.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 12:18:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Database-Projects-Statement-CREATE-TABLE-is-not-supported/m-p/3751350#M405</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-08T12:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: [Database Projects] Statement 'CREATE TABLE' is not supported</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Database-Projects-Statement-CREATE-TABLE-is-not-supported/m-p/3751353#M406</link>
      <description>&lt;P&gt;No resolution yet, I have been contacted by both support tech and operations manager warehousing.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 12:21:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Database-Projects-Statement-CREATE-TABLE-is-not-supported/m-p/3751353#M406</guid>
      <dc:creator>BiJoe</dc:creator>
      <dc:date>2024-03-08T12:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: [Database Projects] Statement 'CREATE TABLE' is not supported</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Database-Projects-Statement-CREATE-TABLE-is-not-supported/m-p/3786418#M408</link>
      <description>&lt;P&gt;&lt;SPAN&gt;This case seems to be stuck in support, not passing "Escalation engineers"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 14:31:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Database-Projects-Statement-CREATE-TABLE-is-not-supported/m-p/3786418#M408</guid>
      <dc:creator>BiJoe</dc:creator>
      <dc:date>2024-03-22T14:31:52Z</dc:date>
    </item>
  </channel>
</rss>

