WHERE to begin
Many people, once they start getting comfortable writing SQL, begin asking the same questions. One such common question is “Does...
2010-07-07
1,329 reads
Many people, once they start getting comfortable writing SQL, begin asking the same questions. One such common question is “Does...
2010-07-07
1,329 reads
I have been playing around with the new Microsoft Assessment and Planning (MAP) Toolkit 5.0 Beta 2 tool for the...
2010-07-07
833 reads
Well, I have just finished up my part in the abstract selection process for the PASS Summit. This was my...
2010-07-07
549 reads
This is one of the lessons you don’t want to hear when you’re 18, or the newest member of a...
2010-07-07
302 reads
Last week as an adult leader of my son’s Boy Scout Troop, I accompanied a dozen fine young men to...
2010-07-07
471 reads
Another story with a lesson today, this one about learning to work smarter and not just harder. Easy to say,...
2010-07-07
258 reads
All three licenses of Visual 2010 Ultimate with MSDN have been claimed, and here are the winners:
John Pertell (twitter | blog)Jeff...
2010-07-07
630 reads
UPDATE: The three licenses have been claimed!
Like other MVPs and Regional Directors, I've got three licenses of Visual Studio 2010...
2010-07-07
868 reads
I was having a long call with Andy Warren (blog | Twitter), fellow founder of SQLServerCentral and SQL Saturday. We were...
2010-07-07
633 reads
This post describes a helper class that I came up with to handle returning values from a CLR stored procedure. Continue reading ?
The post What is an Easy Way...
2010-07-07
20 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