SQL Server 2016: A Comprehensive Introduction – Arabic
It has been over a year since I have blogged, I know… that’s a long time! I have not retired,...
2017-04-26
367 reads
It has been over a year since I have blogged, I know… that’s a long time! I have not retired,...
2017-04-26
367 reads
Last week Microsoft confirmed that the name of SQL vNext will indeed be SQL Server 2017. I was looking through...
2017-04-26
190 reads
Last week Microsoft confirmed that the name of SQL vNext will indeed be SQL Server 2017. I was looking through...
2017-05-04 (first published: 2017-04-26)
2,590 reads
This one is for the DacFx nuts out there, it can't be a very big club but judging from the...
2017-04-26
401 reads
This one is for the DacFx nuts out there, it can’t be a very big club but judging from the...
2017-04-26
61 reads
This one is for the DacFx nuts out there, it can’t be a very big club but judging from the...
2017-04-26
50 reads
This one is for the DacFx nuts out there, it can't be a very big club but judging from the occasional emails I get about it, the quality is...
2017-04-26
11 reads
My favourite way to compare technical experience with others is to ask them about the ways in which something can...
2017-04-26
198 reads
On May 3, 2017, at 2 PM EDT (6 PM GMT) I’ll be speaking as part of the 24 Hours...
2017-04-25
350 reads
In this module you will learn how to use the Time Brush Power BI Custom Visual. The Time Brush gives...
2017-05-02 (first published: 2017-04-25)
1,394 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