2015-10-05
14 reads
2015-10-05
14 reads
2015-10-05
18 reads
on 10th oct 01.30 pm pst, i will be speaking on “detect worst performing sql queries during peak hour” @ sqlsaturday,...
2015-10-05
782 reads
Data Compression
Data Compression is feature of Microsoft SQL Server to reduce the size of table on the basis of...
2015-10-05
1,143 reads
One of the ways that you take more direct control over your SQL Server instances is through the use of...
2015-10-13 (first published: 2015-10-05)
1,261 reads
It seems as though Git is taking the world by storm as the Version Control System (VCS) of choice. TFS...
2015-10-05
542 reads
It seems as though Git is taking the world by storm as the Version Control System (VCS) of choice. TFS...
2015-10-15 (first published: 2015-10-05)
7,610 reads
Having just completed several segments on the metadata for deployed sessions, it is time to bring all of that information together and see how it can be used -...
2015-10-05
20 reads
There is a wealth of information within Extended Events. Throughout this series, I have been working on exposing that wealth...
2015-10-12 (first published: 2015-10-05)
542 reads
Well I’ve done it. I’ve spoken at an event. I’ll discuss how I felt about it and what I learned...
2015-10-05
545 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