Great to see you at SQLSaturday Houston 2017
Great to see all of you at #SQLSatHouston today, an awesome event put on by a great crew of volunteers....
2017-06-17
302 reads
Great to see all of you at #SQLSatHouston today, an awesome event put on by a great crew of volunteers....
2017-06-17
302 reads
Been looking forward to this weekend for a while now as it’s SQLSaturday Dublin tomorrow. I did a lightening talk...
2017-06-16
335 reads
With the release of SQL Server vNext CTP 1.4, the SQL Server Agent support is included. It enables DBAs to...
2017-06-16
3,092 reads
The theme of day 2 of the Microsoft Data Insights Summit was sessions, sessions, sessions! There were a ton of...
2017-06-15
248 reads
The theme of day 2 of the Microsoft Data Insights Summit was sessions, sessions, sessions! There were a ton of...
2017-06-27 (first published: 2017-06-15)
2,105 reads
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2017-06-15
1,149 reads
Thank you to everyone who participated in T-SQL Tuesday #091 which was on databases and DevOps. As I anticipated, this...
2017-06-23 (first published: 2017-06-15)
1,722 reads
I ran into an interesting error the other day while doing a partition switch.
Partition switch failed because : column ‘xyz’...
2017-06-26 (first published: 2017-06-15)
3,182 reads
The Data Science Virtual Machine (DSVM) is a customized VM image on Microsoft’s Azure cloud built specifically for doing data...
2017-06-23 (first published: 2017-06-14)
2,457 reads
My First DELETE Statement Here are the links to the previous posts in this series: My First SELECT Statement My...
2017-06-14
157 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