Laptop Prevents Fire
Last night, Steve Jones, 41, was preparing a pot of brown rice. After feeling all, he was making a bland...
2009-01-13
624 reads
Last night, Steve Jones, 41, was preparing a pot of brown rice. After feeling all, he was making a bland...
2009-01-13
624 reads
If you live in the Colorado area, you might want to attend the upcoming, free Rocky Mountain Tech Tri-Fecta event,...
2009-01-13
426 reads
SQLBits is the largest free SQL Server conference in Europe, and will include 20 hours of SQL Server sessions to...
2009-01-13
719 reads
I have been thinking of writting a blog for the past 6 months but never had time or could I...
2009-01-13
447 reads
I'm a technology guy, but one lesson I've learned is that not all solutions can be solved by throwing technology...
2009-01-12
725 reads
When I was in graduate school I wanted an internship for the summer to get some experience and get ready...
2009-01-12
764 reads
I've mentioned before that I was on Twitter and I know that for some the question is still out on...
2009-01-12
926 reads
I decided to attend to see how the group was doing and learn a little more about Dot Net Nuke...
2009-01-11
635 reads
I don’t do resolutions - they’re cliché, overdone, and rarely stick. However, I’m a believer in setting goals and periodic progress...
2009-01-09
1,051 reads
This came up on Twitter today. I have a search set for "SQL Server" and it pulled up someone who...
2009-01-09
952 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