PASS 2012 Countdown – 4 Weeks To Go
One week down and we are now 4-weeks from this years PASS Summit. Hopefully, you have already registered for the...
2012-10-10
1,140 reads
One week down and we are now 4-weeks from this years PASS Summit. Hopefully, you have already registered for the...
2012-10-10
1,140 reads
Recently, I had a need to take a look at all of the drivers for a specific set hardware on...
2012-10-09
446 reads
Throughout the week, I like to tweet links to the things that I’ve been reading. Since they all come out...
2012-10-08
736 reads
Welcome to this Friday’s reblog summary post. The aim of these posts is to bring some old posts that newer...
2012-10-05
486 reads
This past weekend I attended this year’s SQL Saturday in Minnesota. It was a good time, and it was on...
2012-10-05
677 reads
What would you say if I offered you the best indexing book on the market for SQL Server 2012?
Wow, right?...
2012-10-03
712 reads
One thing to add for the 5-week countdown… are you an alumni to the PASS Summit? If so, why don’t...
2012-10-03
513 reads
We are now 5-weeks from this years PASS Summit. It’s time to start getting ready for the event. Hopefully, you...
2012-10-02
721 reads
October already. The PASS Summit is coming soon and we’re entering the time of the year that many of us...
2012-10-01
609 reads
Welcome to this Friday’s reblog summary post. The aim of these posts is to bring some old posts that newer...
2012-09-28
1,463 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