2014 Polar Plunge #SQLPlunge
In just a couple months… on March 1… I’m going to jump into a lake in Minnesota. Now it’s cold...
2014-01-14
646 reads
In just a couple months… on March 1… I’m going to jump into a lake in Minnesota. Now it’s cold...
2014-01-14
646 reads
It’s Monday time for this week’s weekly link round-up. If you want to catch these links “live” (so exciting), follow...
2014-01-13
1,072 reads
Photo credit – JStove
Old posts are like unicorns. You might see them just once, but it’d sure be nice to have...
2014-01-10
368 reads
We are often told that we need to practice our restores. And it might not be obvious, but the reason...
2014-01-10
434 reads
This May PASS will be hosting their second annual Business Analytics (BA) Conference in San Jose, CA. The conference brings...
2014-01-07
580 reads
image source
It’s the first Monday of 2014. Time for a new year and some resolutions to be a better DBA....
2014-01-06
722 reads
It’s Monday time for this week’s weekly link round-up. If you want to catch these links “live” (so exciting), follow...
2014-01-06
1,090 reads
In the past year, I’ve done a few presentations for Pragmatic WorksTraining on the T’s. If you aren’t familiar with Training...
2014-01-03 (first published: 2013-12-31)
3,296 reads
Photo credit – Scott Howard
I’ve always been a fan of the feeling when I find an old blog post that’s got...
2014-01-03
366 reads
Last year, I did a wrap up post of the year (also 2011 and 2010) to see where I landed from...
2014-01-01
754 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