Load Testing Your Storage Subsystem with Diskspd
One of the primary activities I do before bringing SQL Server into production is load testing the storage subsystem. On...
2015-09-15
2,848 reads
One of the primary activities I do before bringing SQL Server into production is load testing the storage subsystem. On...
2015-09-15
2,848 reads
As explained in the earlier post, a hash index places pointers to the rows in hash buckets, depending upon the value returned...
2015-09-15
703 reads
I installed the 2016 SSMS client recently and in one way or another any of my apps that I have...
2015-09-15
778 reads
I installed the 2016 SSMS client recently and in one way or another any of my apps that I have...
2015-09-15
45 reads
I installed the 2016 SSMS client recently and in one way or another any of my apps that I have...
2015-09-15
39 reads
I installed the 2016 SSMS client recently and in one way or another any of my apps that I have written that use the DacFx ScriptDom have all broken...
2015-09-15
5 reads
One of the current issues in Power BI is the inability to specify a Date table. The Date table is...
2015-09-15
932 reads
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2015-09-14
676 reads
I’m going to hopefully show examples of some qualities I have that will benefit me if chosen as a board...
2015-09-14
571 reads
Thank you to everyone that attended my webinar titled Power Pivot 101: An Introduction! Also, thank you to Thomas Leblanc...
2015-09-14
645 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