# T-SQL

Published articles for T-SQL.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Is Azure SQL Database Hyperscale "distributed SQL"?

DevFeed: [Is Azure SQL Database Hyperscale "distributed SQL"?](<https://devfeed.tech/articles/is-azure-sql-database-hyperscale-distributed-sql-109694.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/azure-sql/is-azure-sql-database-hyperscale-distributed-sql/>)

Author: Anna Hoffman

Published: 2026-10-30T16:52:56Z

Content type: article

Language: en

Sources: [Azure SQL Dev Corner](<https://devfeed.tech/sources/azure-sql-dev-corner.md>)

Topics: [Azure SQL](<https://devfeed.tech/topics/azure-sql.md>), [sql-database](<https://devfeed.tech/topics/sql-database.md>), [sql-server](<https://devfeed.tech/topics/sql-server.md>), [Amazon Aurora](<https://devfeed.tech/topics/amazon-aurora.md>), [consistency](<https://devfeed.tech/topics/consistency.md>), [Transactions](<https://devfeed.tech/topics/transactions.md>), [read-replica](<https://devfeed.tech/topics/read-replica.md>), [SQL](<https://devfeed.tech/topics/sql.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-workloads](<https://devfeed.tech/tags/ai-workloads.md>), [amazon-aurora](<https://devfeed.tech/tags/amazon-aurora.md>), [analytics](<https://devfeed.tech/tags/analytics.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [aws](<https://devfeed.tech/tags/aws.md>), [azure](<https://devfeed.tech/tags/azure.md>), [azure-sql](<https://devfeed.tech/tags/azure-sql.md>), [azure-sql-database](<https://devfeed.tech/tags/azure-sql-database.md>), [backup](<https://devfeed.tech/tags/backup.md>), [backups](<https://devfeed.tech/tags/backups.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [capacity](<https://devfeed.tech/tags/capacity.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [commit](<https://devfeed.tech/tags/commit.md>), [database](<https://devfeed.tech/tags/database.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [distributed-sql](<https://devfeed.tech/tags/distributed-sql.md>), [hyperscale](<https://devfeed.tech/tags/hyperscale.md>), [sql](<https://devfeed.tech/tags/sql.md>), [t-sql](<https://devfeed.tech/tags/t-sql.md>)

### AI overview

Azure SQL Database Hyperscale is a distributed architecture with a single-writer SQL engine. Compute replicas process queries, a log service handles durability and distributes log records, page servers hold data slices, and Azure Storage keeps the long-term copy and snapshots. This design supports automatic storage growth up to 128 TB, near-instant snapshot backups, restores largely independent of database size, and replicas that can be added without copying data. It retains SQL Server transaction semantics and T-SQL compatibility, but only one primary accepts writes; workloads requiring multiple writers face a different trade-off. In a Microsoft-commissioned comparison using HammerDB TPROC-C on a 2.3 TB database, Hyperscale Premium-series at 16 vCores delivered up to 52% higher performance and up to 51% better performance per dollar than Aurora PostgreSQL I/O-Optimized, leading at each tested concurrency level. The author cautions that benchmark results may not predict an individual workload and recommends testing it.

### Source excerpt

In my last post, I broke down the Socrates paper, the research that became Azure SQL Database Hyperscale. Writing it made me want to tackle a question I think trips a lot of people up when they're choosing a database: is Azure SQL Database Hyperscale "distributed SQL"? It's a fair question. "Distributed SQL" has become [...] The post Is Azure SQL Database Hyperscale "distributed SQL"? appeared first on Azure SQL Dev Corner.

## Troubleshooting Data Mismatches with tablediff on Amazon RDS for SQL Server

DevFeed: [Troubleshooting Data Mismatches with tablediff on Amazon RDS for SQL Server](<https://devfeed.tech/articles/troubleshooting-data-mismatches-with-tablediff-on-amazon-rds-for-sql-server-95993.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/database/troubleshooting-data-mismatches-with-tablediff-on-amazon-rds-for-sql-server/>)

Author: Kanchan Bhattacharyya

Published: 2026-10-22T16:33:04Z

Content type: article

Language: en

Sources: [AWS Database Blog](<https://devfeed.tech/sources/aws-database-blog.md>)

Topics: [RDS for SQL Server](<https://devfeed.tech/topics/rds-for-sql-server.md>), [read-replica](<https://devfeed.tech/topics/read-replica.md>), [sql-server](<https://devfeed.tech/topics/sql-server.md>), [Amazon RDS](<https://devfeed.tech/topics/amazon-rds.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [observability](<https://devfeed.tech/topics/observability.md>), [Disaster Recovery](<https://devfeed.tech/topics/disaster-recovery.md>), [audit](<https://devfeed.tech/topics/audit.md>), [Amazon S3](<https://devfeed.tech/topics/amazon-s3.md>)

Tags: [2022](<https://devfeed.tech/tags/2022.md>), [2025](<https://devfeed.tech/tags/2025.md>), [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [amazon-cloudwatch](<https://devfeed.tech/tags/amazon-cloudwatch.md>), [amazon-ec2](<https://devfeed.tech/tags/amazon-ec2.md>), [amazon-elastic-compute-cloud-amazon-ec2](<https://devfeed.tech/tags/amazon-elastic-compute-cloud-amazon-ec2.md>), [amazon-rds](<https://devfeed.tech/tags/amazon-rds.md>), [amazon-simple-storage-service-amazon-s3](<https://devfeed.tech/tags/amazon-simple-storage-service-amazon-s3.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [audit](<https://devfeed.tech/tags/audit.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [lag](<https://devfeed.tech/tags/lag.md>), [rds-for-sql-server](<https://devfeed.tech/tags/rds-for-sql-server.md>), [read-replica](<https://devfeed.tech/tags/read-replica.md>), [replication](<https://devfeed.tech/tags/replication.md>), [scripts](<https://devfeed.tech/tags/scripts.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>), [t-sql](<https://devfeed.tech/tags/t-sql.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>), [troubleshooting](<https://devfeed.tech/tags/troubleshooting.md>), [utility](<https://devfeed.tech/tags/utility.md>)

### AI overview

After an Amazon RDS for SQL Server read replica catches up, tablediff can provide independent row-level parity evidence that replication metrics alone do not: compare the primary and replica only after `ReplicaLag`, `redo_queue_size`, and `log_send_queue_size` are all zero. Run it from a Windows EC2 client with access to both endpoints; target tables need a clustered primary key or unique index. It reports source-only, destination-only, and column-mismatched rows, and can generate T-SQL fixes. The replica is read-only, so remediation requires promotion, which is irreversible; regenerate the fix script after promotion and wrap its bare DML statements in an explicit transaction with a validation gate. Re-run tablediff to confirm zero differences. A fresh rebuild may be preferable for extensive or structural divergence. Comparisons scan whole tables and can give misleading results during active writes or redo, so run during a quiet period after queues drain.

### Source excerpt

Learn how to use the SQL Server tablediff utility to validate an Amazon RDS for SQL Server read replica against its primary after a replication lag event, detect and classify row-level data mismatches, and apply auditable T-SQL fix scripts on a promoted replica instance.

## Canada's 2026 time zone updates: guidance for Microsoft SQL

DevFeed: [Canada's 2026 time zone updates: guidance for Microsoft SQL](<https://devfeed.tech/articles/canada-s-2026-time-zone-updates-guidance-for-microsoft-sql-87322.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/azure-sql/canadas-2026-time-zone-updates-guidance-for-microsoft-sql/>)

Author: Umachandar Jayachandran (UC)

Published: 2026-10-15T05:21:10Z

Content type: tutorial

Language: en

Sources: [Azure SQL Dev Corner](<https://devfeed.tech/sources/azure-sql-dev-corner.md>)

Topics: [sql-server](<https://devfeed.tech/topics/sql-server.md>), [timezone](<https://devfeed.tech/topics/timezone.md>), [Azure SQL](<https://devfeed.tech/topics/azure-sql.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [azure-sql](<https://devfeed.tech/tags/azure-sql.md>), [azure-sql-database](<https://devfeed.tech/tags/azure-sql-database.md>), [azure-sql-managed-instance](<https://devfeed.tech/tags/azure-sql-managed-instance.md>), [canada](<https://devfeed.tech/tags/canada.md>), [fabric-sql](<https://devfeed.tech/tags/fabric-sql.md>), [fabric-sql-database](<https://devfeed.tech/tags/fabric-sql-database.md>), [managed-instance](<https://devfeed.tech/tags/managed-instance.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>), [t-sql](<https://devfeed.tech/tags/t-sql.md>), [time](<https://devfeed.tech/tags/time.md>)

### AI overview

Microsoft outlines interim time zone guidance for SQL Server on Windows and Linux, Azure SQL Database, and Azure SQL Managed Instance ahead of Canada's November 2026 changes. It explains regional offsets, temporary identifiers and workarounds, configuration scope, and migration considerations when final regional zones are unavailable.

### Source excerpt

Affected locations in British Columbia, Alberta, and Manitoba will not turn their clocks back at 02:00 local time on November 1, 2026. They will remain at UTC−07:00, UTC−06:00, and UTC−05:00, respectively. Microsoft's interim guidance for British Columbia, Alberta, and Manitoba describes the new Windows time zones and temporary workarounds. SQL Server on Windows requires the [...] The post Canada's 2026 time zone updates: guidance for Microsoft SQL appeared first on Azure SQL Dev Corner.

## Migrate CLR code to AWS Lambda when upgrading Amazon RDS for SQL Server to 2025

DevFeed: [Migrate CLR code to AWS Lambda when upgrading Amazon RDS for SQL Server to 2025](<https://devfeed.tech/articles/migrate-clr-code-to-aws-lambda-when-upgrading-amazon-rds-for-sql-server-to-2025-85607.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/database/migrate-clr-code-to-aws-lambda-when-upgrading-amazon-rds-for-sql-server-to-2025/>)

Author: Raunak Gupta

Published: 2026-10-12T16:11:15Z

Content type: tutorial

Language: en

Sources: [AWS Database Blog](<https://devfeed.tech/sources/aws-database-blog.md>)

Topics: [AWS Lambda](<https://devfeed.tech/topics/aws-lambda.md>), [RDS for SQL Server](<https://devfeed.tech/topics/rds-for-sql-server.md>), [sql-server](<https://devfeed.tech/topics/sql-server.md>), [Amazon API Gateway](<https://devfeed.tech/topics/amazon-api-gateway.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>)

Tags: [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [amazon-api-gateway](<https://devfeed.tech/tags/amazon-api-gateway.md>), [aws-lambda](<https://devfeed.tech/tags/aws-lambda.md>), [net](<https://devfeed.tech/tags/net.md>), [rds-for-sql-server](<https://devfeed.tech/tags/rds-for-sql-server.md>), [sql-server-2025](<https://devfeed.tech/tags/sql-server-2025.md>), [t-sql](<https://devfeed.tech/tags/t-sql.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>)

### AI overview

This hands-on tutorial shows how to move SQL CLR logic that has no native T-SQL equivalent into an AWS Lambda function, then call it from Amazon RDS for SQL Server 2025 through API Gateway and sp_invoke_external_rest_endpoint. Its CSV example preserves quoted fields containing commas and line breaks. The article covers setup, credentials, access controls, performance, cost, and cleanup, and recommends the pattern for batch or file-level work because each call adds network latency.

### Source excerpt

After upgrading Amazon RDS for SQL Server to 2017 or later, CLR strict security leaves user-defined CLR assemblies unusable. This post shows how to migrate CLR logic with no native T-SQL equivalent to an AWS Lambda function, invoked from SQL Server 2025 through sp_invoke_external_rest_endpoint behind Amazon API Gateway.

## PostgreSQL to SQL Field Notes: Connections

DevFeed: [PostgreSQL to SQL Field Notes: Connections](<https://devfeed.tech/articles/postgresql-to-sql-field-notes-connections-65477.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/azure-sql/pg-to-sql-connections/>)

Author: Jerry Nixon

Published: 2026-10-06T16:39:17Z

Content type: article

Language: en

Sources: [Azure SQL Dev Corner](<https://devfeed.tech/sources/azure-sql-dev-corner.md>)

Topics: [Heroku Postgres](<https://devfeed.tech/topics/heroku-postgres.md>), [sql-server](<https://devfeed.tech/topics/sql-server.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [connection pool](<https://devfeed.tech/topics/connection-pool.md>), [connection draining](<https://devfeed.tech/topics/connection-draining.md>), [locking](<https://devfeed.tech/topics/locking.md>)

Tags: [antipattern](<https://devfeed.tech/tags/antipattern.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [azure-sql](<https://devfeed.tech/tags/azure-sql.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [concurrent](<https://devfeed.tech/tags/concurrent.md>), [connect](<https://devfeed.tech/tags/connect.md>), [connection-pool](<https://devfeed.tech/tags/connection-pool.md>), [connection-pooling](<https://devfeed.tech/tags/connection-pooling.md>), [cost](<https://devfeed.tech/tags/cost.md>), [database](<https://devfeed.tech/tags/database.md>), [microsoft-sql](<https://devfeed.tech/tags/microsoft-sql.md>), [modernize](<https://devfeed.tech/tags/modernize.md>), [net](<https://devfeed.tech/tags/net.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [sql](<https://devfeed.tech/tags/sql.md>), [sql-server-2025](<https://devfeed.tech/tags/sql-server-2025.md>), [t-sql](<https://devfeed.tech/tags/t-sql.md>)

### AI overview

The article compares PostgreSQL and Microsoft SQL connection models. PostgreSQL assigns a dedicated operating-system process to each connection, so developers commonly limit concurrent connections and manage pooling. Microsoft SQL uses workers on demand and typically relies on ADO.NET connection pooling, making idle connections less resource intensive. The article recommends letting the database and client pool manage most connection scenarios.

### Source excerpt

Welcome to SQL First, welcome to SQL! You're going to like this. Upgrading from PostgreSQL is real work, and depending on your old database, this process will vary widely in complexity. I am confident that you're going to love the mindful and modern features of SQL. Take your time, make the most of the resources [...] The post PostgreSQL to SQL Field Notes: Connections appeared first on Azure SQL Dev Corner.

## DiskANN Vector Index and Vector Search Are Now Generally Available in Azure SQL

DevFeed: [DiskANN Vector Index and Vector Search Are Now Generally Available in Azure SQL](<https://devfeed.tech/articles/diskann-vector-index-and-vector-search-are-now-generally-available-in-azure-sql-61741.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/azure-sql/diskann-vector-index-search-are-now-generally-available-in-azure-sql/>)

Author: Pooja Kamath

Published: 2026-09-29T15:00:22Z

Content type: release

Language: en

Sources: [Azure SQL Dev Corner](<https://devfeed.tech/sources/azure-sql-dev-corner.md>)

Topics: [Azure SQL](<https://devfeed.tech/topics/azure-sql.md>), [sql-database](<https://devfeed.tech/topics/sql-database.md>), [cosine similarity search](<https://devfeed.tech/topics/cosine-similarity-search.md>), [ann](<https://devfeed.tech/topics/ann.md>), [vectorization techniques](<https://devfeed.tech/topics/vectorization-techniques.md>), [SQL](<https://devfeed.tech/topics/sql.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [approximate-nearest-neighbor-search](<https://devfeed.tech/tags/approximate-nearest-neighbor-search.md>), [azure-sql](<https://devfeed.tech/tags/azure-sql.md>), [azure-sql-database](<https://devfeed.tech/tags/azure-sql-database.md>), [diskann](<https://devfeed.tech/tags/diskann.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [fabric-sql-database](<https://devfeed.tech/tags/fabric-sql-database.md>), [hyperscale](<https://devfeed.tech/tags/hyperscale.md>), [similarity](<https://devfeed.tech/tags/similarity.md>), [sql](<https://devfeed.tech/tags/sql.md>), [t-sql](<https://devfeed.tech/tags/t-sql.md>), [vector-index](<https://devfeed.tech/tags/vector-index.md>), [vector-search](<https://devfeed.tech/tags/vector-search.md>), [vectors](<https://devfeed.tech/tags/vectors.md>)

### AI overview

DiskANN vector indexing and search are now generally available in Azure SQL Database, Azure SQL Managed Instance with the always-up-to-date update policy, and SQL database in Microsoft Fabric. The index uses approximate nearest-neighbor search to find similar vectors efficiently as datasets grow, and can use SSD-backed storage to limit reliance on RAM. Applications can combine vector similarity search with relational data, filters, joins, security policies, and transactions.

### Source excerpt

Today, we are announcing the general availability of DiskANN Vector Index & Search across Azure SQL Database, Azure SQL Managed Instance with the always-up-to-date update policy, and SQL database in Microsoft Fabric. DiskANN brings scalable approximate nearest-neighbor search directly to the SQL engine. Developers can store vectors alongside relational data and combine vector similarity with [...] The post DiskANN Vector Index and Vector Search Are Now Generally Available in Azure SQL appeared first on Azure SQL Dev Corner.

## What's new across Microsoft SQL at SQLCon/FabCon Europe 2026

DevFeed: [What's new across Microsoft SQL at SQLCon/FabCon Europe 2026](<https://devfeed.tech/articles/what-s-new-across-microsoft-sql-at-sqlcon-fabcon-europe-2026-61742.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/azure-sql/whats-new-across-microsoft-sql-at-sqlcon-fabcon-europe-2026/>)

Author: Anna Hoffman

Published: 2026-09-29T07:30:04Z

Content type: news

Language: en

Sources: [Azure SQL Dev Corner](<https://devfeed.tech/sources/azure-sql-dev-corner.md>)

Topics: [sql-server](<https://devfeed.tech/topics/sql-server.md>), [Azure SQL](<https://devfeed.tech/topics/azure-sql.md>), [Azure](<https://devfeed.tech/topics/azure.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [ai](<https://devfeed.tech/tags/ai.md>), [azure](<https://devfeed.tech/tags/azure.md>), [azure-sql](<https://devfeed.tech/tags/azure-sql.md>), [data-api-builder](<https://devfeed.tech/tags/data-api-builder.md>), [drivers](<https://devfeed.tech/tags/drivers.md>), [fabric-sql-database](<https://devfeed.tech/tags/fabric-sql-database.md>), [hyperscale](<https://devfeed.tech/tags/hyperscale.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [microsoft-sql](<https://devfeed.tech/tags/microsoft-sql.md>), [sql-database-in-fabric](<https://devfeed.tech/tags/sql-database-in-fabric.md>), [sql-database-projects](<https://devfeed.tech/tags/sql-database-projects.md>), [sql-mcp-server](<https://devfeed.tech/tags/sql-mcp-server.md>), [sql-server-2025](<https://devfeed.tech/tags/sql-server-2025.md>), [t-sql](<https://devfeed.tech/tags/t-sql.md>), [vector-search](<https://devfeed.tech/tags/vector-search.md>), [vectors](<https://devfeed.tech/tags/vectors.md>), [visual-studio-code](<https://devfeed.tech/tags/visual-studio-code.md>), [vs-code](<https://devfeed.tech/tags/vs-code.md>)

### AI overview

Microsoft highlights SQL Server and Azure SQL updates announced at SQLCon and FabCon Europe 2026, including disconnected Azure Local availability, expanded Azure Arc regions, sovereign cloud support, VM provisioning changes, Linux updates, and preview migration tools.

### Source excerpt

Live From Barcelona Woo! I'm posting this live from the first ever European SQLCon (joint conference with FabCon EU), and the second ever SQLCon. The energy here is great, as the community comes together in Barcelona and as we prepare to go on the keynote stage and share what's new! A heartfelt nod to the [...] The post What's new across Microsoft SQL at SQLCon/FabCon Europe 2026 appeared first on Azure SQL Dev Corner.

## Announcing the Public Preview of Local Time Zone Support in Azure SQL Database

DevFeed: [Announcing the Public Preview of Local Time Zone Support in Azure SQL Database](<https://devfeed.tech/articles/announcing-the-public-preview-of-local-time-zone-support-in-azure-sql-database-61031.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/azure-sql/announcing-the-public-preview-of-local-time-zone-support-in-azure-sql-database/>)

Author: Umachandar Jayachandran (UC)

Published: 2026-09-28T15:00:17Z

Content type: release

Language: en

Sources: [Azure SQL Dev Corner](<https://devfeed.tech/sources/azure-sql-dev-corner.md>)

Topics: [Azure SQL](<https://devfeed.tech/topics/azure-sql.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [timezone](<https://devfeed.tech/topics/timezone.md>), [sql-server](<https://devfeed.tech/topics/sql-server.md>), [MySQL](<https://devfeed.tech/topics/mysql.md>), [Oracle Database](<https://devfeed.tech/topics/oracle-database.md>)

Tags: [azure-sql](<https://devfeed.tech/tags/azure-sql.md>), [azure-sql-database](<https://devfeed.tech/tags/azure-sql-database.md>), [database](<https://devfeed.tech/tags/database.md>), [sql](<https://devfeed.tech/tags/sql.md>), [t-sql](<https://devfeed.tech/tags/t-sql.md>), [time](<https://devfeed.tech/tags/time.md>)

### AI overview

Azure SQL Database now offers a public preview of configurable time zones at the database or session level using T-SQL. The database setting persists across connections and can be changed after creation; a session setting overrides it for one connection. Secondary replica databases inherit the primary replica's setting.

### Source excerpt

We are thrilled to announce the public preview of local time zone support in Azure SQL Database. Starting today, you can configure the time zone directly at the database or session level -- all from T-SQL, without changing any infrastructure settings. This feature addresses one of the most consistently requested capabilities from the Azure SQL [...] The post Announcing the Public Preview of Local Time Zone Support in Azure SQL Database appeared first on Azure SQL Dev Corner.

## PostgreSQL to SQL Field Notes: Date & Time

DevFeed: [PostgreSQL to SQL Field Notes: Date & Time](<https://devfeed.tech/articles/postgresql-to-sql-field-notes-date-time-57680.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/azure-sql/pg-to-sql-date-time/>)

Author: Jerry Nixon

Published: 2026-09-21T22:44:58Z

Content type: tutorial

Language: en

Sources: [Azure SQL Dev Corner](<https://devfeed.tech/sources/azure-sql-dev-corner.md>)

Topics: [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [sql-server](<https://devfeed.tech/topics/sql-server.md>), [DateTime](<https://devfeed.tech/topics/datetime.md>), [SQL](<https://devfeed.tech/topics/sql.md>)

Tags: [azure-sql](<https://devfeed.tech/tags/azure-sql.md>), [dev](<https://devfeed.tech/tags/dev.md>), [developer](<https://devfeed.tech/tags/developer.md>), [microsoft-sql](<https://devfeed.tech/tags/microsoft-sql.md>), [modernize](<https://devfeed.tech/tags/modernize.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [precision](<https://devfeed.tech/tags/precision.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>), [sql-server-2025](<https://devfeed.tech/tags/sql-server-2025.md>), [t-sql](<https://devfeed.tech/tags/t-sql.md>), [time](<https://devfeed.tech/tags/time.md>)

### AI overview

This tutorial explains date and time differences developers should understand when moving from PostgreSQL to SQL Server, including timestamp types, time-zone handling, offsets, fractional-second precision, and storage behavior.

### Source excerpt

Moving from PostgreSQL to SQL Server? Learn the key differences between timestamp, timestamptz, datetime2, and datetimeoffset, including precision, time zones, offsets, and storage. The post PostgreSQL to SQL Field Notes: Date & Time appeared first on Azure SQL Dev Corner.

## SQL Decomposition in a Nutshell

DevFeed: [SQL Decomposition in a Nutshell](<https://devfeed.tech/articles/sql-decomposition-in-a-nutshell-50575.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/azure-sql/sql-decomposition/>)

Author: Jerry Nixon

Published: 2026-09-03T20:06:28Z

Content type: article

Language: en

Sources: [Azure SQL Dev Corner](<https://devfeed.tech/sources/azure-sql-dev-corner.md>)

Topics: [SQL](<https://devfeed.tech/topics/sql.md>), [Software Engineering](<https://devfeed.tech/topics/software-engineering.md>), [Database](<https://devfeed.tech/topics/database.md>), [software-architecture](<https://devfeed.tech/topics/software-architecture.md>), [hybrid-search](<https://devfeed.tech/topics/hybrid-search.md>)

Tags: [azure-sql](<https://devfeed.tech/tags/azure-sql.md>), [database](<https://devfeed.tech/tags/database.md>), [development](<https://devfeed.tech/tags/development.md>), [hybrid-search](<https://devfeed.tech/tags/hybrid-search.md>), [maintainability](<https://devfeed.tech/tags/maintainability.md>), [software-design](<https://devfeed.tech/tags/software-design.md>), [sql](<https://devfeed.tech/tags/sql.md>), [t-sql](<https://devfeed.tech/tags/t-sql.md>)

### AI overview

This article explains how software design principles such as decomposition, encapsulation, statelessness, and clear contracts apply to complex T-SQL and database logic. It uses hybrid search as an example of separating responsibilities into components that are easier to test, diagnose, reuse, and maintain.

### Source excerpt

Good software design principles apply inside the database too. See how decomposition, encapsulation, statelessness, and clear contracts can make complex T-SQL easier to read, test, reuse, and maintain. The post SQL Decomposition in a Nutshell appeared first on Azure SQL Dev Corner.

## Safely Evolving Production SQL Schemas Without Downtime

DevFeed: [Safely Evolving Production SQL Schemas Without Downtime](<https://devfeed.tech/articles/advocating-for-uptime-the-6-phases-of-change-50574.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/azure-sql/schema-change/>)

Author: Jerry Nixon

Published: 2026-09-03T19:09:04Z

Content type: tutorial

Language: en

Sources: [Azure SQL Dev Corner](<https://devfeed.tech/sources/azure-sql-dev-corner.md>)

Topics: [Structured-data](<https://devfeed.tech/topics/structured-data.md>), [migration](<https://devfeed.tech/topics/migration.md>), [Database](<https://devfeed.tech/topics/database.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [integrity](<https://devfeed.tech/topics/integrity.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>)

Tags: [azure-sql](<https://devfeed.tech/tags/azure-sql.md>), [database](<https://devfeed.tech/tags/database.md>), [database-change-management](<https://devfeed.tech/tags/database-change-management.md>), [deploy](<https://devfeed.tech/tags/deploy.md>), [downtime](<https://devfeed.tech/tags/downtime.md>), [migration](<https://devfeed.tech/tags/migration.md>), [production](<https://devfeed.tech/tags/production.md>), [safely](<https://devfeed.tech/tags/safely.md>), [schema](<https://devfeed.tech/tags/schema.md>), [strategy](<https://devfeed.tech/tags/strategy.md>), [t-sql](<https://devfeed.tech/tags/t-sql.md>)

### AI overview

A phased approach to changing a production SQL schema while applications remain online. The article describes expanding the schema, supporting old and new application versions, and sequencing database and application deployments.

### Source excerpt

Schema changes are inevitable, but downtime doesn't have to be. Learn a phased approach to safely evolve a production SQL schema while applications remain online. The post Advocating for Uptime: The 6 Phases of Change appeared first on Azure SQL Dev Corner.

## SQL Server login failures: how to monitor, report, and alert on them (complete guide)

DevFeed: [SQL Server login failures: how to monitor, report, and alert on them (complete guide)](<https://devfeed.tech/articles/sql-server-login-failures-how-to-monitor-report-and-alert-on-them-complete-guide-50489.md>)

Original publisher: [Read original article](<https://www.red-gate.com/simple-talk/databases/sql-server/sql-server-login-failures-how-to-monitor-report-and-alert-on-them-complete-guide/>)

Author: Edward Pollack

Published: 2026-09-02T12:00:00Z

Content type: tutorial

Language: en

Sources: [Simple Talk](<https://devfeed.tech/sources/simple-talk.md>)

Topics: [sql-server](<https://devfeed.tech/topics/sql-server.md>), [Monitoring](<https://devfeed.tech/topics/monitoring.md>), [Security](<https://devfeed.tech/topics/security.md>), [Database](<https://devfeed.tech/topics/database.md>), [Logging](<https://devfeed.tech/topics/logging.md>)

Tags: [alert](<https://devfeed.tech/tags/alert.md>), [database](<https://devfeed.tech/tags/database.md>), [database-administration](<https://devfeed.tech/tags/database-administration.md>), [databases](<https://devfeed.tech/tags/databases.md>), [featured](<https://devfeed.tech/tags/featured.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [logging](<https://devfeed.tech/tags/logging.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [security](<https://devfeed.tech/tags/security.md>), [sql](<https://devfeed.tech/tags/sql.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>), [t-sql](<https://devfeed.tech/tags/t-sql.md>), [t-sql-programming](<https://devfeed.tech/tags/t-sql-programming.md>)

### AI overview

A practical guide to detecting SQL Server login failures, filtering and aggregating error-log data with T-SQL and xp_readerrorlog, and automatically emailing summary alerts. It explains how failures can indicate configuration problems, application bugs, password issues, or unauthorized access attempts.

### Source excerpt

Learn how to detect and report SQL Server login failures using T-SQL and xp_readerrorlog. Includes ready-to-use scripts for filtering, aggregating, and emailing alerts.... The post SQL Server login failures: how to monitor, report, and alert on them (complete guide) appeared first on Simple Talk.

## Beyond Vector Indexes: Azure SQL Brings Optimizer Intelligence to Vector Search

DevFeed: [Beyond Vector Indexes: Azure SQL Brings Optimizer Intelligence to Vector Search](<https://devfeed.tech/articles/beyond-vector-indexes-azure-sql-brings-optimizer-intelligence-to-vector-search-50571.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/azure-sql/beyond-vector-indexes-azure-sql-brings-optimizer-intelligence-to-vector-search/>)

Author: Pooja Kamath

Published: 2026-08-17T11:22:09Z

Content type: article

Language: en

Sources: [Azure SQL Dev Corner](<https://devfeed.tech/sources/azure-sql-dev-corner.md>)

Topics: [Azure SQL](<https://devfeed.tech/topics/azure-sql.md>), [AI search](<https://devfeed.tech/topics/ai-search.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [Database](<https://devfeed.tech/topics/database.md>), [software-development](<https://devfeed.tech/topics/software-development.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [application](<https://devfeed.tech/tags/application.md>), [applications](<https://devfeed.tech/tags/applications.md>), [azure-openai](<https://devfeed.tech/tags/azure-openai.md>), [azure-sql](<https://devfeed.tech/tags/azure-sql.md>), [azure-sql-database](<https://devfeed.tech/tags/azure-sql-database.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [customer](<https://devfeed.tech/tags/customer.md>), [data](<https://devfeed.tech/tags/data.md>), [database](<https://devfeed.tech/tags/database.md>), [developers](<https://devfeed.tech/tags/developers.md>), [diskann](<https://devfeed.tech/tags/diskann.md>), [hyperscale](<https://devfeed.tech/tags/hyperscale.md>), [indexes](<https://devfeed.tech/tags/indexes.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [openai](<https://devfeed.tech/tags/openai.md>), [performance](<https://devfeed.tech/tags/performance.md>), [production-ai](<https://devfeed.tech/tags/production-ai.md>), [queries](<https://devfeed.tech/tags/queries.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [scale](<https://devfeed.tech/tags/scale.md>), [search](<https://devfeed.tech/tags/search.md>), [sql](<https://devfeed.tech/tags/sql.md>), [t-sql](<https://devfeed.tech/tags/t-sql.md>), [vector](<https://devfeed.tech/tags/vector.md>), [vector-index](<https://devfeed.tech/tags/vector-index.md>), [vector-search](<https://devfeed.tech/tags/vector-search.md>), [vectors](<https://devfeed.tech/tags/vectors.md>)

### AI overview

This article explains why production AI retrieval involves more than vector-index performance. It describes how Azure SQL can optimize vector search together with SQL filters, joins, security policies, ranking logic, and operational data.

### Source excerpt

Why production AI retrieval depends on more than vector index performance. It's easy to think of AI retrieval as a vector search problem. For many developers, the first conversation starts with vector index benchmarks: How many queries per second can it handle? What's the latency? What's the recall? How well does it scale? Those metrics [...] The post Beyond Vector Indexes: Azure SQL Brings Optimizer Intelligence to Vector Search appeared first on Azure SQL Dev Corner.

## How to Pass a Table Valued Parameter to a T-SQL Function with jOOQ

DevFeed: [How to Pass a Table Valued Parameter to a T-SQL Function with jOOQ](<https://devfeed.tech/articles/how-to-pass-a-table-valued-parameter-to-a-t-sql-function-with-jooq-28943.md>)

Original publisher: [Read original article](<https://blog.jooq.org/how-to-pass-a-table-valued-parameter-to-a-t-sql-function-with-jooq/>)

Author: lukaseder

Published: 2023-04-25T12:16:30Z

Content type: tutorial

Language: en

Sources: [jOOQ](<https://devfeed.tech/sources/jooq.md>)

Topics: [sql-server](<https://devfeed.tech/topics/sql-server.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [Java](<https://devfeed.tech/topics/java.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [code-generation](<https://devfeed.tech/tags/code-generation.md>), [code-generator](<https://devfeed.tech/tags/code-generator.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [java](<https://devfeed.tech/tags/java.md>), [jdbc](<https://devfeed.tech/tags/jdbc.md>), [jooq](<https://devfeed.tech/tags/jooq.md>), [jooq-in-use](<https://devfeed.tech/tags/jooq-in-use.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>), [t-sql](<https://devfeed.tech/tags/t-sql.md>), [table-valued-function](<https://devfeed.tech/tags/table-valued-function.md>), [table-valued-parameter](<https://devfeed.tech/tags/table-valued-parameter.md>)

### AI overview

This tutorial explains how to pass a Microsoft T-SQL table-valued parameter to a function using jOOQ. It covers native T-SQL and JDBC usage, then shows how jOOQ's code generator produces Java types and methods for calling the function and accessing its result rows.

### Source excerpt

Microsoft T-SQL supports a language feature called table-valued parameter (TVP), which is a parameter of a table type that can be passed to a stored procedure or function. For example, you may write: This function takes a table-valued parameter (TVP), and produces a result set containing the cross product of the parameter table with itself. ... Continue reading How to Pass a Table Valued Parameter to a T-SQL Function with jOOQ ->

## The Best Way to Call Stored Procedures from Java: With jOOQ

DevFeed: [The Best Way to Call Stored Procedures from Java: With jOOQ](<https://devfeed.tech/articles/the-best-way-to-call-stored-procedures-from-java-with-jooq-28961.md>)

Original publisher: [Read original article](<https://blog.jooq.org/the-best-way-to-call-stored-procedures-from-java-with-jooq/>)

Author: lukaseder

Published: 2022-07-28T13:11:59Z

Content type: tutorial

Language: en

Sources: [jOOQ](<https://devfeed.tech/sources/jooq.md>)

Topics: [Code generation](<https://devfeed.tech/topics/code-generation.md>), [Java](<https://devfeed.tech/topics/java.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [data-processing](<https://devfeed.tech/topics/data-processing.md>), [Server](<https://devfeed.tech/topics/server.md>)

Tags: [code-generation](<https://devfeed.tech/tags/code-generation.md>), [code-generator](<https://devfeed.tech/tags/code-generator.md>), [data-processing](<https://devfeed.tech/tags/data-processing.md>), [java](<https://devfeed.tech/tags/java.md>), [jdbc](<https://devfeed.tech/tags/jdbc.md>), [jdbc-drivers](<https://devfeed.tech/tags/jdbc-drivers.md>), [jooq](<https://devfeed.tech/tags/jooq.md>), [jooq-in-use](<https://devfeed.tech/tags/jooq-in-use.md>), [oracle](<https://devfeed.tech/tags/oracle.md>), [pl-pgsql](<https://devfeed.tech/tags/pl-pgsql.md>), [pl-sql](<https://devfeed.tech/tags/pl-sql.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [rdbms](<https://devfeed.tech/tags/rdbms.md>), [schema](<https://devfeed.tech/tags/schema.md>), [sql](<https://devfeed.tech/tags/sql.md>), [stored-functions](<https://devfeed.tech/tags/stored-functions.md>), [stored-procedures](<https://devfeed.tech/tags/stored-procedures.md>), [t-sql](<https://devfeed.tech/tags/t-sql.md>), [udts](<https://devfeed.tech/tags/udts.md>)

### AI overview

This tutorial explains how to call stored procedures from Java using jOOQ-generated code. It contrasts JDBC calls with generated procedure stubs and convenience methods, covering parameter handling, database types, and support for procedures, functions, packages, and UDTs.

### Source excerpt

jOOQ is mainly known for its powerful type safe, embedded, dynamic SQL capabilities that are made available through code generation. However, a secondary use case of code generation is to use it for stored procedures (possibly exclusively for stored procedures). Stored procedures are powerful ways of moving complex data processing logic to the server. This ... Continue reading The Best Way to Call Stored Procedures from Java: With jOOQ ->