Final Prep for the 2011 Summit
I’m running through my mental (and some written) pre-travel checklist, tickets, clothes, a few odds and ends, trying to be...
2011-10-05
635 reads
I’m running through my mental (and some written) pre-travel checklist, tickets, clothes, a few odds and ends, trying to be...
2011-10-05
635 reads
Feedback from the second leg of SQLRelay was very positive indeed. The attendees from my Maidenhead group were very impressed...
2011-10-05
680 reads
I saw this post about Leonard Nimoy doing his final convention appearance this week. He’s 80, I would guess doesn’t...
2011-10-05
562 reads
Recently I've started following the public work of Mikko Hypponen (blog | twitter), the Chief Research Officer of F-Secure. I've known...
2011-10-05
1,044 reads
I’m naturally paranoid. I suppose it keeps me honest. When I went to work for SolidQ earlier this year – and...
2011-10-04
601 reads
This post is part of a series based on my presentation The Top Ten Skills You Need for SQL Server....
2011-10-04
1,567 reads
Sie wollen SQL Server
Abfragen um 100% oder gar 1000% beschleunigt haben? Gleichzeitig wollen Sie Hardware–
und Lizenzkosten Ihrer SQL Server Anwendungen...
2011-10-04
1,089 reads
Yes, I was named a SQL Server MVP the most recent round of awards. I honestly can’t believe it. It is a great honor to have been recognized for...
2011-10-04
12 reads
There is something wrong in the SQL force today… here it is the first Tuesday of a month, and we’re...
2011-10-04
801 reads
The other day, someone said to me ?You guys are growing like a weed? Now it was a competitor, so...
2011-10-04
1,035 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