SQL Server 2016 Preview...Coming this Summer
It was announced yesterday at the Ignite conference that we’ll be getting a summer preview of SQL Server 2016. With...
2015-05-05
678 reads
It was announced yesterday at the Ignite conference that we’ll be getting a summer preview of SQL Server 2016. With...
2015-05-05
678 reads
My recent post on using the new DiskSpd utility to help you benchmark your storage is a great primer on how...
2015-05-14 (first published: 2015-05-05)
7,673 reads
I live for questions. And my favorite questions are the ones where I’m not completely sure of the answer. Those...
2015-05-13 (first published: 2015-05-05)
5,936 reads
When delivering a SQL Server Reporting Services (SSRS) solution with lots of subscriptions, it's helpful to also include some utility...
2015-05-05
1,322 reads
HELP! My database is stuck in single user mode!
I answered this twitter post a while back and figured it would...
2015-05-13 (first published: 2015-05-05)
6,187 reads
Last month Microsoft announced that they had acquired the DataZen mobile BI platform and were adding it to their enterprise...
2015-05-05
223 reads
Last month Microsoft announced that they had acquired the DataZen mobile BI platform and were adding it to their enterprise...
2015-05-05
844 reads
Quick, short and sharp blog post for those interested in the latest and greatest that the SQL Server mothership has to offer… It was announced by the Microsoft CEO...
2015-05-05
8 reads
Quick, short and sharp blog post for those interested in the latest and greatest that the SQL Server mothership has...
2015-05-05
552 reads
Couldn't find documentation showing that upgrade from SQL 2014 evaluation version was possible to developer edition. I just successfully converted...
2015-05-04
2,620 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