PASS Summit 2009 – Wrap-up – What’s the Value?
I’ve already written four posts (1, 2, 3, 4) that discussed what I did at the Summit, including what I...
2009-11-09
419 reads
I’ve already written four posts (1, 2, 3, 4) that discussed what I did at the Summit, including what I...
2009-11-09
419 reads
Reports that use an Analysis Services cube as a data source can often have performance problems during pre-execution. Before you...
2009-11-09
3,079 reads
I’ve never been to Las Vegas, and was looking forward to going for the first time this week for SQL...
2009-11-09
579 reads
Here is an updated version of my diagnostic information queries for SQL Server 2005. You can get the SQL Server...
2009-11-09
2,297 reads
SQLServerCentral.com is sponsoring a track at SQL Server Connections this Wednesday and Thursday, November 11th and 12th. If you are...
2009-11-09
363 reads
This is a temporary post that was not deleted. Please delete this manually. (e29f86d1-0b33-4a68-adcd-77248245d9b5 - 3bfe001a-32de-4114-a6b4-4005b770f6d7)
2009-11-09
569 reads
Barnes and Noble recently announced their new e-book reader, the Nook. It looks pretty cool, and in some ways I...
2009-11-09
801 reads
Meeting URL: Join Meeting
Click Here to Add to Outlook Calendar
Click the above Meeting URL around 11:00 AM CST on 10/12/2009...
2009-11-09
728 reads
I got home Friday evening after spending several days in Seattle at PASS 2009. This was my seventh PASS Summit...
2009-11-08
441 reads
You have probably heard that the SQL Server 2008 R2 CTP is available, but you may not have given it...
2009-11-08
418 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