Introduction To Query Store In SQL Server 2016 – Part 1
Hi friends, in next few blogs we will explore another new feature named Query Store which gets introduced in SQL...
2015-07-16
717 reads
Hi friends, in next few blogs we will explore another new feature named Query Store which gets introduced in SQL...
2015-07-16
717 reads
Reading Time: 1 minutesLet’s Play A Game! So, just to tickle your fancy, here is...
The post Sneak Preview – Episode 012...
2015-07-15
475 reads
There are a number of high quality events in Europe that are being run by the local volunteers or user...
2015-07-15
509 reads
I’ll be doing a precon for SQLSaturday #422 in Oklahoma City on August 28th, 2015 titled “Creating a High Availability and Disaster...
2015-07-15
766 reads
I have the great pleasure to announce I’m speaking for the 5th time at the Belgian SQL Server Days! The...
2015-07-15
662 reads
Earlier this week, I got the opportunity to present online for the Oklahoma City SQL Server User Group on SQL...
2015-07-15
726 reads
After a few years away, the Baton Rouge SQL Saturday group has finally allowed me back at their annual event...
2015-07-15
1,359 reads
PASS announced yesterday the end of the SQLRally brand. It was disappointing news for an idea that started with such...
2015-07-14
659 reads
Just read Microsoft IT migrates mailboxes to Office 365 Exchange Online, a good overview of their migration from Exchange. Lots of...
2015-07-14
953 reads
Hi friends, today we will learn another new feature Live Query Statistics which gets introduced in SQL Server 2016. It’s...
2015-07-14
708 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...
Comments posted to this topic are about the item Split Large Queries in Athena...
Comments posted to this topic are about the item Finding Trailing Spaces
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