Nervous
According to the timeline (PDF), the PASS Nominating Committee is supposed to contact the applicants today or tomorrow and let...
2010-08-16
750 reads
According to the timeline (PDF), the PASS Nominating Committee is supposed to contact the applicants today or tomorrow and let...
2010-08-16
750 reads
Text of my keynote from SQL Saturday #28
Welcome to SQL Saturday #28 and I'm pleased to be back in Baton...
2010-08-16
2,110 reads
That title may be a little premature - but I've recently seen a (relative) boatload of Connect submissions getting resolved, either...
2010-08-16
507 reads
Had my final follow up call with Don Gabor, took one more run through the networking and speaker stuff (Don...
2010-08-16
652 reads
It has been a couple of months since I have posted an update to my “SQL Server 2008 and R2...
2010-08-16
1,705 reads
Scott Gleason just posted a blog yesterday that showed an awesome new tool that people can create little animated videos....
2010-08-15
382 reads
I haven’t posted on my SQL Server blog for a few weeks, I missed the August T-SQL Tuesday which I’m...
2010-08-14
528 reads
Have you registered for the 24 Hours of PASS (September 15-16) yet?
Tuesday
SQL Lunch - Policy Based Management in a Nushell - Jorge...
2010-08-14
840 reads
I started traveling with two laptops after I had a laptop fail during a trip in 2009 the day of...
2010-08-14
755 reads
SQL Server 2008 SP1 To Old for Replication?
We are in the middle of a platform upgrade project at work, and...
2010-08-13
1,810 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