Me an MVP? It Really Happened
Yes, I was named a SQL Server MVP the most recent round of awards. I honestly can’t believe it. It...
2011-10-04
682 reads
Yes, I was named a SQL Server MVP the most recent round of awards. I honestly can’t believe it. It...
2011-10-04
682 reads
Yes, I was named a SQL Server MVP the most recent round of awards. I honestly can’t believe it. It is a great honor to have been recognized for...
2011-10-04
12 reads
Sie wollen SQL Server
Abfragen um 100% oder gar 1000% beschleunigt haben? Gleichzeitig wollen Sie Hardware–
und Lizenzkosten Ihrer SQL Server Anwendungen...
2011-10-04
1,089 reads
I’m naturally paranoid. I suppose it keeps me honest. When I went to work for SolidQ earlier this year – and...
2011-10-04
601 reads
On Windows 2003 Enterprise Edition Service Pack 2 TCP Chimney was enabled by default. It took me a while to...
2011-10-04
1,255 reads
There is something wrong in the SQL force today… here it is the first Tuesday of a month, and we’re...
2011-10-04
801 reads
It's a great day for me and Moulding and Millwork (the company I work for). A few weeks back, I...
2011-10-03
697 reads
It's a great day for me and Moulding and Millwork (the company I work for). A few weeks back, I let you all know that I'd been given the...
2011-10-03
11 reads
It's a great day for me and Moulding and Millwork (the company I work for). A few weeks back, I let you all know that I'd been given the...
2011-10-03
13 reads
Hidy-ho there, neighbors! This is an update of last year’s Attend the PASS Summit from Home blog. I’ll be updating this...
2011-10-03
1,544 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