Changing of the Guard
A few weeks ago Andy Leonard (Blog | Twitter) announced that he was stepping down from his position as PASS Regional...
2010-08-25
384 reads
A few weeks ago Andy Leonard (Blog | Twitter) announced that he was stepping down from his position as PASS Regional...
2010-08-25
384 reads
Not a sound from the pavement
Have you ever come across a SQL query that used to run faster? Has that...
2010-08-25
3,483 reads
You don’t need log backups. You don’t. They aren’t required for SQL Server to function.
The place when you don’t need...
2010-08-25
747 reads
So far I have seen lots of blogs about SQLPASS regarding the Slate for this years BoD. I do not...
2010-08-25
721 reads
I picked up The Secret Service: The Hidden History of an Engimatic Agency $13 @ Amazon) from the library, had been...
2010-08-25
650 reads
As we continue with the puzzles, I will continue to introduce new MDX functions. In this puzzle the requirements are...
2010-08-25
634 reads
Did you ever set a goal and then sort of … demolish it without realizing it?
That has happened this year....
2010-08-25
362 reads
Hey Folks,
We have some great speakers coming up at the SFSSUG in South Florida. Check out Devin Knight here talking...
2010-08-25
672 reads
This is just a short blast about the Las Vegas User Group called SSSOLV (Web | Twitter). I am not certain...
2010-08-24
508 reads
I was doing a little catching up on some blog reading today and came across a new post from Adam...
2010-08-24
945 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