Where did january go?
I have been pretty busy over january and the first half of feburary and haven’t had time to write any...
2016-02-16
56 reads
I have been pretty busy over january and the first half of feburary and haven’t had time to write any...
2016-02-16
56 reads
Something I always stress to people when I write and present is the importance of tracking data *before* you need...
2016-02-16
1,878 reads
This month’s host is Jorge Seggara, the @sqlchicken, who works for Microsoft. A busy schedule caused a slight delay, so...
2016-02-16
913 reads
A couple weeks ago I presented to the DBA Fundamentals virtual chapter. The presentation was recorded and is available from...
2016-02-16
108 reads
A couple weeks ago I presented to the DBA Fundamentals virtual chapter. The presentation was recorded and is available from...
2016-02-16
477 reads
A few weeks ago a number of us embarked on this year’s SQL Cruise, this time to the Caribbean. It was...
2016-02-16
631 reads
Update: Just getting started with Power BI? You can download the Power BI Report File for this KPI Report. Please...
2016-02-16
2,182 reads
For a while I’ve been wanting to do a project that used black iron pipe for the main structure. Kind...
2016-02-16
731 reads
Whilst working on an upcoming post I realised that I needed a decent data set on which to test some...
2016-02-15
724 reads
I ran across a neat piece of code recently from Gail Shaw. She answered a question on returning the base...
2016-02-15
1,454 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