Tobias Ternstrom’s Great Denali Preview
Tobias Ternstrom from Microsoft gave a great talk at Tech Ed regarding upcoming features of SQL Server Denali. His presentation...
2011-06-30
2,231 reads
Tobias Ternstrom from Microsoft gave a great talk at Tech Ed regarding upcoming features of SQL Server Denali. His presentation...
2011-06-30
2,231 reads
Come Get Your Learn On!
You heard right, on October 1st 2011 you need to be in Austin, TX. We have...
2011-06-30
1,461 reads
Come Get Your Learn On!
You heard right, on October 1st 2011 you need to be in Austin, TX. We have...
2011-06-30
1,545 reads
My friend Rob Hatton pointed me to Google Correlate, a new service that lets you explore data trends in a...
2011-06-30
1,799 reads
This post is password protected. To view it please enter your password below:
Password:
2011-06-30
1,483 reads
Study Group
For the past few months, I’ve been openly working towards the SQL Server MCM. I failed a couple times...
2011-06-30
1,806 reads
There was confusion recently with a poster that was moving permissions around and asked why I said they should revoke...
2011-06-30
11,289 reads
A moment ago, I was deep in some coding. What it was is not entirely relevant, With a page-full of...
2011-06-30
2,612 reads
Here at Pragmatic Works, we enjoy putting on a show for the community. As can be seen by Training on...
2011-06-30
1,423 reads
Someone asked me a long time ago how to do watermarking in Reporting Services and I meant to write a...
2011-06-30
2,802 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