PreCon Sessions at the PASS Summit
My friend Andy Leonard posted yesterday about the process of getting selected for one of the coveted slots as a...
2010-06-01
391 reads
My friend Andy Leonard posted yesterday about the process of getting selected for one of the coveted slots as a...
2010-06-01
391 reads
For years, ever since I was first required to be on call, I’ve made it a habit to check my...
2010-06-01
632 reads
Last week, Microsoft released a slightly improved version of Robotics Developer Studio that supports Visual Studio 2010, and adds the...
2010-06-01
1,482 reads
One of my quarterly goals is to get speakers for the SQL Lunch webcasts. Q1 and Q2 of 2010 are...
2010-06-01
490 reads
Hi guys, apologies for the delay with Day 13 – I’ve been sunning myself in the Canaries !
Every day for the...
2010-06-01
404 reads
I woke up this morning to find Kathi Kellenberger disagreeing with Andy Leonard’s blog on picking the pre/post conference speakers....
2010-06-01
535 reads
When you create a server audit, one of the things that might surprise you is that the audit doesn’t record...
2010-06-01
327 reads
A holiday in the US, commemorating the men and women who have died in the service of our country.
Most...
2010-05-31
1,525 reads
One of my favorite people in the SQL community, Andy Leonard, posted a blog criticizing the selection process for the pre...
2010-05-31
1,784 reads
Post your responses to the above SQL Aloha Question of the Month in the comments section below (at www.bradmcgehee.com if...
2010-05-31
1,388 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