-
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 ...
-
New to AI? Text-to-SQL: When the SQL Is Right, and When It Only Looks Right — Hi all. Text-to-SQL (you'll also see NL2SQL) is the demo everyone loves: type "top 5 customers last month" and get a query, maybe even the result. Sometimes it's brilliant. Sometimes the SQL runs perfectly and answers a different question. This post is about telling those two apart. How it works The model gets two things in its context window: your question, and a description of your schema, meaning table names, column names, types and, if you have them, comments. From that it writes SQL. It doesn't see your data and it doesn't know your business words, unless you tell it. Where you'll meet it What it does Oracle Select AI You set up an AI profile with the tables it may use, then ask in SQL: SELECT AI showsql top 5 customers last month; . Other actions: runsql , explainsql , narrate , chat . Copilot in SSMS Writes and explains T-SQL in the query editor and runs queries with the permissions of your login. MCP tools An agent reads the schema t...