Next Step for the One Laptop Per Child Project
I’ve been a fan of the OLPC project, even buying to raffle off at an event just so I could...
2010-02-08
356 reads
I’ve been a fan of the OLPC project, even buying to raffle off at an event just so I could...
2010-02-08
356 reads
They say that imitation is the sincerest form of flattery. I have been following along as Paul Randal has been...
2010-02-07
4,347 reads
This is a short post on SQL Server storage best practice and what i have learned over the years… Much...
2010-02-07
1,348 reads
Useful link. This is a great best practice article/white paper from Tom Davidson and Danny Tambs.
The word document (880kb) can...
2010-02-07
592 reads
I have been trying for a few days to implement a Service Broker implementation to, service the threading framework I...
2010-02-07
554 reads
I saw a post recently from my fellow Red Gate-er, Brad McGeHee, on backups. Brad’s got a ton of experience...
2010-02-07
431 reads
I have been trying for a few days to implement a Service Broker implementation to, service the threading framework I...
2010-02-07
1,797 reads
I’ll be speaking in Portland, OR and Tumwater, WA the week of February 8th, 2010. The details, and the session...
2010-02-05
379 reads
As I mentioned earlier in the week I had promised Andy an interview, we finished it up yesterday and the...
2010-02-05
353 reads
Reporting Services has many expressions that can manipulate date fields. These expressions can be used just about anywhere in SSRS...
2010-02-05
5,947 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