Showing category results for T-SQL

Sep 16, 2025
Post comments count1
Post likes count0

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...

Azure SQLT-SQLOpenAI
Aug 29, 2025
Post comments count0
Post likes count3

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,...

Azure SQLVectorsT-SQL
Aug 21, 2025
Post comments count0
Post likes count4

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 enabl...

Azure SQLAIT-SQL
Jul 30, 2025
Post comments count4
Post likes count4

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, stream...

Azure SQLT-SQL
May 29, 2025
Post comments count0
Post likes count1

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 ...

AIAzure SQLT-SQL
May 29, 2025
Post comments count2
Post likes count1

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? ...

Azure SQLAIVectors
May 28, 2025
Post comments count8
Post likes count3

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 Februar...

AIT-SQLOpenAI
May 22, 2025
Post comments count0
Post likes count0

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.

AIAzure SQLT-SQL
May 19, 2025
Post comments count7
Post likes count0

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 Instan...

Azure SQLT-SQL
May 19, 2025
Post comments count2
Post likes count1

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 R...

Azure SQLT-SQLManaged Instance