Evernote and the posting of scripts.
I heard of EverNote sporadically in the Twitter community and from my boss. I had checked it out and it seemed...
2010-05-23
558 reads
I heard of EverNote sporadically in the Twitter community and from my boss. I had checked it out and it seemed...
2010-05-23
558 reads
Today was the Portland SQL Saturday and Code Camp at the University of Portland and
it was a great experience. I...
2010-05-23
429 reads
Sorry guys, I’m off for a week in the sun – will return June 2nd with more SQL Server 2008 New...
2010-05-22
379 reads
Today's script is one that I wrote based on the logic outlined in a post by Paul Randal. This script is written for SQL 2000 but, as Paul notes,...
2010-05-21
15 reads
Today's script is one that I wrote based on the logic outlined in a post by Paul Randal. This script is written for SQL 2000 but, as Paul notes,...
2010-05-21
29 reads
Introduction
Today’s script is one that I wrote based on the logic outlined in this post by Paul Randal (Blog|Twitter). This...
2010-05-21
570 reads
Recently I received a new opportunity via email. Steve Jones at SQLServerCentral sent me an email to see if I...
2010-05-21
656 reads
My oldest son graduates high school today. After a long journey, he’s the first of my wife’s and my three...
2010-05-21
699 reads
Every day for the next couple of weeks, I aim to highlight one of SQL Server 2008’s new features, simply...
2010-05-21
398 reads
There was a time when almost every Chapter leader were asking PASS to find a place where the leaders can...
2010-05-21
405 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