On Conciseness...
I had the privilege of writing a guest post on Mike Walsh's blog, entitled:
Conciseness
It's simply about being concise in our...
2009-12-09
784 reads
I had the privilege of writing a guest post on Mike Walsh's blog, entitled:
Conciseness
It's simply about being concise in our...
2009-12-09
784 reads
This was the first meeting where I really lead most of the meeting. Andy Warren (@sqlandy) did the networking at...
2009-12-09
368 reads
Microsoft announced today that they are reorganizing and combining the existing Windows Server and Solutions Group and the Windows Azure...
2009-12-09
741 reads
I currently write the editorial for the PASS Connector which is published every two weeks as part of my role...
2009-12-08
254 reads
On the gridiron, two opposing teams are contending for one very limited resource, the football. One team has it; the...
2009-12-08
527 reads
"You can have everything in life that you want if you will just help enough other people get what they...
2009-12-08
743 reads
Well my theory on posting every week has been tested to the limit somewhat and I didn’t get anything written...
2009-12-08
453 reads
I’m going to try out Adam Machanic’s idea for a blog party. The topic this month are Date/Time tricks.
Instead of...
2009-12-08
670 reads
It is sometimes said that trivial execution plans are not cached and queries that have such plans are compiled on...
2009-12-08
1,247 reads
There are few things more reassuring for a data professional than having clean, consistent data to back up critical business...
2009-12-08
628 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