Linchpin People Partner
In April 0f 2012 I was fortunate enough to be asked to become Linchpin People LLC’s first ever TeamMate. (blog)....
2013-08-13
844 reads
In April 0f 2012 I was fortunate enough to be asked to become Linchpin People LLC’s first ever TeamMate. (blog)....
2013-08-13
844 reads
Luis Figueroa will be presenting Getting started with Master Data Services 2012 and then Jen Underwood will be presenting Practical...
2013-08-13
648 reads
If you run across migrating or copying a database structure for some purpose, yet need to change the database references...
2013-08-13
1,939 reads
It’s T-SQL Tuesday time again, and this month Mickey Stuewe hosts the party. It’s an interesting topic, and one that...
2013-08-13
1,001 reads
I'm spreading the word out about an event this weekend called Startup Weekend.
It's an event for developers, designers, and entrepreneurs...
2013-08-13
631 reads
In a previous post, I wrote about when and how to shrink your database files. The bottom line was that...
2013-08-13
2,361 reads
The dmv sys.dm_os_performance_counters is awesome, if you can understand it. This is how I make it easy to read and...
2013-08-13
2,670 reads
This review topic is still covered under the Optimize and Troubleshoot SQL Server lesson which covers 14% of the exam....
2013-08-13
590 reads
We have the distinct pleasure once again to have a party full of SQL enthusiasts. The best part is that few if any of us are even in the...
2013-08-13
9 reads
We have the distinct pleasure once again to have a party full of SQL enthusiasts. The best part is that...
2013-08-13
806 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