Speakers Announced for SQLSaturday #232 in Orlando
It’s done, finally! The sessions for SQLSaturday #232 have been selected and the schedule is available for viewing. We have...
2013-07-17
697 reads
It’s done, finally! The sessions for SQLSaturday #232 have been selected and the schedule is available for viewing. We have...
2013-07-17
697 reads
On July 10th 2013, I gave a presentation with the Professional Association for SQL Server (PASS) DBA Fundamentals Virtual Chapter....
2013-07-17
629 reads
The PASS Security virtual chapter is up and running thanks to the hard work of Argenis Fernandez (blog | twitter) and...
2013-07-17
1,271 reads
Performance tuning is one of the important task of DBA. Many times people comes to us with different types of performance issue.To handle all these, we should have...
2013-07-17
58 reads
Hello Dear Reader! Just a quick blog post today. The Schedule for SQL Saturday 232 is now live! You probably...
2013-07-16
555 reads
Performance tuning is one of the important task of DBA. Many times people comes to us with different types of...
2013-07-24 (first published: 2013-07-16)
4,018 reads
Why do companies use placement firms to find IT contractors instead of using internal recruiters?
Who better to answer that question...
2013-07-16
799 reads
In a previous post we’ve seen how to share the SQL Prompt snippet folder to the development team. We’ve used dropbox for sharing...
2013-07-16
1,011 reads
When dealing with large amounts of objects in a database, navigation can be tedious with SSMS object explorer. This extender...
2013-07-16
746 reads
To prepare myself for my session Data Visualization Tips & Tricks, I read a few books. In this blog post, I’ll...
2013-07-16
1,104 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