Create tables in the Warehouse in Microsoft Fabric
Applies to: ✅ Warehouse in Microsoft Fabric
To get started, you must complete the following prerequisites:
- Have access to a Warehouse within a Premium capacity workspace with contributor or higher permissions.
- Choose your query tool. This tutorial features the SQL query editor in the Microsoft Fabric portal, but you can use any T-SQL querying tool.
For more information on connecting to your Warehouse in Microsoft Fabric, see Connectivity.
Create a new table in the SQL query editor with templates
In the warehouse editor ribbon, locate the SQL templates button.
Select Table, and an autogenerated CREATE TABLE script template appears in your new SQL query window, as shown in the following image.
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.