The ‘addicted to data’ decade is still in its infancy
“Content is king” is the golden rule of the SEO. The semantic web is all about data. Any web or traditional application has no value without data. Few people...
2010-06-25
21 reads
“Content is king” is the golden rule of the SEO. The semantic web is all about data. Any web or traditional application has no value without data. Few people...
2010-06-25
21 reads
In working on applications at client sites you tend to come across code that makes you think "what were they...
2010-06-25
914 reads
I’ve had the opportunity this week to take class with Don Jones (blog | twitter), PowerShell guru and author of PowerShell...
2010-06-25
2,108 reads
Whilst perusing the forums over at SQL Server Central today I stumbled across an interesting question regarding how to identify...
2010-06-25
575 reads
It has been awhile since my last post mainly because I was on a working vacation in northern New England...
2010-06-25
462 reads
It is generally recommended that 'lock pages in memory' be enabled for your SQL Servers to prevent the OS paging...
2010-06-25
9,663 reads
I’ve heard this before, it came up in the Tufte seminar I took, and it also was something that grated...
2010-06-25
1,105 reads
I’ve been a judge in this contest for the last 3 years, and each years we’ve had really good finalists,...
2010-06-25
822 reads
If you’re a blogger or a twitterer or a SQL speaker or PASS volunteer, you do it because you have...
2010-06-25
563 reads
One of the first roadblocks many developers run into when using SQL Server for the first time is firing off...
2010-06-24
2,627 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