Azure SQL Database Live Migrations
Unfortunately, with Azure SQL Database you are not able to take an existing SQL Server Backup and restore it on...
2016-08-01 (first published: 2016-07-26)
2,277 reads
Unfortunately, with Azure SQL Database you are not able to take an existing SQL Server Backup and restore it on...
2016-08-01 (first published: 2016-07-26)
2,277 reads
I’ve had this idea for some time. It’s been bugging me, but I haven’t really been pressured to write, nor...
2016-08-05 (first published: 2016-07-26)
1,628 reads
This week is my fourth week on the spin being involved in a Learning Tree Course. This week we have...
2016-07-26
607 reads
I’m proud to announce that I will be speaking at SQL Saturday Baton Rouge on August 6th 2016! This will be my forth SQLSaturday event this year and I’m really excited...
2016-07-25
14 reads
I’m proud to announce that I will be speaking at SQL Saturday Baton Rouge on August 6th 2016! This will be my...
2016-07-25
440 reads
When you feel you deserve to be an MVP, are you prepared to do more work? Being an MVP is not just an award - it is a commitment...
2016-07-25
7 reads
I have been sitting on this article for a while now. I have been tossing around some
thoughts and finally...
2016-07-25
562 reads
In this module you will learn how to use the Chord Power BI Custom Visual. Chord diagrams show directed relationships...
2016-08-02 (first published: 2016-07-25)
2,299 reads
I recently read an a blog on MSDN that covered new features for the query optimizer in SQL Server 2016....
2016-07-29 (first published: 2016-07-25)
2,037 reads
Row Level Security (RLS) is a great new feature in SQL Server 2016. It’s been in Azure SQL Databases for...
2016-07-29 (first published: 2016-07-25)
1,299 reads
By Steve Jones
I caught this interesting item over on Pinal Dave’s blog: Eleven Interview Questions that...
By Hemantgiri
I use color-coded connections in SSMS to distinguish Production, Pre-Production, UAT, and Development. But...
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