Geek of the Week
I made geek of the week. I’m sorry, but I’m excited by that. I’m very proud to be a geek....
2009-11-06
651 reads
I made geek of the week. I’m sorry, but I’m excited by that. I’m very proud to be a geek....
2009-11-06
651 reads
The day started off with a mixed bag. First we had an honestly tearful farewell with Wayne Snyder saying goodbye to...
2009-11-06
1,538 reads
I am very impressed with Michel David’s work, and openly endorse much of his great piece of work at MontrealCityState.ca...
2009-11-06
1,760 reads
I certainly wish circumstances were different and I would have been able to attend the PASS Summit this week. I...
2009-11-06
737 reads
We’re losing three good people as of the end of the year, but I thought now would be a good...
2009-11-05
573 reads
I actually slept in on Wednesday until 6am. This was a change from being wide awake at 4am. I made...
2009-11-05
540 reads
Well it certainly has been a busy and exciting week at PASS. I couldn't go this year, but through the...
2009-11-05
532 reads
Dr. David DeWitt
“I’m not a doctor.” This is going to be good. “From 1 to 1000 MIPS” He’s doing great....
2009-11-05
695 reads
Started the day at 6:30 at Top Pot with a meeting about SQLSaturday over coffee and it really ended up...
2009-11-05
1,128 reads
Finally time for the sessions to begin after a day and a half in Seattle being overwhelmed by the people...
2009-11-05
739 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