Meme Monday: Favorite PASS Memory
Have to complete my assignment from the Rockstar this month since I’ve missed the last several (he gets all weepy,...
2011-09-06
607 reads
Have to complete my assignment from the Rockstar this month since I’ve missed the last several (he gets all weepy,...
2011-09-06
607 reads
It's quite common to have parts of your Data Flow that are slow, and there are some techniques you can use to improve performance of those parts. One of...
2011-09-06
12 reads
It's quite common to have parts of your Data Flow that are slow, and there are some techniques you can use to improve performance of those parts. One of...
2011-09-06
33 reads
Coming up on September 24th we’ll be doing our fifthannualSQLSaturday here in Orlando. We’re still at Seminole State College but...
2011-09-06
675 reads
It’s time to start looking deeper at the next release of SQL Server. As such, the September PASSMN meeting will...
2011-09-06
1,105 reads
Three months back in this blog post – T-SQL Enhancements in SQL Server Denali (2011) – we promised to do a series...
2011-09-06
1,002 reads
IFF Function
If you are an old Access or Excel “developer” you know this one. This is not a function I...
2011-09-06
2,985 reads
It's quite common to have parts of your Data Flow that are slow, and there are some techniques you can...
2011-09-06
876 reads
Living in the South East has it perks with the abundant rivers, lakes, streams, mountains, and friendly people. It also...
2011-09-05
419 reads
A reader wrote in to me last weekend regarding the MCTS Exam 70-432 (SQL Server 2008, Implementation and Maintenance).
Hi John,
I...
2011-09-05
2,402 reads
By Steve Jones
I caught this interesting item over on Pinal Dave’s blog: Eleven Interview Questions that...
By Hemantgiri
I use color-coded connections in SSMS to distinguish Production, Pre-Production, UAT, and Development. But...
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