SQL Saturday Chicago Precon – Updated
UPDATE: The SQL Saturday in Chicago this year has hit peak capacity two months before the event! However, if you enroll...
2017-01-16
364 reads
UPDATE: The SQL Saturday in Chicago this year has hit peak capacity two months before the event! However, if you enroll...
2017-01-16
364 reads
You’ll frequently hear that you should add the COPY_ONLY clause when taking an ad-hoc full backup to avoid messing up...
2017-01-19 (first published: 2017-01-16)
2,558 reads
I’ve been a scribbler for as long as I can remember, in fact I’m not sure that I write everything...
2017-01-16
352 reads
We all experienced blocking one way or the other, in the old days, the only method is wait J
This is...
2017-01-19 (first published: 2017-01-16)
8,421 reads
1) As MS is kept increasing number of option while installation. To reduce no. of click, if setup pass Rules...
2017-01-16
579 reads
This week we started our Centino Systems weekly newsletter. Check out the first edition here!
The newsletter is going to include the latest in SQL Server and other things in...
2017-01-15
19 reads
This week we started our Centino Systems weekly newsletter. Check out the first edition here!
The newsletter is going to include...
2017-01-15
656 reads
There are many ways to reap benefits from being a member of the PASS Global Community. Today, as I write...
2017-01-17 (first published: 2017-01-14)
1,424 reads
When I want to upgrade hardware, I usually turn to Glenn Berry for advice. He’s the person I know that...
2017-01-13
536 reads
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2017-01-18 (first published: 2017-01-13)
2,123 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