Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 2.49 KB

create-table.md

File metadata and controls

46 lines (35 loc) · 2.49 KB
title description author ms.author ms.reviewer ms.date ms.service ms.subservice ms.topic ms.custom ms.search.form
Create tables in the Warehouse
Learn how to create tables in your Warehouse in Microsoft Fabric.
WilliamDAssafMSFT
wiassaf
kecona
04/24/2024
fabric
data-warehouse
how-to
build-2023
build-2023-dataai
build-2023-fabric
ignite-2023
Warehouse design and development

Create tables in the Warehouse in Microsoft Fabric

Applies to: [!INCLUDE fabric-se]

To get started, you must complete the following prerequisites:

  • Have access to a [!INCLUDE fabric-dw] within a Premium capacity workspace with contributor or higher permissions.
  • Choose your query tool. This tutorial features the SQL query editor in the [!INCLUDE product-name] portal, but you can use any T-SQL querying tool.
    • Use the [SQL query editor in the [!INCLUDE product-name] portal](sql-query-editor.md).

For more information on connecting to your [!INCLUDE fabric-dw] in [!INCLUDE product-name], see Connectivity.

Create a new table in the SQL query editor with templates

  1. In the warehouse editor ribbon, locate the New SQL query button.

  2. Instead of selecting New SQL query, you can select the dropdown list to see Templates to create T-SQL objects.

  3. Select Table, and an autogenerated CREATE TABLE script template appears in your new SQL query window, as shown in the following image.

    :::image type="content" source="media/create-table/create-table-template-sql-query-editor.png" alt-text="Screenshot of the Template to create a new Table in the SQL query editor." lightbox="media/create-table/create-table-template-sql-query-editor.png":::

  4. Modify the CREATE TABLE template to suit your new table.

  5. Select Run to create the table.

To learn more about supported table creation in Warehouse in Microsoft Fabric, see Tables in data warehousing in Microsoft Fabric and Data types in Microsoft Fabric.

Next step

[!div class="nextstepaction"] Ingest data into your Warehouse using data pipelines