Why Microsoft's Data API builder Says No to NL2SQL

This one is more of a design debate than a product launch, and I think it's one of the most useful AI and database discussions of the year.

In a March 2026 post, Jerry Nixon from the Data API builder team explains a deliberate choice: DAB does not let the model write SQL. The agent sends a structured request (filters, aggregates, grouping, ordering), and DAB builds deterministic, parameterized SQL from it, with role rules and policies applied. The post previews an aggregates tool for questions like "top customer by revenue" or "average quarterly revenue by region".

From a DBA seat I'm mostly on their side. Model-written SQL is hard to predict, hard to tune and hard to audit, and a parameterized query from a known builder behaves the same way every time. The trade-off is real though: you lose the "ask anything" magic, and someone has to decide which shapes of question the agent may ask. My guess is we end up with both: free NL2SQL on a read-only copy for exploring, and builder-style tools for anything that touches production.

Read the original:

This is my short summary and opinion. All details and credit belong to the original article linked above.

Comments