What Would You Do? Management Scenario #1
I’m in the early stages of a book on managing and I’m starting to look for situations that might trigger...
2010-02-23
1,107 reads
I’m in the early stages of a book on managing and I’m starting to look for situations that might trigger...
2010-02-23
1,107 reads
I had an issue with a user recently. Actually it has been going on over a few weeks, due to...
2010-02-23
964 reads
Introduction
I am frequently getting requests for a new server to do this or that. Running through the usual questions to...
2010-02-23
482 reads
I really must thank Steve for his editorial on FizzBuzz. It seemed like a really good topic to do some...
2010-02-23
803 reads
After seeing an interesting blog post on AnandTech IT last week that showed slower query response time in x64 SQL...
2010-02-22
3,465 reads
During a recent client engagement I was asked if there was a quick way to add a row containing totals...
2010-02-22
740 reads
If you haven’t heard already this week there is a great free webinar series going on that’s meant for beginners. ...
2010-02-22
632 reads
"The world's favorite season is the spring. All things seem possible in May." - Edwin Way Teale This spring, the Portland,...
2010-02-22
465 reads
Once of the more common issues with working with data in a cube is that it does not always line...
2010-02-22
469 reads
I promise to make this worth your time. (Oops, I better make this quick.)
Alright so with PowerShell if you open...
2010-02-22
1,291 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