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 |
|
Warehouse design and development |
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.
-
In the warehouse editor ribbon, locate the New SQL query button.
-
Instead of selecting New SQL query, you can select the dropdown list to see Templates to create T-SQL objects.
-
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":::
-
Modify the
CREATE TABLE
template to suit your new table. -
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.
[!div class="nextstepaction"] Ingest data into your Warehouse using data pipelines