PASS Summit 2016: Dinner, Dinner, Game
Part of making a week long trip to a big event like the PASS Summit successful is finding something to...
2016-10-20
441 reads
Part of making a week long trip to a big event like the PASS Summit successful is finding something to...
2016-10-20
441 reads
I am pleased to announce that we are launching our next round of all-day precon training session at the upcoming SQL Saturday in Washington...
2016-10-20
453 reads
Events like the PASS Summit aren’t just about education. They are a chance to meet new people, get some distance from...
2016-10-20
451 reads
Question: Who owns your availability groups?
The person who creates the AG becomes the owner by default. Did you know that...
2016-10-20
17,691 reads
Machine Learning is a very powerful technology used in the field of predictive analytics. As far as I see it,...
2016-10-20
428 reads
Long ago there were locking / blocking problems with the SELECT INTO statement. That’s not the case anymore and for AdHoc...
2016-10-20
1,055 reads
Question: Who owns your availability groups?
The person who creates the AG becomes the owner by default. Did you know that...
2016-10-20
297 reads
About 8 months ago I wrote an article (http://www.sqlservercentral.com/articles/SQL+Server/139998/ ) where I showed you how to migrate your “earth” SQL Database...
2016-10-20
476 reads
I saw this tweet from the always awesome @DBArgenis and @sqldbawithbeard and couldn't help but feel a bead of sweat...
2016-10-20
144 reads
Welcome back to another episode of This Week In Data! If you missed our previous episodes, you can watch them...
2016-10-19
736 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