Monitor Query Performance
Blog post #7 in support of Tim Ford’s (b|t) #iwanttohelp, #entrylevel. Read about it here.
Sooner or later when you’re working...
2016-07-28 (first published: 2016-07-25)
2,630 reads
Blog post #7 in support of Tim Ford’s (b|t) #iwanttohelp, #entrylevel. Read about it here.
Sooner or later when you’re working...
2016-07-28 (first published: 2016-07-25)
2,630 reads
Over the last four years I’ve blogged almost 400 times. It’s become a refuge, a resource, a source of pride,...
2016-07-25
436 reads
This is the fourth week of four of my July training programming and this week we have two courses that...
2016-07-25
342 reads
I am very happy and proud to share the news that I will be speaking in SQL Server Geeks Annual...
2016-07-25
423 reads
SQL Server 2016 comes up with the new release of Master Data Services (MDS). In it, some new features have...
2016-07-28 (first published: 2016-07-25)
2,476 reads
Today marks one years since Power BI was officially released. It’s been an amazing ride and I’d like to thank...
2016-07-24
500 reads
In the previous post I looked into some very basic and common measures of descriptive statistics – mean, median and mode,...
2016-07-24
632 reads
I am extremely proud to share with everyone the news that the long-awaited and quite overdue release of the CISL...
2016-07-24
447 reads
Well today marks the one year anniversary since the initial release of Power BI. We all have watched this product...
2016-07-24
826 reads
Today marks the first anniversary of Power BI Desktop and the Power BI Service. The effort to achieve this milestone...
2016-07-24
466 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