Thinking about taking a contract position? Questions to ask
Over the years, I have accumulated a set of questions that I usually ask the placement firm about a contract position...
2011-09-07
1,168 reads
Over the years, I have accumulated a set of questions that I usually ask the placement firm about a contract position...
2011-09-07
1,168 reads
Just in case you forgot, I wanted to remind everyone that the free, 24 Hours of PASS online event starts...
2011-09-06
661 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
Invitation for T-SQL Tuesday #22 – Data Presentation
Whilst I was winding down an eventful day with the family on Labor Day...
2011-09-06
8,647 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
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 use to improve performance of those parts. One of...
2011-09-06
33 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
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 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
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