Database Weekly
At least this project is moving forward. We deployed a new design to the site this week, and turned it...
2008-07-26
1,445 reads
At least this project is moving forward. We deployed a new design to the site this week, and turned it...
2008-07-26
1,445 reads
We've had a project underway to upgrade these blogs, moving to a newer version of Community Server, better skinned, etc....
2008-07-25
1,645 reads
Earlier I wrote Blogging Thoughts - Part 1 where I discussed the various approaches I've seen in blogs (blogging when you...
2008-07-24
1,351 reads
Speaker: Darren Herbold
Midlands PASS Chapter - August 7, 2008 Meeting
The Midlands PASS chapter will hold our normally scheduled meeting on Thursday, August 7,...
2008-07-24
1,588 reads
For longer than I care to count I've used the Alt-Tab Powertoy from MS to get a nicer view of...
2008-07-23
1,298 reads
One of the things I've been looking at is different blogging styles and trying to figure out which to recommend...
2008-07-22
1,333 reads
The other day I fired up my old desktop, intending to use it as background in the podcasts. It gave...
2008-07-22
1,014 reads
It's been a while since I had anything up on SSC, a combination of Steve being in good shape on...
2008-07-22
494 reads
I think we all struggle to keep up with various credentials needed to live our internet lives (single sign on...
2008-07-21
552 reads
Call me odd, but I enjoy taking certification tests. It may be that I've always tested well, or perhaps it's...
2008-07-20
672 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