PASS Business Analytics presents MVP Jessica Moss: Putting the Business Into Business Analytics
I saw Jessica Moss presenting at the PASS Summit a couple of years ago on Reporting Services. She has been...
2013-03-26
997 reads
I saw Jessica Moss presenting at the PASS Summit a couple of years ago on Reporting Services. She has been...
2013-03-26
997 reads
I’ve worked in a lot of different offices and office layouts over the years. Looking back I’ve been lucky (or...
2013-03-26
991 reads
We’re less than three weeks away from the Chicago SQL Saturday. This will be my fourth time heading to Chicago...
2013-03-26
655 reads
I had someone ask me the other day if they are using SSIS 2012 Project Versions, is there any benefit...
2013-03-26
4,101 reads
I’m late writing this, and I did mean to get to it earlier, but life got in the way.
TL;DR: It...
2013-03-26
1,086 reads
Database mirroring has been around since SQL Server 2005, and it's turned out to be an excellent step up from...
2013-03-26
2,460 reads
In our earlier discussion about non clustered index ,we have seen that, the leaf level of a non clustered index...
2013-03-25
2,626 reads
Every week, Pragmatic Works offers up its “Training on the Ts” webcast series and this month, in honor of Women’s History Month,...
2013-03-25
733 reads
I will be speaking on both Friday and Saturday (April 5-6) at SQLSaturday #197 in Omaha, Nebraska. I will be...
2013-03-25
790 reads
Often times I keep checking the error log to make sure if everything is running fine. Here is an undocumented stored...
2013-03-25
413 reads
By Steve Jones
Here are the resources for my talk at Day of Data Boston. Slides –...
By Steve Jones
I’ve covered the values in a number of previous posts on the Book of...
By Arun Sirpal
When the evidence names the database, it says so. When it doesn’t, it stops....
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