Webcast “Value of Performing Wait Analysis” This Week with Pragmatic Works
Ever have your SQL Server slow down for reasons that you can’t explain? Or did you spend all night tuning...
2013-02-18
578 reads
Ever have your SQL Server slow down for reasons that you can’t explain? Or did you spend all night tuning...
2013-02-18
578 reads
Our sessions were not chosen for neither SQLSaturday nor SQLBits but if you were interested; nothing is lost as now...
2013-02-18
723 reads
Every day, I link out a few blogs posts and articles that I’ve read or used from across the internet....
2013-02-18
598 reads
Anyone who has been reading my blog for a while should realize that several divisions in my company have been...
2013-02-18
1,025 reads
Welcome to Day 18 of my “A Month of PowerShell” series. This series will use the series landing page on...
2013-02-18
801 reads
Two weeks ago I delivered a presentation called “Things You Can Find In The Plan Cache” to the israeli SQL Server...
2013-02-18
496 reads
Actually I’m off to Bellevue this week for the annual MVP Summit that Microsoft puts on each year. This is...
2013-02-18
794 reads
It’s been four years – maybe more – since I last bought a workstation to use for development and lab work. It’s...
2013-02-18
749 reads
If you're located relatively near the Atlanta, Georgia area, I wanted to bring your attention to data warehousing training on...
2013-02-18
1,110 reads
PerformancePoint provides functionality to map several time dimensions across multiple data sources to a ‘Master Time Dimension’. Data sources that...
2013-02-18
1,854 reads
By Steve Jones
Here are the resources for my talk at Day of Data Boston. Slides –...
By Steve Jones
I’ve covered the values in a number of previous posts on the Book of...
By Arun Sirpal
When the evidence names the database, it says so. When it doesn’t, it stops....
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