Die neue SQL Server Master-Class: Warum ein SQLSentry Bootcamp
The new SQL Server Master-Class in – why a SQLSentry Bootcamp
(DE)
Die wichtigsten Infos gerafft zuerst:
Vom 26. bis 28. Juni...
2017-05-02
502 reads
The new SQL Server Master-Class in – why a SQLSentry Bootcamp
(DE)
Die wichtigsten Infos gerafft zuerst:
Vom 26. bis 28. Juni...
2017-05-02
502 reads
A quick blog post to start the day, If you remember a few months ago I blogged about SQL Server...
2017-05-02
483 reads
For the past few months, one my customers had been trying to diagnose an issue with SQL Server paging out...
2017-05-02
1,315 reads
Last week I presented my session, SQL Server 2016 for Performance Tuning Lovers at the GroupBy conference. That was tons of...
2017-05-02
2,129 reads
I was once asked to add a new feature to an application. It was installed on multiple SQL Server instances...
2017-05-02
424 reads
There has been some discussion and concern over the changes to the speaker selection process for the PASS Summit. I’ve...
2017-05-12 (first published: 2017-05-01)
1,057 reads
In this module you will learn how to use the SandDance Power BI Custom Visual. The SandDance visual is an...
2017-05-16 (first published: 2017-05-01)
2,364 reads
Quite a while ago I created a couple of little security scripts to help me out with permissions research. Over...
2017-05-12 (first published: 2017-05-01)
2,309 reads
A casual twitter-conversation with Karla Landrum and some other peeps led me down memory lane on older events. Our SQL...
2017-05-01
435 reads
Morning all, I know it’s a bank holiday in the UK & Ireland today but some of us still have to...
2017-05-01
282 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