Top 6 Myths of Transaction Logs
Top 6 Myths of Transaction Logs I think there is a lot of misunderstanding concerning database transaction logs in SQL Server. I...
2010-03-10
4,566 reads
Top 6 Myths of Transaction Logs I think there is a lot of misunderstanding concerning database transaction logs in SQL Server. I...
2010-03-10
4,566 reads
That's right, folks, I'm now a model. Or at least, a model DB. Tom LaRock released his most recent rankings and...
2010-03-10
588 reads
We had a great turnout of 25 people for last night’s OPASS Meeting sponsored by Quest Software.
We started the meeting...
2010-03-10
379 reads
Haven't been around for a while, but doing some interesting work with Database Refactoring and Effective Dating...more posts coming soon....
2010-03-10
598 reads
PASS has released the survey results as well as its decision about where to hold future Summit events. The decision...
2010-03-10
1,989 reads
We put this together last year and we’re up to 270 blogs listed, but I’m sure we’re still missing some,...
2010-03-10
519 reads
For the handover of SQLSaturday to PASS, Rushabh Metha, President of PASS, came to the Charlotte SQL Saturday, where Andy...
2010-03-10
917 reads
SQL Server Powershell Powershell Extensions (SQLPSX) has been updated to version 2.1. The most notable change is the addition of...
2010-03-10
1,980 reads
If you want to record the results of some useful, instance level DMV queries somewhere where you can easily query...
2010-03-09
1,180 reads
Yesterday was International Woman’s Day – Let’s take the time to honour a few great women at the top!
Firstly, to Her...
2010-03-09
1,034 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