Building a PASS Voting Solution – Part 4
We’re almost at the end of the SQL side of things, just needing to send out notifications/reminders. I was torn...
2010-06-22
543 reads
We’re almost at the end of the SQL side of things, just needing to send out notifications/reminders. I was torn...
2010-06-22
543 reads
I hope you’ve seen the note from Andy Warren (Blog | Twitter) on a PASS Spring Event, and there’s another writeup...
2010-06-22
1,132 reads
Microsoft, has published things that can be very useful, in this case for the SQL Server users. They announced the...
2010-06-22
3,735 reads
Another “didn’t know” for me, we have multiple feeds from PASS HQ that focus on various areas – grab the entire...
2010-06-21
671 reads
I’m in the process of putting together a SQL Server hardware inventory/audit checklist for an upcoming book project. The purpose...
2010-06-21
2,617 reads
Well the World Cup is now half way through, 32 games played, 32 games to go. The talk here in...
2010-06-21
504 reads
Actually came out last week and I missed it, here is the link to the details of the nominating committee...
2010-06-21
653 reads
SQLBits—The 7 Wonders of SQL Conference—will be held in York, England, September 30 through October 2, 2010. SQLBits is the...
2010-06-21
440 reads
The combined Microsoft BI Conference and TechEd in New Orleans last week was a great
experience. The shear magnitude of the...
2010-06-21
1,164 reads
After getting my new grid-tied solar PV system turned on and operational on June 18, 2010, I have become temporarily...
2010-06-21
780 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...
By Steve Jones
Here are the resources for my talk at Day of Data Boston. Slides –...
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