Join me for the PASS Data Expert Series Feb 7
I’m honored to have one of my PASS Summit sessions chosen to be part of the PASS Data Expert Series...
2019-02-06
156 reads
I’m honored to have one of my PASS Summit sessions chosen to be part of the PASS Data Expert Series...
2019-02-06
156 reads
The Midlands PASS April 2019 meeting will be held on April 2nd and we’ll be welcoming Matt Gordon (twitter | website)!
Meeting...
2019-02-06
145 reads
SQL server connection and blocking finding script...
[[ This is a content summary only. Visit my website for full links, other...
2019-02-06
182 reads
SQL server connection and blocking finding script...
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]
2019-02-06
27 reads
The other day I talked about using Microsoft Learn. Well, honestly, Cloud Academy is the learning tool I’ve been using...
2019-02-06
220 reads
My wonderful friend André Kamman wrote a fantastic blog post this week SQL Server Container Instances via Cloudshell about how...
2019-02-06 (first published: 2019-01-19)
2,280 reads
I never knew this, but stored procedures have versions.
I was browsing the CREATE PROCEDURE doc page, and stumbled upon this...
2019-02-06
1,058 reads
Keys and secrets (AKA passwords) are an essential part of data protection management not only on-premises, but within the cloud...
2019-02-06
263 reads
Last time we looked at the four major components of a computer system, and then looked at the SQL Server...
2019-02-06
199 reads
SQL Server is a relational database management product developed by Microsoft. It is prominently deployed by enterprises all over the...
2019-02-05
552 reads
By Steve Jones
Here are the resources for my talk at Day of Data Boston. Slides –...
By Steve Jones
I’ve covered the values in a number of previous posts on the Book of...
By Arun Sirpal
When the evidence names the database, it says so. When it doesn’t, it stops....
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