Notes from SQLSaturday #85
I’m writing this on Sunday afternoon after the event, thinking about the event and what I want to share with...
2011-09-26
634 reads
I’m writing this on Sunday afternoon after the event, thinking about the event and what I want to share with...
2011-09-26
634 reads
There comes a time when you look at how something is being done and say, "Does it have to be...
2011-09-26
612 reads
I’m not sure how we got to 2-weeks until this year’s PASS Summit. If you haven’t registered yet it’s really...
2011-09-26
533 reads
For some time now, I have been working on a new book called How to Perform a SQL Server Health...
2011-09-26
953 reads
Exciting news… The second edition of the SQL Server MVP Deep Dives book has been completed and is going to...
2011-09-26
1,040 reads
The 13th edition of The SolidQ Journal has just been released with several insightful articles and continued series updates. In...
2011-09-26
1,064 reads
Couple of week back I have received a special gift, from the person whom I admire as a elder bro...
2011-09-26
409 reads
Microsoft has made available for download the SQL Server DENALI CTP3 Demo VHD several weeks ago at http://www.microsoft.com/download/en/details.aspx?id=27253. The SQL...
2011-09-25
1,550 reads
Volume 2 of the SQL Server MVP Deep Dives book is now available for pre-order from Amazon and from Manning....
2011-09-24
1,932 reads
Presentation and scripts from my Storing Powershell Output session at SQL Saturday #85 Orlando 2011:
2011-09-24
974 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