Alternating Group Colors and Alternating Row Colors
Alternating Group Colors and Alternating Row Colors
After posting my recent blog about Alternating Group Colors, I’ve been asked several times...
2010-06-04
1,365 reads
Alternating Group Colors and Alternating Row Colors
After posting my recent blog about Alternating Group Colors, I’ve been asked several times...
2010-06-04
1,365 reads
Every day for the next couple of weeks, I aim to highlight one of SQL Server 2008’s new features, simply...
2010-06-04
522 reads
I'm excited to be presenting Profiling: It's Okay in SQL Server to the Seacost SQL Server Users Group in Portsmouth,...
2010-06-04
304 reads
Recently I have been installing a new SQL Server 2008 instance on Vmware vSphere based virtual server, the OS was...
2010-06-04
1,214 reads
As you may recall we relaunched this late last year, trying to fill a gap in both content on sqlpass.org...
2010-06-04
279 reads
I’m flying out early Sunday morning, looking forward to four days at TechEd. It will be a break from the...
2010-06-04
282 reads
I’m leaving today for SQL Saturday #22 in Pensacola, FL. I’ll be there tonight and tomorrow, leaving Sun morning for...
2010-06-04
359 reads
After the first release of SQLIse (“SQL Ice”)--a basic IDE for T-SQL that includes ability to edit, execute, parse, format...
2010-06-04
1,594 reads
I have posted this before elsewhere. However, due to the frequency in which I come across this, I feel it’s...
2010-06-03
597 reads
To kick off this blog, I am going to start with a topic that is hot on the mind of...
2010-06-03
759 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