AI Azure Synapse schema generator
Describe your domain in plain English. Ship a Synapse dedicated SQL pool — DDL with HASH distribution and clustered columnstore indexes, plus a complete dbt project.
- From $1/month
- 8 SQL targets
- 174 templates
See it in action
A narrated walkthrough, recorded in the real app.
Synapse by hand, or generated
By hand
- ○Decide HASH, REPLICATE or ROUND_ROBIN table by table
- ○Remember that foreign keys can't be declared in a dedicated pool
- ○Write masking statements column by column
With offdataai
- Distribution chosen from the model: hint, then table kind
- Relationships kept as advisory comments tools can read
- Dynamic Data Masking generated for every PII column
Where offdataai fits in your Synapse stack
Describe or pick a template
Start from the AI interview, a template or the Model Builder canvas.
Generate pool-ready DDL
Distribution, columnstore and NVARCHAR/DATETIME2 types on every table.
Apply masking
Dynamic Data Masking statements for every PII column in the model.
Run dbt on Synapse
A dbt project for the synapse adapter, from the same model.
What offdataai writes for Synapse
1CREATE TABLE [sales].[fct_order_line] (2 [order_line_id] BIGINT NOT NULL,3 [customer_id] BIGINT NOT NULL,4 [ordered_at] DATETIME2 NOT NULL,5 [net_amount] DECIMAL(18,4)6)7WITH (DISTRIBUTION = HASH([customer_id]), CLUSTERED COLUMNSTORE INDEX);
Native types, protected data
Types, mapped for Synapse
from the generatorYour model's logical types become native Synapse types.
Dynamic Data Masking on PII columns
Columns tagged as PII get Synapse's Dynamic Data Masking. Partial masking keeps the first two characters; full and hash strategies use default(), since DDM has no hash function.
1-- Dynamic Data Masking (SQL Server / Synapse / Fabric).2ALTER TABLE sales.dim_customer ALTER COLUMN email ADD MASKED WITH (FUNCTION = 'partial(2, "****", 0)');3ALTER TABLE sales.dim_customer ALTER COLUMN phone_number ADD MASKED WITH (FUNCTION = 'default()');
HASH
on the distribution key when the model names one
REPLICATE
for dimensions and lookups
COLUMNSTORE
clustered index on every table
Dynamic Data Masking
for PII columns
What offdataai generates
Synapse-native DDL
DISTRIBUTION = HASH / REPLICATE / ROUND_ROBIN, CLUSTERED COLUMNSTORE INDEX, NVARCHAR, DATETIME2, and BIT — never generic ANSI SQL.
Kimball, Data Vault 2.0, or 3NF
Three paradigms supported on Synapse. Pick the one your team uses; the generator emits Synapse-native DDL for each.
Full dbt project
dbt_project.yml, a profiles.yml stub for the synapse adapter, sources, staging, marts, snapshots, schema tests, and seeds.
Foreign keys as comments
Dedicated SQL pools don't enforce foreign keys, so each relationship is written as a comment under its table for reviewers and tools.
Why teams choose offdataai

Platform-native DDL, ready to copy, download or push to Git
- 01
offdataai is purpose-built for Azure Synapse Analytics.
- 02
Our generator emits Synapse-native DDL for dedicated SQL pools with a distribution on every table (
HASHon the dominant join column for facts,REPLICATEfor dimensions,ROUND_ROBINotherwise), a clustered columnstore index on every table, and foreign keys written as comments, since dedicated SQL pools don't enforce them. - 03
From the same conversation, you also get a complete dbt project for the synapse 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.
- Synapse-native 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] NVARCHAR(255) NOT NULL,6 [name] NVARCHAR(255),7 [plan_id] NVARCHAR(255),8 [effective_date] DATETIME2 NOT NULL,9 [expiry_date] DATETIME2 NOT NULL,10 [is_current] BIT NOT NULL11)12WITH (DISTRIBUTION = REPLICATE, CLUSTERED COLUMNSTORE INDEX);1314CREATE TABLE [ANALYTICS].[fct_usage] (15 [usage_id] NVARCHAR(255) NOT NULL,16 [customer_sk] BIGINT NOT NULL,17 [plan_id] NVARCHAR(255) NOT NULL,18 [event_ts] DATETIME2 NOT NULL,19 [api_calls] BIGINT NOT NULL20)21WITH (DISTRIBUTION = HASH([customer_sk]), CLUSTERED COLUMNSTORE INDEX);22-- FK (advisory, not enforced in Synapse): [ANALYTICS].[fct_usage].customer_sk -> [ANALYTICS].[dim_customer](customer_sk)
Generates native SQL and dbt for 8 platforms · connects live to Snowflake, Databricks, BigQuery, Redshift and Postgres
FabricDuckDB
FabricDuckDBFrequently asked questions
Can offdataai generate Azure Synapse DDL from plain English?
Does offdataai choose distribution keys for Synapse?
Does it support clustered columnstore indexes?
Does it support Kimball, Data Vault, and 3NF on Synapse?
Does it generate a dbt project for Synapse?
Related generators and modeling guides
- AI data modeling toolThe full pipeline — model, DDL, dbt, and seed data.
- Dimensional modelingKimball star schemas with SCD2 on Synapse.
- Data Vault 2.0Hubs, links, and satellites on Synapse.
- dbt project generatorA complete dbt project for Synapse.
- Microsoft Fabric generatorWarehouse DDL for Microsoft Fabric.
- Snowflake schema generatorThe same flow, targeting Snowflake.
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.
