Let’s Get Registered! Registered!
The PASS Summit is only a few short months away. But before that happens there is an important deadline fast...
2011-06-28
681 reads
The PASS Summit is only a few short months away. But before that happens there is an important deadline fast...
2011-06-28
681 reads
As I mentioned in the introductory post, I’m summarizing posts from previous years in the the past week. Some posts...
2011-06-24
566 reads
A few months back, I was asked if there was a way that the information shared by the Twitter users...
2011-06-22
908 reads
Tomorrow is time for part two of my presentations this month on Extended Events for the PASS DBA Virtual Chapter. ...
2011-06-21
648 reads
Well folks, we’re already to the third Tuesday of June. Where’s the summer going to? That means that this afternoon...
2011-06-21
710 reads
As I mentioned in the introductory post, I’m summarizing posts from previous years in the the past week. Oddly enough,...
2011-06-17
480 reads
It appears I was fortunate enough to be selected to speak at the 2011 PASS Summit. This is shaping up...
2011-06-16
528 reads
As I mentioned in the introductory post, I’m summarizing posts from previous years in the the past week. Some posts...
2011-06-10
553 reads
Have you been thinking about getting certified? Are you close on finishing your studying but aren’t quite sure if you...
2011-06-09
708 reads
Turns out there is a snag when it comes to using Internet Explorer 9 with SharePoint and SQL Server 2008...
2011-06-08
3,380 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