Hello World on .NET Core
The developments over the last few months in the data community had brought us to an interesting place. We’re going to have SQL on Linux and now we also...
2016-07-01
14 reads
The developments over the last few months in the data community had brought us to an interesting place. We’re going to have SQL on Linux and now we also...
2016-07-01
14 reads
The developments over the last few months in the data community had brought us to an interesting place. We’re going...
2016-07-01
695 reads
I thought that this would be useful for others – couple of scripts that I have been using in Azure for...
2016-07-01
211 reads
This is post #2 of my BimlScript – Get to Know Your Code Nuggets series. To learn about text nuggets, see my...
2016-07-01
476 reads
Python Distributions Python is free and open source software. A programmer could download the executables for Python directly from the...
2016-07-01
609 reads
(DE)
Der SQL Server 2016 ist da, und damit nun auch die „Version 2“ der In-Memory OLTP Engine, wenn man...
2016-06-30
1,030 reads
Brent Ozar recently published the feedback he got on his abstract submissions for PASS Summit 2016 and, as he often...
2016-06-30
902 reads
The post on the SQLServer blog at TechNet by the SQL Server Tools Team today made me jump out of...
2016-06-30
1,009 reads
There were so many cheers when Microsoft announced that the .Net 3.5 Framework was no longer a pre-requisite for installing...
2016-06-30
3,174 reads
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2016-06-30
1,090 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