Getting Started with Azure DocumentDB Programming
In my previous post in the series, I provided a short explanation on how to register your very first Azure...
2015-07-02 (first published: 2015-06-28)
2,258 reads
In my previous post in the series, I provided a short explanation on how to register your very first Azure...
2015-07-02 (first published: 2015-06-28)
2,258 reads
Hi friends, today we will discuss about new performance monitoring system Extended Events which gets introduced in version SQL Server...
2015-06-27
771 reads
The PASS Summit 2015 Speaker list has been released and I wanted to congratulate everyone that was accepted. It’s a...
2015-06-26
1,253 reads
I have an exciting training session announcement! On Friday, July 10th, I will be presenting a full-day training class ahead...
2015-06-26
598 reads
Reading Time: 2 minutesA Friend (or Redgate) You Want To Have! In WOxPod!, episode #...
The post 009 – Sam Vanga appeared...
2015-06-26
371 reads
Today should be such an exciting day, the day the speakers are announced for the 2015 PASS Summit. But as...
2015-06-26
458 reads
I was thinking today about why I submit sessions to speak at the PASS Summit.
My first summit was in Denver...
2015-06-26
439 reads
Kicking off the SQLSaturday#410 event down in Chattanooga, Tennessee, is the Pre-Con event Tune Like a Guru, by SQLGuru Kevin...
2015-06-25
981 reads
PASS just posted Changes to the 2015 PASS Board Elections based on feedback from the 2014 NomCom. I was part of that...
2015-06-25
446 reads
I’m a little late posting this, Culture Clashes and Arrogance was featured on June 17, 2015. One of my favorites...
2015-06-25
510 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