What’s wrong with the Power BI KPI Visual?
Over the past couple of weeks I have been asked several times about the KPI Visual that is native to...
2016-07-06
2,001 reads
Over the past couple of weeks I have been asked several times about the KPI Visual that is native to...
2016-07-06
2,001 reads
Live from London Day 2
In the most important news of the day, Wales play Portugal in the semi-final of the...
2016-07-06
482 reads
Hi friends, in SQL server 2016 another new function STRING_SPLIT gets introduced which helps in splitting the character expression using...
2016-07-06
724 reads
It’s time for week 5 of giving out some copies of Expert Performance Indexing for SQL Server. So far, I’ve sent out four copies of the book based on comments from...
2016-07-05
26 reads
It’s time for week 5 of giving out some copies of Expert Performance Indexing for SQL Server. So far, I’ve sent...
2016-07-05
683 reads
I think you do.
According to a report by Oxford Economics it costs in excess of £30K, or if you prefer,...
2016-07-05
383 reads
This is a series of posts on the PASS Summit and SQL Saturdays. I’m outlining some thoughts here, sometimes for...
2016-07-15 (first published: 2016-07-05)
1,088 reads
Yesterday was a holiday here in the United States, so I’m starting the week on Tuesday. For those in the...
2016-07-05
825 reads
Discovery I ran across an issue where I had just configured database mail on a new server, went to send...
2016-07-05
88 reads
Discovery I ran across an issue where I had just configured database mail on a new server, went to send...
2016-07-13 (first published: 2016-07-05)
1,892 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