# SQL Server

Published articles for SQL Server.

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

## Agoda Replaces 72-Shard SQL Server Price Cache with DragonflyDB

DevFeed: [Agoda Replaces 72-Shard SQL Server Price Cache with DragonflyDB](<https://devfeed.tech/articles/agoda-replaces-72-shard-sql-server-price-cache-with-dragonflydb-21543.md>)

Original publisher: [Read original article](<https://www.infoq.com/news/2026/09/agoda-price-cache-dragonflydb/>)

Author: Leela Kumili

Published: 2026-09-14T13:48:00Z

Content type: news

Language: en

Sources: [InfoQ](<https://devfeed.tech/sources/infoq.md>)

Topics: [Cache](<https://devfeed.tech/topics/cache.md>), [Caching](<https://devfeed.tech/topics/caching.md>), [migration](<https://devfeed.tech/topics/migration.md>), [sql-server](<https://devfeed.tech/topics/sql-server.md>), [Latency](<https://devfeed.tech/topics/latency.md>), [Prometheus](<https://devfeed.tech/topics/prometheus.md>)

Tags: [a-b-testing](<https://devfeed.tech/tags/a-b-testing.md>), [agoda-price-cache-dragonflydb](<https://devfeed.tech/tags/agoda-price-cache-dragonflydb.md>), [architecture-design](<https://devfeed.tech/tags/architecture-design.md>), [cache](<https://devfeed.tech/tags/cache.md>), [caching](<https://devfeed.tech/tags/caching.md>), [development](<https://devfeed.tech/tags/development.md>), [devops](<https://devfeed.tech/tags/devops.md>), [distributed-cache](<https://devfeed.tech/tags/distributed-cache.md>), [distributed-data](<https://devfeed.tech/tags/distributed-data.md>), [distributed-systems](<https://devfeed.tech/tags/distributed-systems.md>), [latency](<https://devfeed.tech/tags/latency.md>), [microservices](<https://devfeed.tech/tags/microservices.md>), [migration](<https://devfeed.tech/tags/migration.md>), [news](<https://devfeed.tech/tags/news.md>), [prometheus](<https://devfeed.tech/tags/prometheus.md>), [redis](<https://devfeed.tech/tags/redis.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>)

### AI overview

Agoda migrated its 1.5 TB hotel Price Cache from 72 Microsoft SQL Server shards to DragonflyDB. The staged migration used workload testing, dual reads, parity metrics, and gradual traffic shifting; Agoda reported substantially lower P99 read latency.

### Source excerpt

Agoda migrated its 1.5 TB hotel Price Cache from 72 SQL Server shards to DragonflyDB to handle growing read and write volumes. The migration used staged dual reads, parity validation, gradual traffic shifting, and decentralized failover detection. Agoda reports an approximately eightfold reduction in P99 read latency, with two DragonflyDB clusters providing high availability. By Leela Kumili

## Kaspersky report examines BitLocker ransomware attacks in Mexico and Colombia

DevFeed: [Kaspersky report examines BitLocker ransomware attacks in Mexico and Colombia](<https://devfeed.tech/articles/security-week-2631-23084.md>)

Original publisher: [Read original article](<https://habr.com/ru/companies/kaspersky/articles/1063376/>)

Author: Kaspersky\_Lab ("Лаборатория Касперского")

Published: 2026-07-27T19:52:29Z

Content type: news

Language: ru

Sources: ["Лаборатория Касперского" RU](<https://devfeed.tech/sources/ru-2.md>)

Topics: [Security](<https://devfeed.tech/topics/security.md>), [Windows](<https://devfeed.tech/topics/windows.md>), [sql-server](<https://devfeed.tech/topics/sql-server.md>)

Tags: [bitlocker](<https://devfeed.tech/tags/bitlocker.md>), [github](<https://devfeed.tech/tags/github.md>), [mesh](<https://devfeed.tech/tags/mesh.md>), [ransomware](<https://devfeed.tech/tags/ransomware.md>), [rdp](<https://devfeed.tech/tags/rdp.md>), [security](<https://devfeed.tech/tags/security.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>), [tag-9fe8963de219](<https://devfeed.tech/tags/tag-9fe8963de219.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

A Kaspersky report examines ransomware incidents in Mexico and Colombia in which attackers used Windows BitLocker to encrypt organizational data. The reported entry points included exposed RDP and a misconfigured Microsoft SQL Server containing credentials published in GitHub code.

### Source excerpt

Свежий отчет "Лаборатории Касперского" разбирает два недавних инцидента в Латинской Америке, в ходе которых организации стали жертвой кибервымогателей. Оба инцидента, произошедшие в мае этого года в Мексике и в июне в Колумбии, удалось подробно проанализировать, в результате чего стали понятны методы взлома корпоративной инфраструктуры, а также дальнейшие шаги киберпреступников. Примечательно, что в обоих случаях для шифрования данных с последующим требованием выкупа использовался штатный инструмент Windows, известный как BitLocker. Значок, указывающий на то, что диск зашифрован, стал первым признаком кибератаки, который заметили в организации. Точкой входа в инциденте, произошедшем в Колумбии, стала доступная из Интернета служба удаленного рабочего стола (RDP) на сервере, к которому, в свою очередь, был подключен жесткий диск объемом 8 терабайт с критически важными финансовыми данными. Злоумышленники сначала получили контроль над системой, изменили учетные данные пользователей, а затем применили шифрование. Еще одной любопытной особенностью данной атаки стала печать записки с требованием выкупа прямо на корпоративных принтерах в офисе организации. Читать далее

## How to Migrate from SQL Server to PostgreSQL HA for Dockerized Apps

DevFeed: [How to Migrate from SQL Server to PostgreSQL HA for Dockerized Apps](<https://devfeed.tech/articles/how-to-migrate-from-sql-server-to-postgresql-ha-for-dockerized-apps-19114.md>)

Original publisher: [Read original article](<https://severalnines.com/blog/how-to-migrate-from-sql-server-to-postgresql-ha-for-dockerized-apps/>)

Author: Jessie Baynas

Published: 2026-05-28T07:18:00Z

Content type: tutorial

Language: en

Sources: [SeveralNines](<https://devfeed.tech/sources/severalnines.md>)

Topics: [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [sql-server](<https://devfeed.tech/topics/sql-server.md>), [migration](<https://devfeed.tech/topics/migration.md>), [Database Migration](<https://devfeed.tech/topics/database-migration.md>), [Replication](<https://devfeed.tech/topics/replication.md>), [Docker Compose](<https://devfeed.tech/topics/docker-compose.md>), [Architecture & Design](<https://devfeed.tech/topics/architecture-design.md>), [DevOps](<https://devfeed.tech/topics/devops.md>), [Monitoring](<https://devfeed.tech/topics/monitoring.md>)

Tags: [cloud-native](<https://devfeed.tech/tags/cloud-native.md>), [database-general](<https://devfeed.tech/tags/database-general.md>), [database-migration](<https://devfeed.tech/tags/database-migration.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [devops](<https://devfeed.tech/tags/devops.md>), [failover](<https://devfeed.tech/tags/failover.md>), [migration](<https://devfeed.tech/tags/migration.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [replication](<https://devfeed.tech/tags/replication.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>), [validation](<https://devfeed.tech/tags/validation.md>)

### AI overview

This tutorial explains how to migrate a database from Microsoft SQL Server to PostgreSQL for Dockerized applications. It separates schema migration with pgloader from bulk data export using BCP and import with PostgreSQL COPY, and describes a setup involving streaming replication and ClusterControl for deployment, monitoring, and failover.

### Source excerpt

For many organizations, migrating from Microsoft SQL Server to PostgreSQL is no longer only about reducing licensing costs. The transition is often part of a broader modernization initiative focused on improving flexibility, scalability, and operational efficiency. PostgreSQL has evolved into one of the most mature open-source database platforms available today. It is widely adopted across [...] The post How to Migrate from SQL Server to PostgreSQL HA for Dockerized Apps appeared first on Severalnines.

## Introducing Apache Arrow Support in mssql-python

DevFeed: [Introducing Apache Arrow Support in mssql-python](<https://devfeed.tech/articles/introducing-apache-arrow-support-in-mssql-python-20347.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/python/introducing-apache-arrow-support-in-mssql-python/>)

Author: Saumya Garg

Published: 2026-05-04T04:33:00Z

Content type: release

Language: en

Sources: [Microsoft Python Engineering](<https://devfeed.tech/sources/microsoft-python-engineering.md>)

Topics: [sql-server](<https://devfeed.tech/topics/sql-server.md>), [data-processing](<https://devfeed.tech/topics/data-processing.md>), [interoperability](<https://devfeed.tech/topics/interoperability.md>), [data](<https://devfeed.tech/topics/data.md>), [pandas](<https://devfeed.tech/topics/pandas.md>)

Tags: [apache-arrow](<https://devfeed.tech/tags/apache-arrow.md>), [arrow](<https://devfeed.tech/tags/arrow.md>), [azure](<https://devfeed.tech/tags/azure.md>), [azure-sql](<https://devfeed.tech/tags/azure-sql.md>), [client-driver](<https://devfeed.tech/tags/client-driver.md>), [data-processing](<https://devfeed.tech/tags/data-processing.md>), [interoperability](<https://devfeed.tech/tags/interoperability.md>), [pandas](<https://devfeed.tech/tags/pandas.md>), [python](<https://devfeed.tech/tags/python.md>), [python-driver-for-azure-sql](<https://devfeed.tech/tags/python-driver-for-azure-sql.md>), [python-driver-for-sql-server](<https://devfeed.tech/tags/python-driver-for-sql-server.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>), [sql-server-2025](<https://devfeed.tech/tags/sql-server-2025.md>), [zero-copy](<https://devfeed.tech/tags/zero-copy.md>)

### AI overview

Microsoft introduces Apache Arrow support in mssql-python, enabling SQL Server data to be fetched directly into Arrow structures for Polars, Pandas, DuckDB, and other Arrow-native libraries. The approach is intended to reduce Python object creation and memory overhead during data processing.

### Source excerpt

Reviewed by Sumit Sarabhai Fetching a million rows from SQL Server into a Polars DataFrame used to mean a million Python objects, a million GC allocations, and then throwing it all away to build a DataFrame. Not anymore. mssql-python now supports fetching SQL Server data directly as Apache Arrow structures - a faster and more [...] The post Introducing Apache Arrow Support in mssql-python appeared first on Microsoft for Python Developers Blog.

## Walking Through an Unplanned Failover: SQL Server Availability Groups on Kubernetes

DevFeed: [Walking Through an Unplanned Failover: SQL Server Availability Groups on Kubernetes](<https://devfeed.tech/articles/walking-through-an-unplanned-failover-sql-server-availability-groups-on-kubernetes-17554.md>)

Original publisher: [Read original article](<https://www.nocentino.com/posts/2026-04-19-unplanned-failover-walkthrough-sql-server-kubernetes-operator/>)

Author: Anthony Nocentino

Published: 2026-04-19T15:00:00Z

Content type: tutorial

Language: en

Sources: [Kubernetes on Anthony Nocentino's Blog](<https://devfeed.tech/sources/kubernetes-on-anthony-nocentino-s-blog.md>)

Topics: [sql-server](<https://devfeed.tech/topics/sql-server.md>), [Availability](<https://devfeed.tech/topics/availability.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Databases](<https://devfeed.tech/topics/databases.md>)

Tags: [automatic](<https://devfeed.tech/tags/automatic.md>), [availability-groups](<https://devfeed.tech/tags/availability-groups.md>), [container](<https://devfeed.tech/tags/container.md>), [containers](<https://devfeed.tech/tags/containers.md>), [crash](<https://devfeed.tech/tags/crash.md>), [database](<https://devfeed.tech/tags/database.md>), [failover](<https://devfeed.tech/tags/failover.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [load](<https://devfeed.tech/tags/load.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [operator](<https://devfeed.tech/tags/operator.md>), [recovery](<https://devfeed.tech/tags/recovery.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>), [test](<https://devfeed.tech/tags/test.md>)

### AI overview

This walkthrough tests unplanned SQL Server Availability Group failover on Kubernetes by force-deleting the current primary pod under idle and sustained HammerDB TPC-C load. Across six force-deletes, the operator automatically promoted new primaries and restored all three replicas, with the article examining detection, recovery behavior, logs, and timing.

### Source excerpt

In my planned failover walkthrough, I showed what happens when you deliberately move the primary role to another replica. That's the easy case. Now I want to show what happens when the primary pod just disappears unexpectedly, like during a node failure or a container crash. No graceful shutdown, no demotion, just gone. I ran two test scenarios, each cycling the primary role across all three pods by force-deleting the current primary three times in a row. First, a 5GB TPC-C database idle. Then, that same 5GB database under sustained HammerDB TPC-C load. Six force-deletes total, six successful automatic failovers. I'll walk through the error log from the promoted replica, the operator's detection and recovery behavior, and the full timing data.

## Walking Through a Planned Failover: SQL Server Always On Availability Groups on Kubernetes

DevFeed: [Walking Through a Planned Failover: SQL Server Always On Availability Groups on Kubernetes](<https://devfeed.tech/articles/walking-through-a-planned-failover-sql-server-always-on-availability-groups-on-kubernetes-17553.md>)

Original publisher: [Read original article](<https://www.nocentino.com/posts/2026-04-19-planned-failover-walkthrough-sql-server-kubernetes-operator/>)

Author: Anthony Nocentino

Published: 2026-04-19T05:00:00Z

Content type: tutorial

Language: en

Sources: [Kubernetes on Anthony Nocentino's Blog](<https://devfeed.tech/sources/kubernetes-on-anthony-nocentino-s-blog.md>)

Topics: [sql-server](<https://devfeed.tech/topics/sql-server.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Availability](<https://devfeed.tech/topics/availability.md>)

Tags: [availability-groups](<https://devfeed.tech/tags/availability-groups.md>), [containers](<https://devfeed.tech/tags/containers.md>), [failover](<https://devfeed.tech/tags/failover.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [operator](<https://devfeed.tech/tags/operator.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>)

### AI overview

A walkthrough of planned failover rotation for a three-replica SQL Server Availability Group managed by sql-on-k8s-operator on Kubernetes. It examines SQL Server error logs, operator reconciliation behavior, and timing under both an idle database and a sustained TPC-C workload.

### Source excerpt

When building the sql-on-k8s-operator, I wanted to make sure it could handle both planned and unplanned failovers. The easy case is a planned failover, where you deliberately move the primary role to another replica. The harder case is an unplanned failover, where the primary pod just disappears. The operator needs to handle both. I recently ran a full planned failover rotation on a three-replica SQL Server Availability Group managed by sql-on-k8s-operator, and I want to show you exactly what happens inside SQL Server and the operator during each hop. If you've been following my Introducing the SQL Server on Kubernetes Operator post, this is the logical next step: what does the error log actually look like during a planned failover, what does the operator do in response, and how long does the whole thing take?

## Introducing the SQL Server on Kubernetes Operator

DevFeed: [Introducing the SQL Server on Kubernetes Operator](<https://devfeed.tech/articles/introducing-the-sql-server-on-kubernetes-operator-17552.md>)

Original publisher: [Read original article](<https://www.nocentino.com/posts/2026-04-12-introducing-sql-on-k8s-operator/>)

Author: Anthony Nocentino

Published: 2026-04-12T05:00:00Z

Content type: tutorial

Language: en

Sources: [Kubernetes on Anthony Nocentino's Blog](<https://devfeed.tech/sources/kubernetes-on-anthony-nocentino-s-blog.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [sql-server](<https://devfeed.tech/topics/sql-server.md>), [Availability](<https://devfeed.tech/topics/availability.md>), [Disaster Recovery](<https://devfeed.tech/topics/disaster-recovery.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [automated](<https://devfeed.tech/tags/automated.md>), [automatic](<https://devfeed.tech/tags/automatic.md>), [availability](<https://devfeed.tech/tags/availability.md>), [availability-groups](<https://devfeed.tech/tags/availability-groups.md>), [containers](<https://devfeed.tech/tags/containers.md>), [disaster-recovery](<https://devfeed.tech/tags/disaster-recovery.md>), [failover](<https://devfeed.tech/tags/failover.md>), [high-availability](<https://devfeed.tech/tags/high-availability.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [operator](<https://devfeed.tech/tags/operator.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>)

### AI overview

This tutorial introduces sql-on-k8s-operator, an open-source Kubernetes operator for managing SQL Server workloads. It addresses high availability and disaster recovery by automating lifecycle management, failover, and Always On Availability Group setup, and demonstrates deployment with custom resources.

### Source excerpt

Are you considering replatforming your SQL Server workload due to recent vendor changes, but still need high availability and disaster recovery? You're not alone. One of the challenges with running SQL Server on Kubernetes is that there's no Kubernetes operator available. That means no automated lifecycle management, no automatic failover, and no standard way to bootstrap an Always On Availability Group on Kubernetes. I'm excited to share it today as an open-source project: sql-on-k8s-operator. Let's go.

## Write SQL Your Way: Dual Parameter Style Benefits in mssql-python

DevFeed: [Write SQL Your Way: Dual Parameter Style Benefits in mssql-python](<https://devfeed.tech/articles/write-sql-your-way-dual-parameter-style-benefits-in-mssql-python-20356.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/python/write-sql-your-way-dual-parameter-style-benefits-in-mssql-python/>)

Author: Jahnvi Thakkar

Published: 2026-04-07T16:12:05Z

Content type: article

Language: en

Sources: [Microsoft Python Engineering](<https://devfeed.tech/sources/microsoft-python-engineering.md>)

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

Tags: [azure](<https://devfeed.tech/tags/azure.md>), [azure-sql](<https://devfeed.tech/tags/azure-sql.md>), [client-driver](<https://devfeed.tech/tags/client-driver.md>), [code](<https://devfeed.tech/tags/code.md>), [developers](<https://devfeed.tech/tags/developers.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [python](<https://devfeed.tech/tags/python.md>), [python-driver-for-azure-sql](<https://devfeed.tech/tags/python-driver-for-azure-sql.md>), [python-driver-for-sql-server](<https://devfeed.tech/tags/python-driver-for-sql-server.md>), [sql](<https://devfeed.tech/tags/sql.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>), [sql-server-2025](<https://devfeed.tech/tags/sql-server-2025.md>)

### AI overview

Microsoft's mssql-python driver now supports both qmark positional parameters and pyformat named parameters for Python applications using SQL Server and Azure SQL. The driver automatically detects the parameter style from the supplied tuple, list, or dictionary, while preserving existing qmark code without configuration changes.

### Source excerpt

Reviewed by: Sumit Sarabhai If you've been writing SQL in Python, you already know the debate: positional parameters (?) or named parameters (%(name)s)? Some developers swear by the conciseness of positional. Others prefer the clarity of named. With mssql-python, you no longer need to choose - we support both. We've added dual parameter style support to mssql-python, enabling both qmark and pyformat parameter styles in Python [...] The post Write SQL Your Way: Dual Parameter Style Benefits in mssql-python appeared first on Microsoft for Python Developers Blog.

## MOLT: A Toolkit for Migrations You Can Trust

DevFeed: [MOLT: A Toolkit for Migrations You Can Trust](<https://devfeed.tech/articles/molt-a-toolkit-for-migrations-you-can-trust-23795.md>)

Original publisher: [Read original article](<https://cockroachlabs.com/blog/molt-migrations-you-can-trust>)

Author: Becca Weng

Published: 2026-01-21T00:00:00Z

Content type: article

Language: en

Sources: [Cockroach Labs](<https://devfeed.tech/sources/cockroach-labs.md>)

Topics: [migration](<https://devfeed.tech/topics/migration.md>), [CockroachDB](<https://devfeed.tech/topics/cockroachdb.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [Replication](<https://devfeed.tech/topics/replication.md>), [Scalability](<https://devfeed.tech/topics/scalability.md>), [Parsing](<https://devfeed.tech/topics/parsing.md>)

Tags: [cockroachdb](<https://devfeed.tech/tags/cockroachdb.md>), [database](<https://devfeed.tech/tags/database.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [insights](<https://devfeed.tech/tags/insights.md>), [migrations](<https://devfeed.tech/tags/migrations.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [oracle](<https://devfeed.tech/tags/oracle.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [scalability](<https://devfeed.tech/tags/scalability.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>), [tools](<https://devfeed.tech/tags/tools.md>)

### AI overview

This article presents Cockroach Labs' MOLT toolkit for migrating databases to CockroachDB. It describes schema conversion, bulk data transfer, verification, and live replication as parts of a modular migration workflow.

### Source excerpt

Migrating a database is always a high-stakes operation. Downtime, data correctness, data loss, and customer experience are all on the line. Not to mention the business risk if a migration goes poorly. While there are a number of third-party tools that support data migration to CockroachDB, we have the expertise and insights into our product. We knew we could make migrations as efficient as possible in-house.

## Comparing Integers and Doubles

DevFeed: [Comparing Integers and Doubles](<https://devfeed.tech/articles/comparing-integers-and-doubles-25089.md>)

Original publisher: [Read original article](<https://databasearchitects.blogspot.com/2025/11/comparing-integers-and-doubles.html>)

Author: Thomas Neumann (noreply@blogger.com)

Published: 2025-11-10T16:55:00Z

Content type: article

Language: en

Sources: [Database Architects](<https://devfeed.tech/sources/database-architects.md>)

Topics: [floating-point](<https://devfeed.tech/topics/floating-point.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [DuckDB](<https://devfeed.tech/topics/duckdb.md>), [sql-server](<https://devfeed.tech/topics/sql-server.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [C++](<https://devfeed.tech/topics/c-plus-plus.md>)

Tags: [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [duckdb](<https://devfeed.tech/tags/duckdb.md>), [floating-point](<https://devfeed.tech/tags/floating-point.md>), [precision](<https://devfeed.tech/tags/precision.md>), [sql](<https://devfeed.tech/tags/sql.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>), [testing](<https://devfeed.tech/tags/testing.md>), [undefined-behavior](<https://devfeed.tech/tags/undefined-behavior.md>)

### AI overview

The article explains how comparing large integers with double-precision values can lose integer precision and produce non-transitive results in SQL systems. It describes how this can cause differences between ordinary comparisons and hash joins, and outlines a conversion-based approach for correct comparisons.

### Source excerpt

During automated testing we stumbled upon a problem that boiled down to transitive comparisons: If a=b, and a=c, when we assumed that b=c. Unfortunately that is not always the case, at least not in all systems. Consider the following SQL query: select a=b, a=c, b=c from (values( 1234567890123456789.0::double precision, 1234567890123456788::bigint, 1234567890123456789::bigint)) s(a,b,c) If you execute that in Postgres (or DuckDB, or SQL Server, or ...) the answer is (true, true, false). That is, the comparison is not transitive! Why does that happen? When these systems compare a bigint and a double, they promote the bigint to double and then compare. But a double has only 52 bits of mantissa, which means it will lose precision when promoting large integers to double, producing false positives in the comparison. This behavior is highly undesirable, first because it confuses the optimizer, and second because (at least in our system) joins work very differently: Hash joins promote to the most restrictive type and discard all values that cannot be represented, as they will never produce a join partner for sure. For double/bigint joins that leads to observable differences between joins and plain comparisons, which is very bad. How should we compare correctly? Conceptually the situation is clear, an IEEE 754 floating point with sign s, mantissa m, and exponent e represents the values (-1)^s*m*2^e, we just have to compare the integer with that value. But there is no easy way to do that, if we do a int/double comparison in, e.g., C++, the compiler does the same promotion to double, messing up the comparison. We can get the logic right by doing two conversions: We first convert the int to double and compare that. If the values are not equal, the order is clear and we can use that. Otherwise, we convert the double back to an integer and check if the conversion rounded up or down, and handle the result. Plus some extra checks to avoid undefined behavior (the conversion of intma

## Simplifying Resource Management in mssql-python through Context Manager

DevFeed: [Simplifying Resource Management in mssql-python through Context Manager](<https://devfeed.tech/articles/simplifying-resource-management-in-mssql-python-through-context-manager-20355.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/python/simplifying-resource-management-in-mssql-python-through-context-manager/>)

Author: Jahnvi Thakkar

Published: 2025-09-26T09:49:51Z

Content type: tutorial

Language: en

Sources: [Microsoft Python Engineering](<https://devfeed.tech/sources/microsoft-python-engineering.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [sql-server](<https://devfeed.tech/topics/sql-server.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [Exception](<https://devfeed.tech/topics/exception.md>)

Tags: [azure](<https://devfeed.tech/tags/azure.md>), [azure-sql](<https://devfeed.tech/tags/azure-sql.md>), [cleanup](<https://devfeed.tech/tags/cleanup.md>), [client-driver](<https://devfeed.tech/tags/client-driver.md>), [databases](<https://devfeed.tech/tags/databases.md>), [exception-handling](<https://devfeed.tech/tags/exception-handling.md>), [python](<https://devfeed.tech/tags/python.md>), [python-driver-for-azure-sql](<https://devfeed.tech/tags/python-driver-for-azure-sql.md>), [python-driver-for-sql-server](<https://devfeed.tech/tags/python-driver-for-sql-server.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>), [sql-server-2025](<https://devfeed.tech/tags/sql-server-2025.md>), [transactions](<https://devfeed.tech/tags/transactions.md>)

### AI overview

This tutorial explains context manager support in the mssql-python driver for Python applications using SQL Server and Azure SQL. It describes how context managers manage connections and cursors, commit successful transactions, roll back transactions when exceptions occur, and close connections automatically.

### Source excerpt

Reviewed by: Sumit Sarabhai and Gaurav Sharma If you've worked with databases in Python, you know the boilerplate: open a connection, create a cursor, run queries, commit or rollback transactions, close cursors and connection. Forgetting just one cleanup step can lead to resource leaks (open connections) or even inconsistent data. That's where context managers step [...] The post Simplifying Resource Management in mssql-python through Context Manager appeared first on Microsoft for Python Developers Blog.

## Think About SQL MERGE in Terms of a RIGHT JOIN

DevFeed: [Think About SQL MERGE in Terms of a RIGHT JOIN](<https://devfeed.tech/articles/think-about-sql-merge-in-terms-of-a-right-join-28967.md>)

Original publisher: [Read original article](<https://blog.jooq.org/think-about-sql-merge-in-terms-of-a-right-join/>)

Author: lukaseder

Published: 2025-03-13T14:45:53Z

Content type: tutorial

Language: en

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

Topics: [SQL](<https://devfeed.tech/topics/sql.md>), [etl](<https://devfeed.tech/topics/etl.md>), [rdbms](<https://devfeed.tech/topics/rdbms.md>)

Tags: [databricks](<https://devfeed.tech/tags/databricks.md>), [etl](<https://devfeed.tech/tags/etl.md>), [firebird](<https://devfeed.tech/tags/firebird.md>), [merge](<https://devfeed.tech/tags/merge.md>), [outer-join](<https://devfeed.tech/tags/outer-join.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [right-join](<https://devfeed.tech/tags/right-join.md>), [schema](<https://devfeed.tech/tags/schema.md>), [semantics](<https://devfeed.tech/tags/semantics.md>), [source](<https://devfeed.tech/tags/source.md>), [sql](<https://devfeed.tech/tags/sql.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>), [statement](<https://devfeed.tech/tags/statement.md>), [syntax](<https://devfeed.tech/tags/syntax.md>), [table](<https://devfeed.tech/tags/table.md>), [target-table](<https://devfeed.tech/tags/target-table.md>), [when-matched](<https://devfeed.tech/tags/when-matched.md>), [when-not-matched](<https://devfeed.tech/tags/when-not-matched.md>), [when-not-matched-by-source](<https://devfeed.tech/tags/when-not-matched-by-source.md>)

### AI overview

The article explains SQL MERGE by relating its target-and-source behavior to a RIGHT JOIN. It covers updating matching rows, inserting nonmatching rows, deletion behavior, and the restriction against duplicate matches.

### Source excerpt

RIGHT JOIN is an esoteric feature in the SQL language, and hardly ever seen in the real world, because almost every RIGHT JOIN can just be expressed as an equivalent LEFT JOIN. The following two statements are equivalent: It's not unreasonable to expect these two statements to produce the same execution plan on most RDBMS, ... Continue reading Think About SQL MERGE in Terms of a RIGHT JOIN ->

## An Efficient Way to Check for Existence of Multiple Values in SQL

DevFeed: [An Efficient Way to Check for Existence of Multiple Values in SQL](<https://devfeed.tech/articles/an-efficient-way-to-check-for-existence-of-multiple-values-in-sql-28931.md>)

Original publisher: [Read original article](<https://blog.jooq.org/an-efficient-way-to-check-for-existence-of-multiple-values-in-sql/>)

Author: lukaseder

Published: 2024-02-16T14:16:45Z

Content type: tutorial

Language: en

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

Topics: [SQL](<https://devfeed.tech/topics/sql.md>), [Benchmark](<https://devfeed.tech/topics/benchmark.md>), [Oracle Database](<https://devfeed.tech/topics/oracle-database.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>)

Tags: [benchmark](<https://devfeed.tech/tags/benchmark.md>), [benchmarking](<https://devfeed.tech/tags/benchmarking.md>), [compare](<https://devfeed.tech/tags/compare.md>), [count](<https://devfeed.tech/tags/count.md>), [database](<https://devfeed.tech/tags/database.md>), [derived-table](<https://devfeed.tech/tags/derived-table.md>), [execution](<https://devfeed.tech/tags/execution.md>), [exists](<https://devfeed.tech/tags/exists.md>), [join](<https://devfeed.tech/tags/join.md>), [limit](<https://devfeed.tech/tags/limit.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [oracle](<https://devfeed.tech/tags/oracle.md>), [oracle-23c](<https://devfeed.tech/tags/oracle-23c.md>), [performance](<https://devfeed.tech/tags/performance.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [rdbms](<https://devfeed.tech/tags/rdbms.md>), [sql](<https://devfeed.tech/tags/sql.md>), [sql-performance](<https://devfeed.tech/tags/sql-performance.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>), [sql-syntax](<https://devfeed.tech/tags/sql-syntax.md>), [top](<https://devfeed.tech/tags/top.md>)

### AI overview

This article explains how to check whether multiple matching rows exist in SQL. It recommends limiting rows in a derived table before counting them, then compares execution plans and benchmark results for PostgreSQL 15 and Oracle 23c.

### Source excerpt

In a previous blog post, we've advertised the use of SQL EXISTS rather than COUNT(*) to check for existence of a value in SQL. I.e. to check if in the Sakila database, actors called WAHLBERG have played in any films, instead of: Do this: (Depending on your dialect you may require a FROM DUAL clause, ... Continue reading An Efficient Way to Check for Existence of Multiple Values in SQL ->

## Can Debezium Lose Events?

DevFeed: [Can Debezium Lose Events?](<https://devfeed.tech/articles/can-debezium-lose-events-18805.md>)

Original publisher: [Read original article](<https://www.morling.dev/blog/can-debezium-lose-events/>)

Published: 2023-11-14T14:00:00Z

Content type: article

Language: en

Sources: [Gunnar Morling](<https://devfeed.tech/sources/gunnar-morling.md>)

Topics: [data observability](<https://devfeed.tech/topics/data-observability.md>), [Replication](<https://devfeed.tech/topics/replication.md>), [Database](<https://devfeed.tech/topics/database.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [MySQL](<https://devfeed.tech/topics/mysql.md>), [Amazon RDS](<https://devfeed.tech/topics/amazon-rds.md>)

Tags: [amazon-rds](<https://devfeed.tech/tags/amazon-rds.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [data-engineering](<https://devfeed.tech/tags/data-engineering.md>), [database](<https://devfeed.tech/tags/database.md>), [disk-space](<https://devfeed.tech/tags/disk-space.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [replication](<https://devfeed.tech/tags/replication.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>)

### AI overview

The article explains that Debezium should generally not miss database change events because its delivery semantics are at-least-once. Event loss can occur when operational issues cause required transaction-log data to be discarded before a connector captures it, such as when retention limits are exceeded during extended downtime. It discusses retention behavior for MySQL, Amazon RDS, SQL Server, and PostgreSQL replication slots.

### Source excerpt

This question came up on the Data Engineering sub-reddit the other day: Can Debezium lose any events? I.e. can there be a situation where a record in a database get inserted, updated, or deleted, but Debezium fails to capture that event from the transaction log and propagate it to downstream consumers?

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

## Application Security Roundup - Feb

DevFeed: [Application Security Roundup - Feb](<https://devfeed.tech/articles/application-security-roundup-feb-36677.md>)

Original publisher: [Read original article](<https://shostack.org/blog/appsec-roundup-feb/>)

Author: Adam

Published: 2023-02-27T00:00:00Z

Content type: article

Language: en

Sources: [Shostack & Friends Blog](<https://devfeed.tech/sources/shostack-friends-blog.md>)

Topics: [Application Security](<https://devfeed.tech/topics/application-security.md>), [Memory Safety](<https://devfeed.tech/topics/memory-safety.md>), [Microsoft](<https://devfeed.tech/topics/microsoft.md>), [Android](<https://devfeed.tech/topics/android.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [C++](<https://devfeed.tech/topics/c-plus-plus.md>), [Azure SQL](<https://devfeed.tech/topics/azure-sql.md>), [sql-server](<https://devfeed.tech/topics/sql-server.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [application-security](<https://devfeed.tech/tags/application-security.md>), [azure-sql](<https://devfeed.tech/tags/azure-sql.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [linux](<https://devfeed.tech/tags/linux.md>), [memory-safety](<https://devfeed.tech/tags/memory-safety.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [security](<https://devfeed.tech/tags/security.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>)

### AI overview

This February application security roundup focuses on memory safety, including progress and commentary involving Microsoft, Google, Apple, Linux, Android 13, and ISO C++. It also covers AppSec Dublin trip reports, Azure variant hunting, and repudiation threats in Azure SQL Database and SQL Server.

### Source excerpt

This month is all about memory safety, unless you're a standards group.

## LATERAL is Your Friend to Create Local Column Variables in SQL

DevFeed: [LATERAL is Your Friend to Create Local Column Variables in SQL](<https://devfeed.tech/articles/lateral-is-your-friend-to-create-local-column-variables-in-sql-28955.md>)

Original publisher: [Read original article](<https://blog.jooq.org/lateral-is-your-friend-to-create-local-column-variables-in-sql/>)

Author: lukaseder

Published: 2022-11-04T08:56:17Z

Content type: tutorial

Language: en

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

Topics: [SQL](<https://devfeed.tech/topics/sql.md>), [Databases](<https://devfeed.tech/topics/databases.md>)

Tags: [apply](<https://devfeed.tech/tags/apply.md>), [cross-apply](<https://devfeed.tech/tags/cross-apply.md>), [cross-join-lateral](<https://devfeed.tech/tags/cross-join-lateral.md>), [derived-table](<https://devfeed.tech/tags/derived-table.md>), [examples](<https://devfeed.tech/tags/examples.md>), [lateral](<https://devfeed.tech/tags/lateral.md>), [lateral-derived-table](<https://devfeed.tech/tags/lateral-derived-table.md>), [local-variables](<https://devfeed.tech/tags/local-variables.md>), [oracle](<https://devfeed.tech/tags/oracle.md>), [outer-apply](<https://devfeed.tech/tags/outer-apply.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [sql](<https://devfeed.tech/tags/sql.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>), [variables](<https://devfeed.tech/tags/variables.md>)

### AI overview

This article explains how SQL's LATERAL clause can be used to define local column variables next to the tables that provide their values. It compares this approach with derived tables and notes database-specific syntax, including SQL Server's CROSS APPLY.

### Source excerpt

The standard SQL WITH clause has been tremendously helpful in structuring SQL queries. Instead of nesting everything in unreadable derived tables like this: People have started moving the logic up front, just like in any other programming language, where we declare things first, lexically, then use them: Both queries will produce the 5 actors with ... Continue reading LATERAL is Your Friend to Create Local Column Variables in SQL ->

## Calling Procedures with Default Parameters using JDBC or jOOQ

DevFeed: [Calling Procedures with Default Parameters using JDBC or jOOQ](<https://devfeed.tech/articles/calling-procedures-with-default-parameters-using-jdbc-or-jooq-28932.md>)

Original publisher: [Read original article](<https://blog.jooq.org/calling-procedures-with-default-parameters-using-jdbc-or-jooq/>)

Author: lukaseder

Published: 2022-10-21T14:35:39Z

Content type: tutorial

Language: en

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

Topics: [Code](<https://devfeed.tech/topics/code.md>), [Reason](<https://devfeed.tech/topics/reason.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [Oracle Database](<https://devfeed.tech/topics/oracle-database.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>)

Tags: [db2](<https://devfeed.tech/tags/db2.md>), [default-parameters](<https://devfeed.tech/tags/default-parameters.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>), [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>), [sql-server](<https://devfeed.tech/tags/sql-server.md>), [stored-functions](<https://devfeed.tech/tags/stored-functions.md>), [stored-procedures](<https://devfeed.tech/tags/stored-procedures.md>), [syntax](<https://devfeed.tech/tags/syntax.md>)

### AI overview

This tutorial explains how to call stored procedures with default parameters using JDBC or jOOQ. It shows how directly instantiating a procedure call allows Java code to omit parameters that have database-side defaults, and notes that syntax varies across supported relational database systems.

### Source excerpt

Using jOOQ's code generator to call stored procedures is a popular reason to use jOOQ. For example, when you have a procedure like the following Oracle PL/SQL procedure: jOOQ will generate code for you to call very simply, like this: This will execute the following, taking care of binding all IN and OUT parameters for ... Continue reading Calling Procedures with Default Parameters using JDBC or jOOQ ->

## Pre-Conference Workshop and Sessions at PASS Summit

DevFeed: [Pre-Conference Workshop and Sessions at PASS Summit](<https://devfeed.tech/articles/pre-conference-workshop-and-sessions-at-pass-summit-17545.md>)

Original publisher: [Read original article](<https://www.nocentino.com/posts/2022-10-16-pre-conference-workshop-and-sessions-at-pass-summit/>)

Author: Anthony Nocentino

Published: 2022-10-16T14:13:18Z

Content type: news

Language: en

Sources: [Kubernetes on Anthony Nocentino's Blog](<https://devfeed.tech/sources/kubernetes-on-anthony-nocentino-s-blog.md>)

Topics: [pass](<https://devfeed.tech/topics/password-store.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>), [Azure](<https://devfeed.tech/topics/azure.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [sql-server](<https://devfeed.tech/topics/sql-server.md>), [data](<https://devfeed.tech/topics/data.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>), [Disaster Recovery](<https://devfeed.tech/topics/disaster-recovery.md>), [Availability](<https://devfeed.tech/topics/availability.md>), [Microsoft](<https://devfeed.tech/topics/microsoft.md>)

Tags: [announce](<https://devfeed.tech/tags/announce.md>), [availability](<https://devfeed.tech/tags/availability.md>), [azure](<https://devfeed.tech/tags/azure.md>), [azure-arc](<https://devfeed.tech/tags/azure-arc.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [community](<https://devfeed.tech/tags/community.md>), [conference](<https://devfeed.tech/tags/conference.md>), [data](<https://devfeed.tech/tags/data.md>), [disaster-recovery](<https://devfeed.tech/tags/disaster-recovery.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [linux](<https://devfeed.tech/tags/linux.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [sql](<https://devfeed.tech/tags/sql.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>), [training](<https://devfeed.tech/tags/training.md>)

### AI overview

The author announces three presentations at PASS Data Community Summit 2022: a pre-conference workshop on designing hybrid cloud strategies, a regular session on cloud data infrastructure, and a Learning Path session.

### Source excerpt

I'm pleased to announce that I will be presenting at this year's PASS Summit. PASS Data Community Summit 2022 is the year's largest gathering of data platform professionals in the US. This year I have a pre-conference workshop, a regular session, and a Learning Path session. Let's dive into each. Pre-Conference Workshop: Become a Hybrid Architect My good friend Ben E. Weissman and I will teach a pre-conference workshop called "Become a Hybrid Architect" in this workshop we will cover the foundations needed to design and build a hybrid cloud strategy for your organization.

## How to Connect to Microsoft SQL Server Remotely Using Teleport

DevFeed: [How to Connect to Microsoft SQL Server Remotely Using Teleport](<https://devfeed.tech/articles/how-to-connect-to-microsoft-sql-server-remotely-using-teleport-29614.md>)

Original publisher: [Read original article](<https://goteleport.com/blog/connect-microsoft-sql-remotely/>)

Author: travis.rodgers@goteleport.com (Travis Rodgers)

Published: 2022-09-20T00:00:00Z

Content type: tutorial

Language: en

Sources: [Teleport](<https://devfeed.tech/sources/teleport.md>)

Topics: [sql-server](<https://devfeed.tech/topics/sql-server.md>), [active directory](<https://devfeed.tech/topics/active-directory.md>), [audit](<https://devfeed.tech/topics/audit.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [Security](<https://devfeed.tech/topics/security.md>), [Firewall](<https://devfeed.tech/topics/firewall.md>), [VPC](<https://devfeed.tech/topics/vpc.md>)

Tags: [active-directory](<https://devfeed.tech/tags/active-directory.md>), [audit](<https://devfeed.tech/tags/audit.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [firewall](<https://devfeed.tech/tags/firewall.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [security](<https://devfeed.tech/tags/security.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>), [vpc](<https://devfeed.tech/tags/vpc.md>)

### AI overview

This tutorial explains how to connect to Microsoft SQL Server remotely using Teleport and Active Directory authentication. It recommends Windows authentication, limiting public exposure through network isolation, and enabling auditing for logins, sessions, and SQL queries.

### Source excerpt

In this blog post, we'll look at how to connect to Microsoft SQL Server remotely using Teleport and Active Directory Authentication.

## Using H2 as a Test Database Product with jOOQ

DevFeed: [Using H2 as a Test Database Product with jOOQ](<https://devfeed.tech/articles/using-h2-as-a-test-database-product-with-jooq-28969.md>)

Original publisher: [Read original article](<https://blog.jooq.org/using-h2-as-a-test-database-product/>)

Author: lukaseder

Published: 2022-08-19T07:25:43Z

Content type: tutorial

Language: en

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

Topics: [in-memory database](<https://devfeed.tech/topics/in-memory-database.md>), [Testing](<https://devfeed.tech/topics/testing.md>), [Java](<https://devfeed.tech/topics/java.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [sql-server](<https://devfeed.tech/topics/sql-server.md>)

Tags: [compatibility-mode](<https://devfeed.tech/tags/compatibility-mode.md>), [database](<https://devfeed.tech/tags/database.md>), [h2](<https://devfeed.tech/tags/h2.md>), [in-memory-database](<https://devfeed.tech/tags/in-memory-database.md>), [integration-testing](<https://devfeed.tech/tags/integration-testing.md>), [java](<https://devfeed.tech/tags/java.md>), [jooq](<https://devfeed.tech/tags/jooq.md>), [jooq-in-use](<https://devfeed.tech/tags/jooq-in-use.md>), [sql](<https://devfeed.tech/tags/sql.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>), [testcontainers](<https://devfeed.tech/tags/testcontainers.md>), [testing](<https://devfeed.tech/tags/testing.md>), [vendor-agnosticity](<https://devfeed.tech/tags/vendor-agnosticity.md>)

### AI overview

This article explains the trade-offs of using H2 as a test database for Java applications with jOOQ. It shows why SQL that works on H2 may require syntax changes on SQL Server, describes H2 compatibility modes, and notes that jOOQ generates SQL for H2's native dialect rather than its compatibility modes.

### Source excerpt

The H2 database is an immensely popular in-memory database product mostly used by Java developers for testing. If you check out the DB-Engines ranking, it ranks 50th, which is quite impressive, as this rank outperforms products like: CockroachDB Ignite Single Store (previously MemSQL) Interbase (which was forked as Firebird) Ingres (which is a predecessor to ... Continue reading Using H2 as a Test Database Product with jOOQ ->

## Securing Microsoft SQL Server

DevFeed: [Securing Microsoft SQL Server](<https://devfeed.tech/articles/securing-microsoft-sql-server-29825.md>)

Original publisher: [Read original article](<https://goteleport.com/blog/secure-mssql/>)

Author: info@goteleport.com (Kainaat Arshad)

Published: 2022-07-22T00:00:00Z

Content type: tutorial

Language: en

Sources: [Teleport](<https://devfeed.tech/sources/teleport.md>)

Topics: [sql-server](<https://devfeed.tech/topics/sql-server.md>), [Security](<https://devfeed.tech/topics/security.md>), [Vulnerabilities](<https://devfeed.tech/topics/vulnerabilities.md>)

Tags: [best-practices](<https://devfeed.tech/tags/best-practices.md>), [compliance](<https://devfeed.tech/tags/compliance.md>), [hardening](<https://devfeed.tech/tags/hardening.md>), [security](<https://devfeed.tech/tags/security.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>)

### AI overview

An overview of standard practices for securing and hardening Microsoft SQL Server deployments across network, transport, and database levels. It explains risks including weak default settings, SQL injection, denial-of-service attacks, verbose error messages, and compliance gaps.

### Source excerpt

An overview of best practices for securing and hardening MS SQL deployments.

## The Performance of Various To-Many Nesting Algorithms

DevFeed: [The Performance of Various To-Many Nesting Algorithms](<https://devfeed.tech/articles/the-performance-of-various-to-many-nesting-algorithms-28965.md>)

Original publisher: [Read original article](<https://blog.jooq.org/the-performance-of-various-to-many-nesting-algorithms/>)

Author: lukaseder

Published: 2022-06-09T10:15:50Z

Content type: article

Language: en

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

Topics: [Benchmark](<https://devfeed.tech/topics/benchmark.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [Object-relational mapping](<https://devfeed.tech/topics/orm.md>)

Tags: [benchmark](<https://devfeed.tech/tags/benchmark.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [database](<https://devfeed.tech/tags/database.md>), [java](<https://devfeed.tech/tags/java.md>), [jooq](<https://devfeed.tech/tags/jooq.md>), [jooq-development](<https://devfeed.tech/tags/jooq-development.md>), [json-arrayagg](<https://devfeed.tech/tags/json-arrayagg.md>), [many-to-many](<https://devfeed.tech/tags/many-to-many.md>), [multiset](<https://devfeed.tech/tags/multiset.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [nested-collections](<https://devfeed.tech/tags/nested-collections.md>), [one-to-many](<https://devfeed.tech/tags/one-to-many.md>), [oracle](<https://devfeed.tech/tags/oracle.md>), [ordbms](<https://devfeed.tech/tags/ordbms.md>), [performance](<https://devfeed.tech/tags/performance.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [sql](<https://devfeed.tech/tags/sql.md>), [sql-json](<https://devfeed.tech/tags/sql-json.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>), [sql-xml](<https://devfeed.tech/tags/sql-xml.md>), [test-data](<https://devfeed.tech/tags/test-data.md>)

### AI overview

This article benchmarks several approaches to nesting to-many relationships with jOOQ, including MULTISET emulation, single joins with client-side deduplication, and multiple queries per nesting level. It reports that these approaches outperform the N+1 approach, with relative performance depending on data size and use case.

### Source excerpt

It's been a while since jOOQ 3.15 has been released with its revolutionary standard SQL MULTISET emulation feature. A thing that has been long overdue and which I promised on twitter a few times is to run a few benchmarks comparing the performance of various approaches to nesting to-many relationships with jOOQ. This article will ... Continue reading The Performance of Various To-Many Nesting Algorithms ->

## Intro to SQL for the New Grad Developer

DevFeed: [Intro to SQL for the New Grad Developer](<https://devfeed.tech/articles/intro-to-sql-for-the-new-grad-developer-21816.md>)

Original publisher: [Read original article](<https://www.thepolyglotdeveloper.com/blog/2022/06/intro-sql-new-grad-developer/>)

Author: Brandon Raboy

Published: 2022-06-08T13:00:00Z

Content type: tutorial

Language: en

Sources: [Nic Raboy](<https://devfeed.tech/sources/nic-raboy.md>)

Topics: [SQL](<https://devfeed.tech/topics/sql.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [MySQL](<https://devfeed.tech/topics/mysql.md>), [Oracle Database](<https://devfeed.tech/topics/oracle-database.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [sql-server](<https://devfeed.tech/topics/sql-server.md>)

Tags: [databases](<https://devfeed.tech/tags/databases.md>), [developer](<https://devfeed.tech/tags/developer.md>), [guide](<https://devfeed.tech/tags/guide.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [oracle](<https://devfeed.tech/tags/oracle.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [rdbms](<https://devfeed.tech/tags/rdbms.md>), [sql](<https://devfeed.tech/tags/sql.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>), [syntax](<https://devfeed.tech/tags/syntax.md>)

### AI overview

A beginner-oriented guide to SQL for new graduate developers. It explains SQL's role in accessing and manipulating databases, surveys MySQL, PostgreSQL, Oracle, and SQL Server, and introduces syntax differences, EXPLAIN, query runtime, and example problems.

### Source excerpt

Ever since studying and working with databases 6 months ago, I've become fascinated with SQL and its relatively simple syntax. As a guide to the reader, I've gathered the essential criteria that emplo... The post Intro to SQL for the New Grad Developer appeared first on The Polyglot Developer.

[Next page](<https://devfeed.tech/tags/sql-server.md?cursor=WyIyMDIyLTA2LTA4VDEzOjAwOjAwKzAwOjAwIiwgImM3Y2MyYmI1LTYzMWEtNDg5Ny05YmJiLTk3OTk0ZGY2ZTdkMiJd>)