Implementing Fuzzy Sets in SQL Server, Part 8: Possibility Theory and Alpha Cuts
By Steve Bolton
…………To get the point across that fuzzy sets require membership grades of some sort, throughout this series I’ve...
2017-02-13
938 reads
By Steve Bolton
…………To get the point across that fuzzy sets require membership grades of some sort, throughout this series I’ve...
2017-02-13
938 reads
I flew to Utrecht last week to present with Chrissy LeMaire and Sander Stad to present to the joint Dutch...
2017-02-13
426 reads
I was asked if there was an easy way to export all the plans from cache to a .SQLPLAN file....
2017-02-13
868 reads
Man, if there was an award for procrastinating I’d definitely be in with a shout for today (I write these...
2017-02-13
311 reads
There’s a group at Redgate that investigates new ideas and products. They’re called the Foundry, and they do some cool...
2017-02-13
480 reads
The great thing about new versions of SQL Server is the fact that they are packed full of new features...
2017-02-13
406 reads
I did a talk at the london .net meetup if you want to get an overview of what SSDT is...
2017-02-10
378 reads
I did a talk at the london .net meetup if you want to get an overview of what SSDT is and how to get started then I would recommend...
2017-02-10
7 reads
I did a talk at the london .net meetup if you want to get an overview of what SSDT is...
2017-02-10
17 reads
I did a talk at the london .net meetup if you want to get an overview of what SSDT is...
2017-02-10
37 reads
By Steve Jones
Here are the resources for my talk at Day of Data Boston. Slides –...
By Steve Jones
I’ve covered the values in a number of previous posts on the Book of...
By Arun Sirpal
When the evidence names the database, it says so. When it doesn’t, it stops....
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