AI Microsoft Fabric schema generator
Describe your domain in plain English. Ship a Fabric Warehouse — T-SQL tables with Fabric-friendly types and NOT ENFORCED keys, plus a complete dbt project.
- From $1/month
- 8 SQL targets
- 174 templates
NOT ENFORCED
Every PK, UNIQUE and FK
ALTER TABLE
Keys added after all tables exist
DATETIME2(6)
Fabric's maximum precision
Dynamic Data Masking
On columns tagged PII
Where offdataai fits in your Fabric stack
Describe the domain
An interview, a template or the Model Builder. Fabric is chosen as the target platform.
Validate the model
Keys, grain, SCD history and PII flags are checked before any T-SQL is written.
Generate Fabric T-SQL
Schemas, bare tables, then NOT ENFORCED keys and the masking script.
Ship the dbt project
A fabric-adapter dbt project, pushed to GitHub, GitLab or Bitbucket.
What offdataai writes for Fabric
1CREATE TABLE [SALES].[fct_orders] (2 [order_key] BIGINT NOT NULL,3 [date_key] BIGINT NOT NULL,4 [customer_key] BIGINT NOT NULL,5 [order_number] VARCHAR(8000) NOT NULL,6 [order_total] DECIMAL(18,4),7 [created_at] DATETIME2(6),8 [_etl_loaded_at] DATETIME2(6)9);
See it in action
A narrated walkthrough, recorded in the real app.
Native types, protected data
Types, mapped for Fabric
from the generatorYour model's logical types become native Fabric types.
Dynamic Data Masking on PII columns
Columns classified as personal data get Fabric's Dynamic Data Masking. Partial masking keeps the first two characters; full and hash strategies fall back to default(), since DDM has no hash function.
1-- Dynamic Data Masking (SQL Server / Synapse / Fabric).2ALTER TABLE CONFORMED_DIMENSIONS.dim_customer ALTER COLUMN first_name3 ADD MASKED WITH (FUNCTION = 'partial(2, "****", 0)');4ALTER TABLE CONFORMED_DIMENSIONS.dim_customer ALTER COLUMN email5 ADD MASKED WITH (FUNCTION = 'default()');
Fabric by hand, or generated
By hand
- ○Strip inline constraints a generic tool writes into CREATE TABLE
- ○Re-add each key as an ALTER, NONCLUSTERED and NOT ENFORCED
- ○Cap DATETIME2 and TIME precision at 6 by hand
- ○Write masking statements column by column
With offdataai
- Tables come out bare, the way Fabric expects
- Keys follow as ALTERs, PK and UNIQUE before FKs
- Fabric types and precision from the start
- DDM generated for every column tagged PII
What offdataai generates
Fabric Warehouse DDL
T-SQL CREATE TABLE with VARCHAR, DECIMAL, DATETIME2, and BIT types, in [schema].[table] names.
Kimball, Data Vault 2.0, or 3NF
Three paradigms supported on Fabric. Pick the one your team uses; the generator emits Fabric Warehouse DDL for each.
Full dbt project
dbt_project.yml, a profiles.yml stub for the fabric adapter, sources, staging, marts, snapshots, schema tests, and seeds.
Keys that document joins
Primary keys (NONCLUSTERED) and foreign keys are declared NOT ENFORCED, so tools can read the relationships.
Why teams choose offdataai

Platform-native DDL, ready to copy, download or push to Git
- 01
offdataai is purpose-built for Microsoft Fabric Warehouse.
- 02
Our generator emits T-
SQL DDLwith Fabric-friendly type mappings (VARCHAR,DECIMAL,DATETIME2, BIT), schemas created only when missing, and primary and foreign keys declaredNOT ENFORCED, as Fabric Warehouse requires. - 03
From the same conversation, you also get a complete dbt project for the fabric adapter.
The code it writes, not a sketch
This is the shape of what offdataai generates here, straight from the validated model. Copy it, download it, or push it to Git.
- Fabric Warehouse DDL
- Kimball, Data Vault 2.0, or 3NF
- Full dbt project
1IF NOT EXISTS (SELECT 1 FROM sys.schemas WHERE name='ANALYTICS') BEGIN EXEC('CREATE SCHEMA [ANALYTICS]'); END;23CREATE TABLE [ANALYTICS].[dim_customer] (4 [customer_sk] BIGINT NOT NULL,5 [customer_id] VARCHAR(8000) NOT NULL,6 [name] VARCHAR(8000),7 [plan_id] VARCHAR(8000),8 [effective_date] DATETIME2(6) NOT NULL,9 [expiry_date] DATETIME2(6) NOT NULL,10 [is_current] BIT NOT NULL11);1213CREATE TABLE [ANALYTICS].[fct_usage] (14 [usage_id] VARCHAR(8000) NOT NULL,15 [customer_sk] BIGINT NOT NULL,16 [event_ts] DATETIME2(6) NOT NULL,17 [api_calls] BIGINT NOT NULL18);1920-- Fabric takes no inline keys: they are added after every table exists.21ALTER TABLE [ANALYTICS].[dim_customer] ADD CONSTRAINT pk_dim_customer PRIMARY KEY NONCLUSTERED ([customer_sk]) NOT ENFORCED;22ALTER TABLE [ANALYTICS].[fct_usage] ADD CONSTRAINT pk_fct_usage PRIMARY KEY NONCLUSTERED ([usage_id]) NOT ENFORCED;23ALTER TABLE [ANALYTICS].[fct_usage] ADD CONSTRAINT fk_fct_usage_customer_sk FOREIGN KEY ([customer_sk]) REFERENCES [ANALYTICS].[dim_customer] ([customer_sk]) NOT ENFORCED;
Generates native SQL and dbt for 8 platforms · connects live to Snowflake, Databricks, BigQuery, Redshift and Postgres
FabricDuckDB
FabricDuckDBFrequently asked questions
Can offdataai generate Microsoft Fabric DDL from plain English?
Does offdataai support both Lakehouse and Warehouse modes?
How are Fabric tables named?
Does it support Kimball, Data Vault, and 3NF on Fabric?
Does it generate a dbt project for Fabric?
Related generators and modeling guides
- AI data modeling toolThe full pipeline — model, DDL, dbt, and seed data.
- Dimensional modelingKimball star schemas on Fabric.
- Data Vault 2.0Hubs, links, and satellites on Fabric.
- dbt project generatorA complete dbt project for Fabric.
- Synapse schema generatorThe same flow, targeting Azure Synapse.
- Databricks schema generatorDelta-native lakehouse DDL.
Part of the offdataai platform
The business context behind accurate AI answers, built from the data model up.
- 01DesignLogical, physical and dimensional models.
- 02GenerateSQL, dbt, documentation and migrations.
- 03DefineBusiness metrics, semantic models and ontology.
- 04ConnectReal warehouse schemas and metadata.
- 05GovernDrift, impact analysis, tests and approvals.
- 06ActivateMake trusted context available to AI agents.
This page covers Generate and Connect. Every stage works on the same model, so what you design here carries through to the rest.
Give your AI agents context they can trust.
Design the model, define what your metrics mean, and serve that context to every agent and BI tool, on the warehouse you already run.
