SSC Question of the Day: DBCC Error 6
My latest question of the day on SQLServerCentral is DBCC Error 6. Text of the question below:
As the on-call DBA,...
2016-02-02
2,063 reads
My latest question of the day on SQLServerCentral is DBCC Error 6. Text of the question below:
As the on-call DBA,...
2016-02-02
2,063 reads
A few weeks back, the folks at Apress Publishing sent me a copy of the book Expert Performance Indexing in...
2016-02-11 (first published: 2016-02-02)
2,082 reads
Take a look this awesome document for the Azure SQL DB technical deployment with lot of the details that you need...
2016-02-02
525 reads
This will probably be a multiple stage discussion. The notes I’m providing today were sparked off of the content located...
2016-02-02
2,146 reads
For this post i worked on second puzzle in the Adventofcode series. This wasn’t as challenging as the first one, but...
2016-02-02
317 reads
[2016-02-02] PowerMap in Excel is a great tool with good design and comprehensive user experience. I’ve started using it about...
2016-02-09 (first published: 2016-02-02)
5,878 reads
Microsoft made available the first technical preview of its new Microsoft Azure Stack offering today. It was announced last week. Azure...
2016-02-09 (first published: 2016-02-01)
1,885 reads
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2016-02-10 (first published: 2016-02-01)
3,396 reads
Design a Better SQL Server Pricing Model ran on January 21, 2016 and as you can guess from the title is...
2016-02-01
590 reads
It’s Monday and time fora round-up of last week’s blog and twitter activity – and even an on-time post for all of...
2016-02-01
474 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