The Free-Con Returns to Seattle
On Monday, October 24, 2016, there will be a Free-Con in Seattle for those that might not be attending a...
2016-10-11
440 reads
On Monday, October 24, 2016, there will be a Free-Con in Seattle for those that might not be attending a...
2016-10-11
440 reads
Today is the last day to register to vote in Texas. I’m not sure about other states in the US...
2016-10-11
432 reads
Busy, busy, busy.
A lot of the work around PASS currently is getting ready for Summit. I’m prepping my part in the...
2016-10-11
443 reads
Harassment is a problem at some of the conferences we go to. What can we, as attendees and speakers and...
2016-10-11
417 reads
As I scrolled through the twitter feeds I ran across one from Tom LaRock (b|t) on PASS Summit being three...
2016-10-11
412 reads
My friend Andy Mallon (b/t) is hosting T-SQL Tuesday this month. In case you aren’t aware T-SQL Tuesday is a...
2016-10-11
428 reads
TSQL Tuesday is a monthly blog part hosted by a different blogger every month – it was started by Adam Machanic....
2016-10-11
421 reads
Although, I know I am bit late to share this thing on our blog but it says in Indian proverb...
2016-10-11
712 reads
It’s 2016. So why are we still dealing with T-SQL code and design patterns that were designed 7 versions ago?
In the 15 years I have been using databases professionally, we’re still...
2016-10-11
12 reads
By Steve Bolton
…………Fuzzy set relations carry an added layer of complexity not seen in ordinary “crisp” sets, due to the...
2016-10-10
812 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