DawaBI Merges with Quanta Intelligence to Broaden and Deepen our Service Offering
We’ve been working on this for a while now and I’m excited to announce the merger of Quanta Intelligence and...
2016-08-18
589 reads
We’ve been working on this for a while now and I’m excited to announce the merger of Quanta Intelligence and...
2016-08-18
589 reads
Yesterday evening I had the distinct pleasure of presenting at the Jacksonville SQL Server Users Group on some of the...
2016-08-18
440 reads
One of the most popular posts on this bog describes how to enable bitmap scaling is SSMS on high DPI displays,...
2016-08-25 (first published: 2016-08-18)
4,065 reads
Suffering SQL Server Performance Issues?: A story of Olympic sprints and handy SQL Server hints!!!
Usain Bolt, the world’s fastest runner,...
2016-08-18
409 reads
Paradigm Shift! What do I mean by that? Every once in a while a technology comes along and changes the way things are done, moves the bar…well last week...
2016-08-18
14 reads
Paradigm Shift!
What do I mean by that? Every once in a while a technology comes along and changes the way...
2016-08-18
2,198 reads
command line install options
ReadyRoll has some great features, including the ability to use without cost on a build server. If...
2016-08-18
279 reads
command line install options
ReadyRoll has some great features, including the ability to use without cost on a build server. If...
2016-08-26 (first published: 2016-08-18)
1,122 reads
There has been some recent controversy over SQL Saturdays after PASS HQ announced some new changes. The changes introduced a...
2016-08-19 (first published: 2016-08-18)
1,875 reads
I previously got rid of my desktop when its motherboard got damaged. Prior to throwing it away, I recovered its...
2016-08-17
194 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