BI on SQL Azure
Introduction
A newly emerged concept ‘cloud computing’ is a phenomenon which is quickly embedding into all sectors of IT industry. Data...
2011-07-20
530 reads
Introduction
A newly emerged concept ‘cloud computing’ is a phenomenon which is quickly embedding into all sectors of IT industry. Data...
2011-07-20
530 reads
There are a lot of fantastic new features in the latest CTP 3 release of PowerPivot, which you can download...
2011-07-20
2,516 reads
Tonight I took my first crack at getting SQL Server Denali up and running on my machine.From what I had...
2011-07-20
1,416 reads
No posts in a couple weeks, except the Re-Blogs. Guess the running around and getting married I did last week...
2011-07-20
470 reads
It’s been my experience that most DBA’s aren’t properly recognized for their contributions to their organizations. As the “protectors of...
2011-07-19
745 reads
This is what my audience looked like from the stage just before I started speaking at the first of my...
2011-07-19
997 reads
Yesterday a friend told me a tale of an interview he conducted with a, shall we say, less than desirable...
2011-07-19
705 reads
I’ve put a lot more emphasis on networking in the last few years and I’ve always considered it an investment,...
2011-07-19
621 reads
In Denali CTP3, we have a new of new functions to play with. For this post, im going to focus...
2011-07-19
811 reads
Just announced yesterday, SQLSaturday #100 will be held in Brazil on November 26, 2011. Just a little over four years...
2011-07-19
776 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