Steve Jobs 1955-2011
It sucks getting older. There are any number of reminders of that fact on a regular basis as I move...
2011-10-06
900 reads
It sucks getting older. There are any number of reminders of that fact on a regular basis as I move...
2011-10-06
900 reads
Last year at the Summit I missed out on this really cool concept. Donate your unused items from your hotel....
2011-10-06
698 reads
The UK SQL community has never had so many events in such a short space of time. Last week there...
2011-10-06
426 reads
Today on Twitter my friend Jes “Run Forrest Run” Schultz Borland (Blog | Twitter) asked the Community “How do you clean...
2011-10-06
1,268 reads
There’s a bunch of stuff scheduled for the PASS Summit next week. You can see some of the events on...
2011-10-06
1,400 reads
First, I want to apologize to the three people that read my blog. Sorry for going dark for such a...
2011-10-06
3,664 reads
I made you something wonderful. It’s a cheatsheet for the PASS Summit, which has info about us (of course), about...
2011-10-06
627 reads
Wow, what an event. I had to run to Redmond right after this so I am sorry this post is...
2011-10-06
819 reads
Oh, dear! One more week until this year’s PASS Summit. If you haven’t registered yet, you’re really cutting it close. ...
2011-10-06
780 reads
By David Postlethwaite
The last two days of SQL Bits provide opportunities to hear short 50 minutes presentations from experts
on a...
2011-10-06
729 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