Missing Index Recommendations, These Are Not The Indexes You're Looking For
Picture the scene….. DBA Doug is sitting in his cubicle minding his own business when App Dev Allister gives him...
2018-09-29
164 reads
Picture the scene….. DBA Doug is sitting in his cubicle minding his own business when App Dev Allister gives him...
2018-09-29
164 reads
In this final post of my Azure Cognitive Services week of Azure Every Day, I’ll focus on the Vision APIs...
2018-09-28
315 reads
I recently had an incident where I was looking into the cause of a long running process for a client....
2018-09-28 (first published: 2018-09-18)
2,098 reads
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2018-09-28 (first published: 2018-09-20)
6,661 reads
(last updated: 2018-12-26 @ 16:20 EST / 2018-12-26 @ 21:20 UTC )
(NOTE: For recent update, please see “Update for CTP 2.2” section)
For some...
2018-09-28
10,787 reads
I’ve never been to Pittsburgh. Actually, in all of my speaking and traveling, I don’t think I’ve even flown through...
2018-09-28
979 reads
One of the very interesting parts of my job is that I run into UK keyboards on a regular basis....
2018-09-28
1,018 reads
This week in my Azure Every Day posts, I’ve been focusing on Azure Cognitive Services and what these features can...
2018-09-27
333 reads
Are you looking to do a major update to your data warehouse or looking to modernize? Many technologies have come...
2018-09-27 (first published: 2018-09-11)
3,076 reads
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2018-09-27
1,142 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