An Update on My 2012 Mac Air
Typically I want to get 3 years out of a laptop to amortize spending on a premium grade machine. I’m...
2016-10-12
436 reads
Typically I want to get 3 years out of a laptop to amortize spending on a premium grade machine. I’m...
2016-10-12
436 reads
If you need to do code comparison on a lot of files in Visual Studio, I ran across an extension...
2016-10-12
819 reads
This is the last part of the series, where I discuss about the monitoring application that I build. If you...
2016-10-12
1,339 reads
Welcome to T-SQL Tuesday #83 being hosted this month by Andy Mallon (blog|@AMTwo). This month’s topic is “We’re still dealing...
2016-10-11
722 reads
In this article I’ll show you how to connect to SQL Azure database instance and create a simple database. First you have to own an Azure account. In the account you...
2016-10-11
7 reads
In this article I’ll show you how to connect to SQL Azure database instance and create a simple database. First you have to own an Azure account. In the account you...
2016-10-11
19 reads
#TSQL2SDAY is a monthly blog party hosted by a different blogger each month. This blog party was started by Adam...
2016-10-11
401 reads
In this article I’ll show you how to connect to SQL Azure database instance and create a simple database. First you have...
2016-10-11
292 reads
It’s about time I got back into participating in the T-SQL Tuesday block parties that are hosted by community members...
2016-10-11
384 reads
If you've ever designed a database you've most certainly run into the need for what we called history tables, those tables that stored the history of row changes (sometimes...
2016-10-11
16 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