Q1 - review
I didn’t post my professional goals for the year on my blog at the start of this year, my blog...
2010-04-08
676 reads
I didn’t post my professional goals for the year on my blog at the start of this year, my blog...
2010-04-08
676 reads
Jorge Segarra's ( @SQLChicken) excellent community idea, SQL University, is starting back up next week. This is effectively free training on...
2010-04-08
747 reads
In a previous post I gave some links which help explain what plagiarism is and how to generally avoid it....
2010-04-08
670 reads
Six months ago, I spoke at a SQLSaturday in Orlando, Florida. I had a great time. Andy Warren (Blog | Twitter),...
2010-04-08
338 reads
I did an hour or so call with Jack Corbett recently to review what we hope to accomplish this year....
2010-04-08
299 reads
Life was busier than I would have liked this year, but made it to one game, Braves vs Tigers, for...
2010-04-08
284 reads
We have two related DMVs for Day 8. The first one is sys.dm_fts_active_catalogs, which is described by BOL as:
Returns information...
2010-04-08
1,260 reads
I didn’t think about it this way, but it made perfect sense after I read an essay. Recently my team...
2010-04-08
377 reads
Had this on my list for a while, thinking maybe it’s a way to leverage the investment in my (your)...
2010-04-07
261 reads
Have you ever done anything that made you feel like a dunderhead? Maybe a little bone-headed, thick, numb-skullish?
Here is my...
2010-04-07
574 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