DevOps at VSLive–Austin
You can see me in May at VS Live in Austin, where I and many others will be talking DevOps....
2017-04-04
533 reads
You can see me in May at VS Live in Austin, where I and many others will be talking DevOps....
2017-04-04
533 reads
I’m speaking as part of a small panel for IT GRC Forum on keeping up your data security program in the...
2017-04-04
314 reads
On April 12, I'm going to show you about two dozen ways to make your backups better, easier, faster, and...
2017-04-04
357 reads
In a previous post, I showed how to set up statistics maintenance for your Azure databases using Azure Automation. However,...
2017-04-04
638 reads
Last night I saw a tweet from Matt Gordon (b|t); the topic caught my eye – “How I Became A…SQL Server...
2017-04-04
406 reads
For most of the time I’ve been working for Redgate, we’ve had some sort of R&D group that tries out...
2017-04-04
507 reads
I want to show you how I went from having multiple single SQL databases in Azure to a database elastic...
2017-04-04
591 reads
One of my clients came up with a requirement to use log shipping along with an AlwaysOn Availability Group. They cannot extend an AlwaysOn replica to the disaster recovery...
2017-04-04
15 reads
One of my clients came up with a requirement to use log shipping along with an AlwaysOn Availability Group. They...
2017-04-04
775 reads
I wrote Only as Good as Your Auditor for SQLServerCentral because its something I’ve explained to people over and over...
2017-04-04
648 reads
By Steve Jones
I caught this interesting item over on Pinal Dave’s blog: Eleven Interview Questions that...
By Hemantgiri
I use color-coded connections in SSMS to distinguish Production, Pre-Production, UAT, and Development. But...
WhatsApp CS 628218520154 Jl. Suryopranoto No.40, RT.12/RW.7, Petojo Utara, Kecamatan Gambir, Kota Jakarta Pusat,...
WhatsApp CS 628218520154 Jl. Pegangsaan Timur No.1, Cikini, Kec. Menteng, Kota Jakarta Pusat, Daerah...
WhatsApp CS 628218520154 Jl. Pintu Air Raya No.36 Q, RT.6/RW.1, Ps. Baru, Kecamatan Sawah...
I have some data in a SQL Server 2025 database. It looks like this for the dbo.Customer table:
CustomerID CustomerName PreferredName 1 Steve Steve 2 Andy Andy 3 Brian Brian 4 Allan Allan 5 Devin Devin 6 Steve Steve 7 Sally SallyI want to detect which names have a single trailing space. The CustomerName is a varchar() and the PreferredName is a CHAR(). Does this query detect the problem rows?
SELECT
CustomerID,
CustomerName,
PreferredName
FROM Customer
WHERE CustomerName <> RTRIM(CustomerName)
OR PreferredName <> RTRIM(PreferredName); See possible answers