Presenting At SQL Saturday #33 - Charlotte
Just a quick note to let you know that I'm presenting two sessions at SQL Saturday #33 in Charlotte on...
2010-02-17
745 reads
Just a quick note to let you know that I'm presenting two sessions at SQL Saturday #33 in Charlotte on...
2010-02-17
745 reads
I am a nervous wreck today. Tomorrow we will have the first International speaker for our user group. Jimmy may...
2010-02-17
746 reads
????? ???????, ??? ?????? ???? ?????? ??????????? ??????, ????? ??? ???? ???? ?????? ????? ???? ????? ???? ?????? ????? ?????????....
2010-02-17
346 reads
Many companies have a very rigid development lifecycle for all products or solutions they develop.Deploying to each of these environments...
2010-02-17
880 reads
Many companies have a very rigid development lifecycle for all products or solutions they develop. Deploying to each of these...
2010-02-17
3,934 reads
I have been installing and configuring SSRS since the initial release. I have always encountered several different caveats when upgrading...
2010-02-17
735 reads
The SQLServerCentral servers are in the UK, and installed by UK personnel at Rackspace. We recently switched servers to Rackspace,...
2010-02-17
963 reads
I wrote an editorial for SSC back on January 19th about the perfect being the enemy of the good. It’s...
2010-02-17
512 reads
I have been pondering recently what helps me to sleep at night. Or, conversely, what prevents me from sleeping at...
2010-02-17
1,340 reads
Yesterday I had the Adversity Index, today it’s the Power Grid from MediaIte. It attempts to score the power of...
2010-02-17
753 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...
By Steve Jones
Here are the resources for my talk at Day of Data Boston. Slides –...
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