After Seven Years, Time for Something New
Earlier this month, I passed the seven year mark at Digineer. It was a weird feeling, since the last time...
2012-09-14
710 reads
Earlier this month, I passed the seven year mark at Digineer. It was a weird feeling, since the last time...
2012-09-14
710 reads
Wouldn’t it be nice if failure was an option? You could go along in life, screw it all up and...
2012-09-12
775 reads
It appears that I signed up to speak at the San Diego SQL Saturday coming up this weekend. I knew...
2012-09-11
700 reads
This post is part of a blog series which focuses on translating compatibility views in SQL Server to their respective...
2012-09-07
1,175 reads
As I sat around this past weekend I was left wondering… am I missing any good blogs out there? With...
2012-09-03
898 reads
It’s close to that time of year again. It’s time for a SQL Saturday in Minnesota and this… it isn’t...
2012-08-28
947 reads
This post is part of a blog series which focuses on translating compatibility views in SQL Server to their respective...
2012-08-22
1,236 reads
The August round of #meme15 finished up last week with a good number of people participating. The aim of the...
2012-08-21
754 reads
It’s been a year already and it’s time to head back to Kalamazoo for their SQL Saturday. We’re heading back...
2012-08-21
922 reads
A while back, Kevin Conan (Blog | @ConanTheCDN) emailed me about this months #meme15 topic. He thought it would be good...
2012-08-20
1,030 reads
By Steve Jones
Here are the resources for my talk at Day of Data Boston. Slides –...
By Steve Jones
I’ve covered the values in a number of previous posts on the Book of...
By Arun Sirpal
When the evidence names the database, it says so. When it doesn’t, it stops....
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