Problems displaying this newsletter? View online.
SQL Server Central
Featured Contents
Question of the Day
The Voice of the DBA
 

Moving to a New Platform

I recently attended the 2026 PASS Data Community Summit, and there was plenty of interest in PostgreSQL. The PostgreSQL sessions, as wall as Grant and Pat's precon, were well attended. I heard plenty of people talking about using PostgreSQL and wanting to learn more. At the same time, I talked with quite a few people who had tried to move their SQL Server or Oracle systems to PostgreSQL and failed.

Sometimes after a few years.

It's really, really hard to move an existing system to a new back-end database. It mostly fails, and even if it doesn't, it's expensive. Heck, I've seen plenty of orgs struggle to lift-and-shift an on-premises SQL Server system to a cloud VM. That should be the easiest move and yet companies will run them in parallel for months. Not everyone, but it's not a rare occurrence.

However, I do see organizations starting new projects on PostgreSQL, and I understand why. The licensing can be attractive, though I'd caution you o the training and the stress having multiple environments has on Operations staff. If you already have two platforms, stop. Just use them. Caveat, if they are SQL Server and Oracle, then you can add PostgreSQL. If one is MySQL, just stop and go through the effort to move this to PostgreSQL.

I think the platforms are similar, though that's from a dev standpoint. For Ops, there are differences. For Devs, I ran into this post from StraightPath Solutions, which helps you sort out the differences at a high level. It's a nice list of things to check, with some notes on what you need to learn to be effective on PostgreSQL. That, along with Grant's book, can help you get started.

Don't underestimate the effort needed to adopt a new platform. There is real training needed, lots of effort, and it's a distraction to your staff. My advice is to minimize the number of platforms for this reason. Just because someone read something online or used it in a previous position doesn't mean it's worth adding to the list of things your organization has to manage.

Steve Jones - SSC Editor

Join the debate, and respond to today's editorial on the forums

 
 Featured Contents
SQLServerCentral Article

Detecting Outliers in Power BI Using IQR

Dinesh Asanka from SQLServerCentral

This article shows how to use Power BI to detect outliers with a little DAX and a few measures.

External Article

Conditional Retries in Microsoft Fabric Pipelines

Additional Articles from MSSQLTips.com

I have built a pipeline in Microsoft Fabric. In this pipeline, there’s an activity that sometimes fails. I want the activity to retry automatically, but only if certain conditions are met, such as a specific error message. Is this possible in Fabric?

Blog Post

From the SQL Server Central Blogs - Flyway Tips: Analytics Platforms (Snowflake and Databricks)

Steve Jones - SSC Editor from The Voice of the DBA

I’m really excited about some growth in Flyway support. I’ve been asking about this for some time and we now have Databricks and Snowflake support. I’ve been working with...

From the SQL Server Central Blogs - Paginated Reporting at Scale: Choosing the Right Microsoft Platform

Rayis Imayev from Data Adventures

"I've seen things you people wouldn't believe..."— Roy Batty, Nexus-6 Replicant, Blade Runner (1982)(2026-Nov-08) Yep, that's me! On September 26th this year, I was singing with my Welsh choir at...

Azure SQL Hyperscale Unveiled

Site Owners from SQLServerCentral

As organizations build increasingly data-driven and AI-powered applications, they need database platforms that can grow without sacrificing performance or resiliency. In this practical guide, Bob Ward, a Principal Architect on the Microsoft Azure Data team, takes readers inside Hyperscale's distributed architecture, showing how it uses the power of SQL Server to deliver the scale, performance, and resiliency required by modern cloud workloads.

 

 Question of the Day

Today's question (by Steve Jones - SSC Editor):

 

The Speed of Count

Which of these might run quicker on the AdventureWorks database in SQL Server 2025?
-- A
select count(*) from AdventureWorks.Sales.OrderDetail

-- B
select count(1) from AdventureWorks.Sales.OrderDetail

-- C
select count(OrderDetailID) from AdventureWorks.Sales.OrderDetail

Think you know the answer? Click here, and find out if you are right.

 

 

 Yesterday's Question of the Day (by Steve Jones - SSC Editor)

Adding Bits II

I have a table, dbo.bittest, where I am testing an application response. This has this structure:

CREATE TABLE [dbo].[BitTest]
(
[insertdate] [datetime] NULL CONSTRAINT [DF__BitTest__insertd__300F11AC] DEFAULT (getdate()),
[a] [bit] NULL
) ON [PRIMARY]
GO

My application runs this code:

INSERT dbo.BitTest
(
    insertdate,
    a
)
VALUES
(DEFAULT, true)
GO

Answer: An error is returned that the column true doesn't exist.

Explanation: This returns an error that the column doesn't exist. The parser assumes a column name is required here. Despite the fact that the bit column can coalesce true to 1, it requires a string to do this. Ref: bit - https://learn.microsoft.com/en-us/sql/t-sql/data-types/bit-transact-sql?view=sql-server-ver17

Discuss this question and answer on the forums

 

 

 

Database Pros Who Need Your Help

Here's a few of the new posts today on the forums. To see more, visit the forums.


Anything that is NOT about SQL!
Life hack that has worked well for me - I wrote about this several years ago but will contribute again a life hack that has helped me.  It comes to mind again as I have just had to have a new pair of glasses made again because they did not follow my prescription.  Many of us spend many hours looking at computer displays, in […]
Editorials
Pay for Performance - Comments posted to this topic are about the item Pay for Performance
People Matter - Comments posted to this topic are about the item People Matter
Helping an English Student with R - Comments posted to this topic are about the item Helping an English Student with R
PASS Summit Week - Comments posted to this topic are about the item PASS Summit Week
Article Discussions by Author
Server-level Roles - Comments posted to this topic are about the item Server-level Roles
Tracking Inserted, Updated, and Deleted Rows with SQL Server OUTPUT - Comments posted to this topic are about the item Tracking Inserted, Updated, and Deleted Rows with SQL Server OUTPUT
Adding Bits I - Comments posted to this topic are about the item Adding Bits I
Implementing System-Versioned Temporal Tables in SQL Server: A Practical Guide - Comments posted to this topic are about the item Implementing System-Versioned Temporal Tables in SQL Server: A Practical Guide
Switching Schemas I - Comments posted to this topic are about the item Switching Schemas I
Enforcing Unique Customer Emails When Duplicates Already Exist - Comments posted to this topic are about the item Enforcing Unique Customer Emails When Duplicates Already Exist
Too Many Choices - Comments posted to this topic are about the item Too Many Choices
Table Partitioning in SQL Server: A Practical Guide to Managing Very Large Tables (VLDBs) - Comments posted to this topic are about the item Table Partitioning in SQL Server: A Practical Guide to Managing Very Large Tables (VLDBs)
SQL Server 2022 - Development
Trying to make this faster using not exists - Hi I have this query that is slow during the 'not in' part of the statement: LEFT JOIN dbo.benefitplan BP ON BP.benefitplan_id = ci.benefitplan_id LEFT JOIN dbo.benefitplan_type pt ON pt.benefitplan_type_id = BP.benefitplan_type_id WHERE k.BatchSeq BETWEEN '1' AND '1000000' AND ci.claim_procedure_id NOT IN (35381320,35381310,35381304,35381305,35381311,35381306,35345478,35381307,35381293,35381308,35392585, 35392587,35381298,35381321,35345407,35381324,35392582,35381326,35381299,35381325,35381295,35381323,35345410,35381297, 35336186,35381314,35345409,35381319,35392584,35336187,35336218,35336217,35381312,35381294,35381303,35381296,35381318, 35381300,35381327,35381315,35381317,35336185,35381309,35381322,35392586,35381313,35345408,35392583,35345477,35381316) where k.BatchSeq BETWEEN '1' AND '1000000' So I thought […]
Slow - Linked server query - Hi I have this slow query that is pulling data from a linked server. This is the slow part of the statement: SELECT c_sub.claim_id, MAX(cs.status_type) AS clm_status_type FROM dbo.tblBatchKeys k_sub INNER JOIN [SQL22.CARE.NET\SQL22NODEASTAGE]PROD.dbo.claim c_sub ON c_sub.claim_id = k_sub.claim_id INNER JOIN [SQL22.CARE.NET\SQL22NODEASTAGE].PROD.dbo.claim_procedure ci_sub ON c_sub.claim_id = ci_sub.claim_id AND ci_sub.claim_procedure_id = k_sub.claim_procedure_id INNER JOIN [SQL22.CARE.NET\SQL22NODEASTAGE].PROD.dbo.claim_procedure_status cs ON […]
 

 

RSS FeedTwitter

This email has been sent to {email}. To be removed from this list, please click here. If you have any problems leaving the list, please contact the webmaster@sqlservercentral.com. This newsletter was sent to you because you signed up at SQLServerCentral.com.
©2019 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved.
webmaster@sqlservercentral.com

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -