TechEd 2010 – Tuesday Morning
Leisurely morning, leaving for the convention center about 8 am. Bus service has been great, they have a staff person...
2010-06-08
480 reads
Leisurely morning, leaving for the convention center about 8 am. Bus service has been great, they have a staff person...
2010-06-08
480 reads
We have come to that time of month again – blog party. This time, the party is hosted by Jorge Segarra...
2010-06-08
1,048 reads
It’s the million dollar question. Literally.
I stopped by the SQL Server area at TechEd in the expo to talk to...
2010-06-08
1,187 reads
Every day for the next couple of weeks, I aim to highlight one of SQL Server 2008’s new features, simply...
2010-06-08
464 reads
After the keynote went back to the press room to write up notes (which I posted already), check email, eat...
2010-06-08
494 reads
The Royal Canadian Mint, in Ottawa, is located at a large castle. How cool is that? Would you want to...
2010-06-08
504 reads
It's that time of the month again, time for the next round of T-SQL Tuesday posts. This month is being...
2010-06-08
995 reads
As I age in years, I realize more and more how blessed I was to attend The Citadel, the Military...
2010-06-08
1,276 reads
In this edition of T-SQL Tuesday, Jorge Segarra (Blog | Twitter) asks us what our favorite new feature of SQL 2008...
2010-06-08
1,127 reads
T-SQL Tuesday # 07: Walkthrough for Sysprep in SQL Server 2008 R2
This blog entry is participating in T-SQL Tuesday #007, hosted...
2010-06-08
4,938 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