<?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: Create lakehouse tables with script in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-lakehouse-tables-with-script/m-p/3673634#M1813</link>
    <description>&lt;P&gt;doens't work for you to run a notebook that creates tables?&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;LI-CODE lang="python"&gt;%%sql
CREATE TABLE mytable (
    f1 INT,
    f2 VARCHAR(10)
)

CREATE TABLE mytable2 (
    f1 INT,
    f2 VARCHAR(10)
)

CREATE TABLE mytable3 (
    f1 INT,
    f2 VARCHAR(10)
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Thu, 01 Feb 2024 17:50:49 GMT</pubDate>
    <dc:creator>R1k91</dc:creator>
    <dc:date>2024-02-01T17:50:49Z</dc:date>
    <item>
      <title>Create lakehouse tables with script</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-lakehouse-tables-with-script/m-p/3673331#M1812</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;i use lakehouse tables as bronze layer, as destination for pipelines with source csv files. This lakehouse tables are the base for views in my warehouse. (create view warehouse.dbo.testview as select * from lakehouse.dbo.testtable...)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create a new workspace with my warehouse and lakehouse. The objects in the warehouse are created by sql scripts, but i can't create the views because the lakehouse tables don't exist.&lt;/P&gt;&lt;P&gt;Now the question: Is it possible to create empty lakehouse tables with a script? Or do i have to run the pipelines first to create the tables?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 15:51:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-lakehouse-tables-with-script/m-p/3673331#M1812</guid>
      <dc:creator>cw88</dc:creator>
      <dc:date>2024-02-01T15:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Create lakehouse tables with script</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-lakehouse-tables-with-script/m-p/3673634#M1813</link>
      <description>&lt;P&gt;doens't work for you to run a notebook that creates tables?&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;LI-CODE lang="python"&gt;%%sql
CREATE TABLE mytable (
    f1 INT,
    f2 VARCHAR(10)
)

CREATE TABLE mytable2 (
    f1 INT,
    f2 VARCHAR(10)
)

CREATE TABLE mytable3 (
    f1 INT,
    f2 VARCHAR(10)
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Feb 2024 17:50:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-lakehouse-tables-with-script/m-p/3673634#M1813</guid>
      <dc:creator>R1k91</dc:creator>
      <dc:date>2024-02-01T17:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Create lakehouse tables with script</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-lakehouse-tables-with-script/m-p/3674700#M1814</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/577765"&gt;@cw88&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thanks for using Fabric Community.&lt;BR /&gt;As &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/500205"&gt;@R1k91&lt;/a&gt;&amp;nbsp;said we can create tables in lakehouse using Spark SQL in Fabric Notebooks.&lt;BR /&gt;&lt;BR /&gt;You can also refer this doc for more details -&lt;BR /&gt;&lt;A href="https://data-mozart.com/working-with-tables-in-microsoft-fabric-lakehouse-everything-you-need-to-know/" target="_blank" rel="noopener"&gt;Working with tables in Microsoft Fabric Lakehouse - Everything you need to know! - Data Mozart (data-mozart.com)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this is helpful. Please let me know incase of further queries.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 06:01:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-lakehouse-tables-with-script/m-p/3674700#M1814</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-02T06:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Create lakehouse tables with script</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-lakehouse-tables-with-script/m-p/3679361#M1815</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/577765"&gt;@cw88&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet .&lt;BR /&gt;In case if you have any resolution please do share that same with the community as it can be helpful to others . &lt;BR /&gt;Otherwise, will respond back with the more details and we will try to help .&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 06:31:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-lakehouse-tables-with-script/m-p/3679361#M1815</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-05T06:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create lakehouse tables with script</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-lakehouse-tables-with-script/m-p/3679432#M1816</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/500205"&gt;@R1k91&lt;/a&gt;&amp;nbsp;: Thanks, i will try it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 06:51:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-lakehouse-tables-with-script/m-p/3679432#M1816</guid>
      <dc:creator>cw88</dc:creator>
      <dc:date>2024-02-05T06:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Create lakehouse tables with script</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-lakehouse-tables-with-script/m-p/3682528#M1817</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/577765"&gt;@cw88&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet .&lt;BR /&gt;In case if you have any resolution please do share that same with the community as it can be helpful to others .&lt;BR /&gt;If you have any question relating to the current thread, please do let us know and we will try out best to help you.&lt;BR /&gt;In case if you have any other question on a different issue, we request you to open a new thread . &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 09:20:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-lakehouse-tables-with-script/m-p/3682528#M1817</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-06T09:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Create lakehouse tables with script</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-lakehouse-tables-with-script/m-p/3685459#M1818</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/500205"&gt;@R1k91&lt;/a&gt;&amp;nbsp;: It works for me! I need to change some data types (bit -&amp;gt; boolean, datetime2 -&amp;gt; timestamp).&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 10:29:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-lakehouse-tables-with-script/m-p/3685459#M1818</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-07T10:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create lakehouse tables with script</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-lakehouse-tables-with-script/m-p/3685464#M1819</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/577765"&gt;@cw88&lt;/a&gt;&amp;nbsp;,&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Glad to know that your query got resolved. Please continue using Fabric Community for your further queries.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 10:32:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Create-lakehouse-tables-with-script/m-p/3685464#M1819</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-07T10:32:00Z</dc:date>
    </item>
  </channel>
</rss>

