Names From the Past
Can you guess what all of these people have in common?
Shawn WeisfeldJoe HealyBarry RalstonTrey JohnsonJon WinerWes DumeyDonnie ReynoldsKevin JacobsJoseph MemmoBrian...
2016-06-22
487 reads
Can you guess what all of these people have in common?
Shawn WeisfeldJoe HealyBarry RalstonTrey JohnsonJon WinerWes DumeyDonnie ReynoldsKevin JacobsJoseph MemmoBrian...
2016-06-22
487 reads
That’s right, back-to-back roll. I will be presenting my second SQLSaturday session at the upcoming Indianapolis #530, Saturday, Aug. 13th, 2016. My session, Stretch Database and Managed Backups: Cloud...
2016-06-22
11 reads
That’s right, back-to-back roll. I will be presenting my second SQLSaturday session at the upcoming Indianapolis #530, Saturday, Aug. 13th,...
2016-06-22
144 reads
We’ve advanced the closing date for the SQLSaturday Orlando call for speakers to July 17. That’s to give us time...
2016-06-22
398 reads
Tldr: A bit of a rant. I’m not spending a bunch of time crafting this.
I have mixed feelings about searching...
2016-06-22
501 reads
I’ve been working with ReadyRoll quite a bit the last few months, and wanted to start putting out some information....
2016-07-01 (first published: 2016-06-22)
1,588 reads
This past week, Microsoft revealed that SQL Server 2016 will be available in June. Exciting news indeed! With that said,...
2016-06-22
477 reads
In the first entry in this SQL Server security series, we will demonstrate a brute force attack against SQL Server...
2016-06-22
493 reads
This feature is Enterprise only which can limit who it is useful to, but I find the whole concept fascinating....
2016-06-22
583 reads
It seems like it was just yesterday that we all said goodbye in Seattle at last year’s PASS Summit, but...
2016-06-22
354 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