The Call for Nominations to the SQL PASS Board of Directors is Now Open Until October 24, 2008
If you have ever considered taking a leadership role in PASS, you should seriously consider becoming a SQL PASS board...
2008-10-07
422 reads
If you have ever considered taking a leadership role in PASS, you should seriously consider becoming a SQL PASS board...
2008-10-07
422 reads
You can find details about these great free events at www.sqlsaturday.com. It's definitely been interesting watching them grow from afar...
2008-10-06
315 reads
I spend the weekend in Indianapolis at the IndyTechFest 2008 and had a great time. It's a smaller, regional conference...
2008-10-06
321 reads
Just got back from attending IndyTechFest in Indianapolis, IN, which was held on Saturday, October 4, 2008, and had nearly...
2008-10-06
713 reads
As I mentioned yesterday things went pretty well, but always room for improvement. Here are some notes, if nothing else...
2008-10-06
299 reads
Why did I write this? I got challenged by Andy Warren
to write a bit about why I wrote something. I...
2008-10-06
515 reads
The version of SQL Server 2008 Books Online that was included with the RTM version has now been updated to...
2008-10-06
519 reads
/* Anith Sen's achievement, in his article 'Concatenating Row Values in Transact-SQL' has been to list and illustrate the many ways...
2008-10-06
1,768 reads
Pershendetje juve qe punoni vazhdimisht me SQL Server 2008!
Une sapo e instalove SQL Server 2008 RTM versionin e fundit edhe...
2008-10-05
542 reads
Hi there, I just installed the SQL Server 2008 RTM and I try to open with shortcut CTRL+R writing sqlwb...
2008-10-05
485 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