SQL Graph, part I
This blog is a kick-off the series that will be dedicated to the graph databases and engines, being more specifically...
2017-06-03
1,225 reads
This blog is a kick-off the series that will be dedicated to the graph databases and engines, being more specifically...
2017-06-03
1,225 reads
I was recently debugging a slow running SQL instance, when checking the wait stats I noticed a lot of BAD_PAGE_PROCESS...
2017-06-03
90 reads
A very quick post for today, recently I have been working on some code to gather metrics around SQL Server...
2017-06-02
470 reads
The weather in Dublin has reverted to type (aka rain) but hopefully we’ll get some sun this weekend! This week...
2017-06-02
452 reads
One of the new features SQL Server 2016 introduced is Dynamic Data Masking. This feature allows sensitive data to be...
2017-06-01
80 reads
Recently my wife and I were comparing Cortana with Siri. It’s sometimes fun to compare virtual assistants to see how...
2017-06-16 (first published: 2017-06-01)
2,751 reads
I have the honor of being selected to speak in Pensacola and Houston this month. Pensacola has been a great place for SQLSaturday and it is no different than...
2017-06-01
13 reads
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2017-06-15 (first published: 2017-06-01)
1,649 reads
I have the honor of being selected to speak in Pensacola and Houston this month. Pensacola has been a great...
2017-06-01
582 reads
They are watching me and my Azure SQL Database and recently I noticed a low impact performance recommendation was made....
2017-06-01
440 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