Azure SQL Devs’ Corner

Voices from the Azure SQL PM Team, focusing on development and developers

Latest posts

Semantic Reranking with Azure SQL, SQL Server 2025 and Cohere Rerank models
Jan 6, 2026
Post comments count 0
Post likes count 1

Semantic Reranking with Azure SQL, SQL Server 2025 and Cohere Rerank models

Davide Mauri
Davide Mauri

Supporting re‑ranking has been one of the most common requests lately. While not always essential, it can be a valuable addition to a solution when you want to improve the precision of your results. Unfortunately, there isn’t a universal, standardized API for a “re‑rank” call across providers, so the most reliable approach today is to issue a manual REST request and build the payload according to the documentation of the re‑ranker you choose. How a Re-ranking Model Improves Retrieval Vector search is excellent for quickly finding likely matches, but it can still surface items that aren’t the best answer. A re‑r...

Data API builder’s “request-body-strict” Simplifies Client Code
Dec 1, 2025
Post comments count 0
Post likes count 3

Data API builder’s “request-body-strict” Simplifies Client Code

Jerry Nixon
Jerry Nixon

Data API builder (DAB) provides REST and GraphQL endpoints over SQL Server, Azure Cosmos DB, PostgreSQL, MySQL, and SQL Data Warehouse. The configuration value controls how REST endpoints treat unknown JSON properties in the payload: Read the documentation. Let's try it out The database table Imagine a simple table called Category with only two columns: The configuration file Create your Data API builder configuration file with the following command line commands: The JSON payload When you call the REST endpoint for Category at , the resulting JSON looks like this: The C...

MSSQL Extension for VS Code: Introducing Edit Data (Public Preview)
Nov 24, 2025
Post comments count 0
Post likes count 2

MSSQL Extension for VS Code: Introducing Edit Data (Public Preview)

Yo-Lei Chen
Yo-Lei Chen

Overview Working with table data is an essential part of database development — whether you’re validating behavior, debugging issues, or quickly seeding data. But switching between tools or writing repetitive T-SQL statements can slow down your workflow. We are excited to announce the Public Preview of Edit Data in the MSSQL extension for Visual Studio Code — a modern, interactive way to browse and modify table data directly within the editor. Edit Data (Preview) brings a familiar, spreadsheet-like experience, combining inline editing, validation, pagination, and real-time script generation into a fast and intu...

New T-SQL AI Features are now in Public Preview for Azure SQL and SQL database in Microsoft Fabric
Nov 18, 2025
Post comments count 0
Post likes count 3

New T-SQL AI Features are now in Public Preview for Azure SQL and SQL database in Microsoft Fabric

Brian Spendolini
Brian Spendolini

At the start of this year, we released a new set of T-SQL AI features for embedding your relational data for AI applications. Today, we have brought those features to Azure SQL and SQL database in Microsoft Fabric. This post will help you get started using the new AI functions of Azure SQL. Prerequisites Set up your environment The following section guides you through setting up the environment and installing the necessary software and utilities. Set up the database The following section guides you through using the embeddings model to create vector arrays on relation data and use ...

MSSQL Extension for VS Code: GitHub Copilot Chat GA and New Public Previews for Edit Data, Data-tier Application, and more
Nov 18, 2025
Post comments count 0
Post likes count 0

MSSQL Extension for VS Code: GitHub Copilot Chat GA and New Public Previews for Edit Data, Data-tier Application, and more

Yo-Lei Chen Carlos Robles Tauseef Siddique
Yo-Lei,
Carlos,
Tauseef

The MSSQL Extension for VS Code continues to evolve, delivering features that make SQL development more integrated, more consistent, and more developer-friendly. In version v1.37.0, we’re announcing the Public Preview of Edit Data, Data-tier Application (DACPAC/BACPAC) export & import, and the SQL Database Projects Publish Dialog, along with the General Availability of GitHub Copilot — four capabilities that bring modern data editing, migration workflows, schema publishing, and AI-powered assistance directly into your development workflow inside Visual Studio Code. What’s new in MSSQL extension for VS Code...

Public preview of vector indexing in Azure SQL DB, Azure SQL MI, and SQL database in Microsoft Fabric
Nov 18, 2025
Post comments count 0
Post likes count 3

Public preview of vector indexing in Azure SQL DB, Azure SQL MI, and SQL database in Microsoft Fabric

Davide Mauri Pooja Kamath
Davide,
Pooja

We are happy to share that DiskANN vector indexing is now in public preview across Azure SQL Database, Azure SQL Managed Instance, and SQL database in Microsoft Fabric. DiskANN is a cutting-edge algorithm for efficient vector similarity search, making it ideal for powering recommendation systems, image and multimedia search, and advanced retrieval-augmented generation (RAG) solutions. Built for large-scale vector search, DiskANN integrates seamlessly with the Microsoft SQL query engine, enabling you to combine semantic search with the full power of T‑SQL, joins, filters, analytics, without moving data or addin...

SQL Server 2025 Embraces Vectors: setting the foundation for empowering your data with AI
Nov 18, 2025
Post comments count 0
Post likes count 2

SQL Server 2025 Embraces Vectors: setting the foundation for empowering your data with AI

Davide Mauri Pooja Kamath
Davide,
Pooja

SQL Server 2025 marks a major milestone in database innovation by introducing native support for VECTOR data types and vector functions. These are now fully available in the freshly released SQL Server 2025 RTM. This means you can store and process high-dimensional embeddings directly within your database. It eliminates the need to move data across separate systems. With this integration, your data remains secure, synchronized, and governed by SQL Server’s enterprise-grade compliance and security features. The RTM release includes the VECTOR data type and built-in functions like VECTOR_DISTANCE. This suppor...

General Availability Announcement: Regex Support in SQL Server 2025 & Azure SQL
Nov 18, 2025
Post comments count 0
Post likes count 2

General Availability Announcement: Regex Support in SQL Server 2025 & Azure SQL

Abhiman Tiwari
Abhiman Tiwari

We’re excited to announce the General Availability (GA) of native Regex support in SQL Server 2025 and Azure SQL — a long-awaited capability that brings powerful pattern matching directly into T-SQL. This release marks a significant milestone in modernizing string operations and enabling advanced text processing scenarios natively within the database engine. What is Regex? The other day, while building LEGO with my 3-year-old — an activity that’s equal parts joy and chaos — I spent minutes digging for one tiny piece and thought, “If only Regex worked on LEGO.” That moment of playful frustration tur...

Build an AI Agentic RAG search application with React, SQL Azure and Azure Static Web Apps
Oct 22, 2025
Post comments count 0
Post likes count 2

Build an AI Agentic RAG search application with React, SQL Azure and Azure Static Web Apps

Raffaele Garofalo
Raffaele Garofalo

Introduction Leveraging OpenAI for semantic searches on structured databases like Azure SQL enhances search accuracy and context-awareness, providing more relevant and insightful results. This example showcases the use of Azure SQL for storing and searching data with AI. By implementing the RAG pattern with Azure SQL, the sample efficiently searches for the most relevant code and comprehensive end-to-end examples based on user queries. The AI then generates results that include the most pertinent documents along with explanations of their relevance. The final result is a web application, mobile friendl...

Data API builder 1.6: Advanced Behaviors with Special HTTP Headers
Sep 29, 2025
Post comments count 0
Post likes count 3

Data API builder 1.6: Advanced Behaviors with Special HTTP Headers

Jerry Nixon
Jerry Nixon

Data API builder (DAB) provides REST and GraphQL endpoints over SQL Server, Azure Cosmos DB, PostgreSQL, MySQL, and SQL Data Warehouse. REST endpoints support several HTTP headers that let you control how requests behave. These headers give you precision over updates, caching, and discovering new resources. If-Match By default, DAB treats PUT and PATCH as upserts: update if the row exists, insert if not. Sometimes you need stricter semantics. If-Match provides update-only behavior. If-Match in DAB only supports *. Any other value is rejected. Example request that only updates if the row exists: ...

Data API builder 1.6: Flexible Logging for Every Developer
Sep 25, 2025
Post comments count 0
Post likes count 2

Data API builder 1.6: Flexible Logging for Every Developer

Jerry Nixon
Jerry Nixon

Previously, developers were limited to the default log levels and filters hardcoded into DAB. With release 1.6, you can now configure filters and levels for logs emitted by the engine. This release also adds new sinks. In addition to Application Insights and OpenTelemetry publishing, Data API builder now supports both file and Azure Log Analytics as targets. Rich, configurable logging wherever you need it. File sink (⭐ new!) Until now, DAB developers were mostly limited to console logs in the container. With release 1.6, you can sink logs to local files in a container folder to systematically debug and ob...

Using the new SqlVector type with EF Core and Dapper
Sep 22, 2025
Post comments count 0
Post likes count 2

Using the new SqlVector type with EF Core and Dapper

Davide Mauri
Davide Mauri

Azure SQL vector support has been generally available for a few months now, and the ecosystem is quickly evolving to make working with vectors in your applications as seamless and efficient as possible. With the release of Microsoft.Data.SqlClient 6.1, developers can now take advantage of binary transport for vector data via the new class. This significantly improves performance when moving vectors between your application and the database, laying the groundwork for optimized vector handling in popular .NET libraries like: Here’s how you can start using in each of these libraries: EF Core 9...

SQL Server 2025 RC1: faster DiskANN and FP16 support
Sep 17, 2025
Post comments count 0
Post likes count 1

SQL Server 2025 RC1: faster DiskANN and FP16 support

Davide Mauri Pooja Kamath
Davide,
Pooja

We’re excited to announce major improvements to DiskANN in SQL Server 2025 RC1, making vector search faster, more scalable, and more storage-efficient than ever before. ⚡ Significantly Faster Index Builds Building DiskANN indexes is now considerably faster, thanks to optimizations that better utilize all available CPU cores and improve the efficiency of vector space traversal. This means quicker index creation and faster time-to-results for your AI-powered applications. 🧠 Improved Scalability Across Processors SQL Server 2025 RC1 brings enhanced scalability to DiskANN, allowing it to scale more effici...

MSSQL Extension for VS Code: Fabric Integration and GitHub Copilot Slash Commands (Public Preview)
Sep 17, 2025
Post comments count 0
Post likes count 0

MSSQL Extension for VS Code: Fabric Integration and GitHub Copilot Slash Commands (Public Preview)

Carlos Robles Tauseef Siddique
Carlos,
Tauseef

The MSSQL Extension for VS Code continues to evolve, delivering features that make SQL development more integrated, more consistent, and more developer-friendly. In version v1.36.0, we’re announcing the Public Preview of Fabric Connectivity (Browse), SQL Database in Fabric Provisioning, and GitHub Copilot Slash Commands — three capabilities that bring Microsoft Fabric and AI-powered assistance directly into your development workflow inside Visual Studio Code. What’s new in MSSQL extension for VS Code v1.36 This release introduces three major capabilities designed to streamline the SQL development experience: ...

AI-based T-SQL Refactoring: an automatic intelligent code optimization with Azure OpenAI
Sep 16, 2025
Post comments count 1
Post likes count 0

AI-based T-SQL Refactoring: an automatic intelligent code optimization with Azure OpenAI

Saverio Lorenzini
Saverio Lorenzini

This article presents an AI-powered approach to automating SQL Server code analysis and refactoring. The system intelligently identifies inefficiencies and common T-SQL anti-patterns, applying best practices through a set of formalized coding rules, using prompt-driven instructions. It not only automatically rewrites problematic and inefficient code but also delivers contextual recommendations to improve quality, security, and maintainability. Designed to address real-world use cases, this methodology enables organizations to modernize and optimize their SQL workloads more efficiently, accelerating migrati...

Using SQL Server’s new AI features and Python to create a T-SQL assistant
Aug 29, 2025
Post comments count 0
Post likes count 3

Using SQL Server’s new AI features and Python to create a T-SQL assistant

Rodrigo Ribeiro Gomes
Rodrigo Ribeiro Gomes

I recently created a GitHub repository to share the T-SQL scripts I've accumulated over 10 years as a DBA. However, I've always struggled to find the right script when I need it. For years, I relied on simple shell commands like find or just my memory, which could take 10-30 minutes, if I was lucky enough to find it. But, we are in the AI age, so I created that simple web application where you type what you want, and it finds the best scripts for your needs. The solution was created using the following technologies: In this post, I will focus on SQL Server's role, exploring i...

Create embeddings in SQL Server 2025 RC0 with a local ONNX model on Windows
Aug 21, 2025
Post comments count 0
Post likes count 4

Create embeddings in SQL Server 2025 RC0 with a local ONNX model on Windows

Brian Spendolini
Brian Spendolini

With the release of SQL Server 2025 RC0, we have enabled the ability to use a local ONNX model on the server for embeddings. This allows you to use these models without having any network traffic leaving the local environment. Getting Started This example guides you through setting up SQL Server 2025 on Windows with an ONNX runtime to enable local AI-powered text embedding generation. ONNX Runtime is an open-source inference engine that allows you to run machine learning models locally, making it ideal for integrating AI capabilities into SQL Server environments. Step 1: Enable developer preview ...

MSSQL Extension for VS Code: Schema Compare, Schema Designer, Local SQL Server Container GA
Aug 21, 2025
Post comments count 0
Post likes count 1

MSSQL Extension for VS Code: Schema Compare, Schema Designer, Local SQL Server Container GA

Yo-Lei Chen Tauseef Siddique Carlos Robles
Yo-Lei,
Tauseef,
Carlos

The MSSQL Extension for VS Code continues to evolve, delivering features that make SQL development more visual, more consistent, and more developer-friendly. In version v1.35.0, we’re announcing the General Availability (GA) of Schema Designer, Schema Compare, and Local SQL Server Containers — three powerful tools that bring structure, clarity, and flexibility to your local development workflow. What’s new in MSSQL extension for VS Code v1.35 This release introduces three major capabilities designed to streamline the SQL development experience: In addition to these major features, this rele...

Updated .NET and JDBC Drivers with Native Vector Data Support for High-Performance AI Workload
Jul 31, 2025
Post comments count 0
Post likes count 1

Updated .NET and JDBC Drivers with Native Vector Data Support for High-Performance AI Workload

Davide Mauri
Davide Mauri

We’ve just released major updates to our data access libraries, bringing native support for vector data to both the .NET and JDBC ecosystems, unlocking significant performance gains for AI and machine learning workloads. Microsoft.Data.SqlClient 6.1.0 With the new class, you can now handle vector data in binary format, replacing the slower JSON array approach. This means: Check out the official documentation with a sample: Native vector data type .NET Driver Support For all details, check out the release notes: https://github.com/dotnet/SqlClient/releases/tag/v6.1.0  Microsoft JDBC Driver ...

Announcing General Availability of UNISTR function and ANSI SQL || Operator in Azure SQL
Jul 30, 2025
Post comments count 4
Post likes count 4

Announcing General Availability of UNISTR function and ANSI SQL || Operator in Azure SQL

Abhiman Tiwari
Abhiman Tiwari

We’re excited to announce the General Availability (GA) of two long-standing capabilities that address critical needs for SQL developers and enterprise customers in Azure SQL Database and Azure SQL Managed Instance, configured with the Always-up-to-date update policy: These additions improve ANSI SQL compliance in Azure SQL, streamline migration from other platforms, and boost developer productivity. UNISTR function: Unicode made easy The UNISTR function provides support for Unicode string literals by letting you specify the Unicode encoding value of characters in the string, making...

MSSQL Extension for VS Code: Agent Mode Updates, Colored Connections, and Schema Designer Enhancements
Jul 23, 2025
Post comments count 1
Post likes count 0

MSSQL Extension for VS Code: Agent Mode Updates, Colored Connections, and Schema Designer Enhancements

Carlos Robles
Carlos Robles

The MSSQL Extension for VS Code keeps getting better—bringing thoughtful updates that make SQL development more conversational, more visual, and more local. In version v1.34.0, we’ve focused this release on deepening GitHub Copilot Agent Mode, improving connection clarity through color-coded indicators, making local container workflows more flexible, enhancing the Schema Designer, and solving bugs across the experience. Here’s a look at what’s new in this release and how it helps simplify your SQL development workflow. What’s new in MSSQL extension for VS Code v1.34 This release includes three major improvem...

Announcing General Availability of Native Vector Type & Functions in Azure SQL
Jun 19, 2025
Post comments count 0
Post likes count 3

Announcing General Availability of Native Vector Type & Functions in Azure SQL

Pooja Kamath Davide Mauri
Pooja,
Davide

We are happy to announce that Native vector support in Azure SQL Database and Azure SQL Managed Instance is moving to General Availability this summer. Deployments are already underway, and several regions have begun receiving the feature. What is going GA? Integrated Vector Data Type Azure SQL introduces a dedicated VECTOR data type that simplifies the creation, storage, and querying of high-dimensional vector embeddings  vector embeddings directly within your relational database. Built-in Vector Functions Includes essential vector operations like: VECTOR_DISTANCE , VECTOR_NORM  VECTOR_NORMALIZE. Read ...

MSSQL Extension for VS Code: Local Containers, GitHub Copilot Agent Mode and Connection Groups
Jun 18, 2025
Post comments count 2
Post likes count 2

MSSQL Extension for VS Code: Local Containers, GitHub Copilot Agent Mode and Connection Groups

Carlos Robles
Carlos Robles

The MSSQL Extension for VS Code continues to evolve, bringing powerful new features that make SQL development more local, more organized, and more intelligent. In version v1.33.0, we’re introducing Local SQL Server container, GitHub Copilot Agent Mode, and Connection Groups—three capabilities designed to simplify and modernize the way developers build applications using SQL Server in Visual Studio Code. Here’s a closer look at what’s included in this release and how these features can enhance your SQL development workflow. What’s new in MSSQL extension for VS Code v1.33 This release introduces three major ca...

SQL Server 2025 CTP 2.1: DiskANN Improvements
Jun 17, 2025
Post comments count 2
Post likes count 1

SQL Server 2025 CTP 2.1: DiskANN Improvements

Davide Mauri
Davide Mauri

I'm happy to announce that SQL Server 2025 CTP 2.1 is now available, and it brings significant improvements to DiskANN support. While DiskANN remains in preview, each release continues to remove limitations and boost performance. In this release, we’ve made a particularly notable leap in vector index creation speed, with more enhancements on the horizon. What’s New in DiskANN DiskANN is Microsoft’s algorithm for large-scale vector search and recommendation systems. It’s designed to scale to web-sized datasets while maintaining high recall and performance. With SQL Server 2025, DiskANN is fully integrated in...

An open-source AutoScaler for Azure SQL Hyperscale Elastic Pools
Jun 17, 2025
Post comments count 0
Post likes count 2

An open-source AutoScaler for Azure SQL Hyperscale Elastic Pools

Larry Silverman
Larry Silverman

TrackAbout is a worldwide provider of SaaS applications for tracking reusable, durable, physical assets like chemical containers and gas cylinders. With over 22 million physical assets tracked across 350 customers, each with their own Azure SQL database, optimizing our infrastructure for both cost and performance is a critical, ongoing mission. Our journey with Microsoft technologies goes back to our founding in 2002. We started by racking our own servers, moved to managed hosting, and finally migrated to Azure in 2016 to gain more control and scalability. A core part of our architecture today is Azure SQL...

A story of collaborating agents: chatting with your database the right way
Jun 2, 2025
Post comments count 1
Post likes count 3

A story of collaborating agents: chatting with your database the right way

Davide Mauri
Davide Mauri

Today, more and more customers are embracing AI with one clear goal in mind: they want to chat with their data. And by "data," they mean all of it:  structured tables, unstructured documents, images, audio, and more. This demand has given rise to hybrid approaches that blend semantic understanding with precise data retrieval. But here’s the challenge: while embeddings and vector search play a critical role in semantic search, they’re not enough on their own — especially when the question is highly specific and demands an exact answer. As I discussed in Improve the “R” in RAG and Embrace Agentic RAG in Azure...

Azure SQL Cryptozoology AI Embeddings Lab Now Available!
May 29, 2025
Post comments count 0
Post likes count 1

Azure SQL Cryptozoology AI Embeddings Lab Now Available!

Brian Spendolini
Brian Spendolini

Missed out on MS Build 2025? No worries! Our lab is now available for your exploration. Dive into a unique cryptozoology experience using Azure SQL and Azure AI to uncover intriguing (and true) connections among cryptids worldwide. Curious about who would reign supreme in a battle royal or which regions of the world hold the key to encountering these mysterious creatures? Embark on a journey of discovery with the Azure SQL Cryptozoology AI Embeddings Lab! Discover more HERE!

Vector Support Public Preview now extended to Azure SQL MI
May 29, 2025
Post comments count 2
Post likes count 1

Vector Support Public Preview now extended to Azure SQL MI

Pooja Kamath Mladen Andzic Davide Mauri
Pooja,
Mladen,
Davide

We are thrilled to announce that Azure SQL Managed Instance now supports Vector type and functions in public preview.  This builds on the momentum from Azure SQL Database, where vector support has been in public preview since December. Check out the detailed announcement 💡 Why Choose Azure SQL Managed Instance for AI-Driven Modernization? 🔄 Quick Start: Use the Free Offer to Explore Vector Support in Azure SQL MI Before we dive deeper, let’s take a moment to explore how you can get hands-on experience with these capabilities—at no cost. Azure offers a SQL Managed Instance free offer , perfe...

Getting started with AI in SQL Server 2025 on Windows
May 28, 2025
Post comments count 8
Post likes count 3

Getting started with AI in SQL Server 2025 on Windows

Brian Spendolini
Brian Spendolini

Back in the earlier part of the year (February maybe?), I put this tutorial together for our early adopters in the SQL Server 2025 program. It’s a guide for setting up SQL Server 2025 in a Hyper-V VM (I used Windows Server) with Ollama and ngnix as an https proxy. It's a variation of my workshops for Ignite 2024 and a SQL in Fabric one from February 2025. This tutorial helps you get started using the new AI features of SQL Server 2025 on Windows/Windows Server. Prerequisites Set up your environment The following section guides you through setting up the environment and installing the nec...

New AI Features in SQL Server 2025
May 22, 2025
Post comments count 0
Post likes count 1

New AI Features in SQL Server 2025

Brian Spendolini
Brian Spendolini

We have some great new AI Features in SQL Server 2025. I also figured a video would be better than reading a blog.... https://www.youtube.com/watch?v=dDJheVYgeVo but, you can also read all about it here.

MSSQL Extension for VS Code: Introducing Schema Designer (Preview)
May 21, 2025
Post comments count 0
Post likes count 1

MSSQL Extension for VS Code: Introducing Schema Designer (Preview)

Yo-Lei Chen
Yo-Lei Chen

Overview Database design can often feel like navigating a maze of tables, relationships, and data types — especially when working directly with T-SQL scripts. But what if you could map out your database, make changes to your tables, and manage complex schemas within a graphical interface? We are excited to announce the Public Preview of Schema Designer in the MSSQL extension for Visual Studio Code! Features The Schema Designer feature offers these features: Open Schema Designer Right-click on the database in the object explorer and select "Design Schema (Preview)" from the menu...

Announcing the General Availability (GA) of JSON data type & JSON aggregates…
May 19, 2025
Post comments count 7
Post likes count 0

Announcing the General Availability (GA) of JSON data type & JSON aggregates…

Umachandar Jayachandran (UC)
Umachandar Jayachandran (UC)

We are excited to announce the General Availability (GA) of the native JSON data type and JSON aggregates - JSON_OBJECTAGG & JSON_ARRAYAGG. You can use the JSON data type and JSON aggregates to integrate and work with JSON documents more efficiently in the database. This functionality is available in Azure SQL Database, Azure SQL Managed Instance with the Always-up-to-date update policy. The functionality is also available in SQL Server 2025 preview. Native JSON data type The native JSON data type stores JSON documents in a binary format that the database engine can manage efficiently. The JSON data type is...

Unlocking the Power of Regex in SQL Server
May 19, 2025
Post comments count 2
Post likes count 1

Unlocking the Power of Regex in SQL Server

Abhiman Tiwari
Abhiman Tiwari

Regular expressions, or regex, are powerful tools for text manipulation and pattern matching. They are incredibly useful in various scenarios, such as data validation, extraction, and transformation. SQL Server 2025 introduces native support for regex functions, making it easier to perform complex text operations directly within SQL queries. This Regex support is available in SQL Server 2025 public preview, Azure SQL Database, SQL DB in Fabric, and Azure SQL Managed Instance. The table-valued functions (TVFs) are currently available on SQL Server 2025 public preview however they will follow on other offerings as ...

MSSQL Extension for VS Code: New UI Goes GA and GitHub Copilot Enters Preview
May 19, 2025
Post comments count 0
Post likes count 2

MSSQL Extension for VS Code: New UI Goes GA and GitHub Copilot Enters Preview

Carlos Robles
Carlos Robles

The SQL development experience is taking a major leap forward with the MSSQL Extension for VS Code. The MSSQL extension is evolving to meet the needs of modern developers, bringing powerful, intelligent, and intuitive capabilities directly into your daily workflow. With this release, we’re announcing the general availability of the enhanced UI and the public preview of GitHub Copilot integration. Together, these updates streamline how developers connect to databases, write queries, and manage schema objects—whether you’re working locally with SQL Server 2025 or in the cloud with Azure SQL or SQL Database in Fabr...

Avoid T-SQL anti-patterns with the free T-SQL analysis tool
May 8, 2025
Post comments count 2
Post likes count 3

Avoid T-SQL anti-patterns with the free T-SQL analysis tool

Erik Ejlskov Jensen
Erik Ejlskov Jensen

T-SQL Analyzer is a free, open-source, cross platform command line tool for identifying, and reporting the presence of anti-patterns and design issues in SQL Server T-SQL scripts. As a database developer, you can catch any potential bad practices and design problems very early in the project process - this ensures a frictionless path to deployment from development and test environments to production. The tool evaluates your scripts with more than 140 rules for design, naming and performance issues. The rules are created by Microsoft and the SQL Server community. If you already maintain your SQL scripts ...

Efficiently and Elegantly Modeling Embeddings in Azure SQL and SQL Server
May 6, 2025
Post comments count 1
Post likes count 3

Efficiently and Elegantly Modeling Embeddings in Azure SQL and SQL Server

Davide Mauri
Davide Mauri

Storing and querying text embeddings in a database it might seem challenging, but with the right schema design, it's not only possible, it's powerful. Whether you’re building AI-powered search, semantic filtering, or recommendation features, embeddings, and thus vectors, are now a first-class data type. So how do you model them well inside a database like SQL Server and Azure SQL? In this post, I’ll walk you through a practical, scalable strategy to store embeddings effectively—while keeping your schema clean, your queries readable, and your operations efficient. This blog post is part of a series of blogs ...

MSSQL Extension for VS Code: Introducing Schema Compare (Preview)
Apr 30, 2025
Post comments count 3
Post likes count 2

MSSQL Extension for VS Code: Introducing Schema Compare (Preview)

Tauseef Siddique
Tauseef Siddique

Overview We are excited to introduce Schema Compare in the MSSQL Extension for VS Code! It can be tedious to manually manage and synchronize different database versions. Enter Schema Compare, the powerful new feature for MSSQL in VS Code that transforms this tedious task into a seamless experience. With intuitive visualization that instantly highlights additions, removals, and modifications between schemas, you gain complete control over which changes to implement. Whether comparing live databases, dacpac files, or SQL projects, Schema Compare empowers you to synchronize database versions with precision and c...

Predictable LLM results with Structured Output and sp_invoke_external_rest_endpoint
Apr 21, 2025
Post comments count 1
Post likes count 1

Predictable LLM results with Structured Output and sp_invoke_external_rest_endpoint

Davide Mauri
Davide Mauri

OpenAI recently introduced a powerful new feature for developers: structured output using JSON Schema via the parameter. This makes it possible to request responses from a GPT-4o model that strictly match a given schema—no free-text, no guesswork. If you're working with Azure SQL, this is a game-changer. Combined with the stored procedure and SQL Server's built-in JSON functions, you can now: What Is Structured Output? By default, LLMs like GPT-4 return free-form text—which can be difficult to parse reliably. With structured output, you provide a JSON Schema along with your request, and the m...

Enhancing Search Capabilities in SQL Server and Azure SQL with Hybrid Search and RRF Re-Ranking
Apr 7, 2025
Post comments count 0
Post likes count 2

Enhancing Search Capabilities in SQL Server and Azure SQL with Hybrid Search and RRF Re-Ranking

Davide Mauri
Davide Mauri

In today's data-driven world, delivering precise and contextually relevant search results is critical. SQL Server and Azure SQL Database now enable this through Hybrid Search—a technique that combines traditional full-text search with modern vector similarity search. This allows developers to build intelligent, AI-powered search experiences directly inside the database engine. Funny enough one of the key algorithms needed for implementing Hybrid Search, BM25, has been included in SQL Server is almost forever, without much fanfare: RAG pattern and similarity search is bringing it to the light. What Is Hybrid S...

SQL Conf() 2025 Highlights: So Much Developer Innovation!
Mar 27, 2025
Post comments count 0
Post likes count 2

SQL Conf() 2025 Highlights: So Much Developer Innovation!

Jerry Nixon
Jerry Nixon

For decades, SQL Server has been a cornerstone of data management, evolving to meet the needs of modern developers. What began as a traditional relational engine is now a cloud-enabled, AI-integrated platform designed for building real-world applications. SQL Server continues to meet developers where they are—offering tools, services, and capabilities that simplify complexity and support innovation across the stack. SQL Conf() 2025, held February 26, was a developer marathon built specifically for application developers. While DBAs and data engineers often lead the conversation, this event flipped the focu...

Secure APIs with Data API Builder, Keycloak, and SQL Server
Mar 24, 2025
Post comments count 0
Post likes count 4

Secure APIs with Data API Builder, Keycloak, and SQL Server

Alessio Tugnoli
Alessio Tugnoli

In this article, we'll explore how to create a secure, on-premises API using Data API Builder (DAB), Keycloak, and SQL Server. You'll learn to set up JSON Web Token (JWT) authentication with Role-Based Access Control (RBAC), Attribute-Based Access Control (ABAC), and Row-Level Security (RLS), ideal for secure business scenarios. Want to replicate this setup?All the configuration files, SQL scripts, and Docker setup used in this article are available here: https://github.com/yougnoli/secure-onprem-api-dab-keycloak-sqlserver Technologies Overview What We'll Cover RBAC a...

Vector Search with Azure SQL, Semantic Kernel and Entity Framework Core
Mar 19, 2025
Post comments count 1
Post likes count 3

Vector Search with Azure SQL, Semantic Kernel and Entity Framework Core

Davide Mauri Marco Minerva
Davide,
Marco

Vector databases like Qdrant and Milvus are specifically designed to efficiently store, manage, and retrieve embeddings. However, many applications already use relational databases like SQL Server or SQL Azure. In such cases, installing and managing another database can be challenging, especially since these vector databases may not offer all the features of a modern relational database like Azure SQL or SQL Server. This is where the new vector data type in SQL Azure becomes extremely useful. It allows you to create Retrieval-Augmented Generation (RAG) solutions by storing embeddings in the same place as y...

Build a Streamlit application with Fabric SQL Database
Mar 18, 2025
Post comments count 0
Post likes count 2

Build a Streamlit application with Fabric SQL Database

Sunitha Muthukrishna
Sunitha Muthukrishna

Building an application allows you to operationalize the data you have in Microsoft Fabric, such that it can be consumed by stakeholders in your organization to generate business insights.  Streamlit is easy to use to build simple applications without needing to know front-end application frameworks like Flask, Django etc. It makes it easier to prototype and visualize your data in Microsoft Fabric with Streamlit framework. In this blog post we will show how to develop an app using Streamlit and Fabric SQL database. Consider a scenario that you are a data engineer in a retail company and want to keep track of y...

Exploring SQL Server Integration with .NET Aspire: A Collection of Hands-On Samples
Mar 14, 2025
Post comments count 0
Post likes count 3

Exploring SQL Server Integration with .NET Aspire: A Collection of Hands-On Samples

Davide Mauri
Davide Mauri

I'm happy to share a new GitHub repository with developers: azure-sql-db-aspire. This collection of eight hands-on examples demonstrates how to integrate SQL Server and Azure SQL with .NET Aspire, making it easier to build modern, cloud-native applications. Why .NET Aspire for SQL Server? .NET Aspire is a new opinionated, cloud-ready stack for .NET applications that simplifies development, observability, and orchestration. SQL Server and Azure SQL are well-supported, allowing developers to quickly integrate databases into their applications while benefiting from Aspire’s service discovery, dependency injection,...

MSSQL Extension for VS Code: What’s new and what’s next
Mar 6, 2025
Post comments count 5
Post likes count 0

MSSQL Extension for VS Code: What’s new and what’s next

Carlos Robles
Carlos Robles

The MSSQL extension for Visual Studio Code continues to evolve, bringing powerful new features and enhancements that make SQL development more seamless and efficient. In this update, we’re excited to share the latest improvements in v1.29.0 and give you a sneak peek at what’s coming next in our open roadmap. This extension is designed for developers working with Azure SQL (including Azure SQL Database, Azure SQL Managed Instance, and SQL Server on Azure VMs), SQL Database in Fabric (Preview), or SQL Server as a backend. With a rich set of features for connecting to databases, managing schemas, executing queries,...