Organizing RSS Feeds
I have a lot of blogs I subscribe to. Well over 500 at last count. And the truth of the...
2009-01-07
730 reads
I have a lot of blogs I subscribe to. Well over 500 at last count. And the truth of the...
2009-01-07
730 reads
I received word earlier today that I’ll be presenting at the upcoming SQL Saturday event in Tampa, Florida on January...
2009-01-07
983 reads
OK, today I see something useful about Twitter. I'm stuck in bed, my daughter sick, trying to work and listening...
2009-01-07
962 reads
I've been trying to comment on a few interesting blogs here today, but for some reason I can't. It seems...
2009-01-06
578 reads
I wrote a bit of an analysis for my 2008 goals, but didn’t really list any for 2009. Partially because...
2009-01-06
776 reads
This post, and the next couple in the series (which may not be this week) are me talking through what...
2009-01-06
667 reads
If you are thinking about attending DevTeach/SQLTeach in Vancouver this June 8-12, 2009, and you haven't registered yet, you need...
2009-01-06
435 reads
I received notification a few days ago that I was selected again to participate in the We Are Microsoft charity...
2009-01-06
921 reads
Steve Jones recommended this one to me. It starts at the very beginnings of UPS and goes through pretty much...
2009-01-05
414 reads
I've always been in favor of investing in things that I think will benefit me long term, but all investments...
2009-01-05
1,589 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