Speaking At The 2011 PASS Summit
The official notices went out to speakers last week and I am privileged to have the opportunity to present two...
2011-06-21
484 reads
The official notices went out to speakers last week and I am privileged to have the opportunity to present two...
2011-06-21
484 reads
This should be another quick one.
Earlier I saw a forum post where someone asserted that SQL always executes an update...
2011-06-21
4,834 reads
In today's weblog posting I want to talk about replaying SQL Server workloads with
the RML Utilities. RML Utilities stands for...
2011-06-21
4,239 reads
Well folks, we’re already to the third Tuesday of June. Where’s the summer going to? That means that this afternoon...
2011-06-21
710 reads
I have actually written about this subject earlier on my Danish blog (http://www.performanceduo.com/post/Index-Rebuild-progress.aspx), but last week when working on a...
2011-06-21
18,104 reads
If you're in a New York State of Mind (song by Billy Joel), then you'll like the triple play of...
2011-06-21
1,342 reads
I recently bought a new teaching and presentation laptop, which is a Toshiba Portege R835-P55X, which I found at the...
2011-06-21
953 reads
Introduction
In my last post, I had explained what could be the best value of Fill Factor for the indexes in...
2011-06-20
5,425 reads
While nothing beats going to a conference, the next best thing is to watch the recorded sessions. Fortunately, Microsoft has...
2011-06-20
832 reads
Hi all! I’m on vacation this week, but I’ve cleverly scheduled this blog post so you won’t miss me too...
2011-06-20
1,578 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