Run SQL Server In A Container Today July 2015
Containers are one of the big things at the moment, Microsoft has recently announced that they will be bringing official...
2015-07-03
811 reads
Containers are one of the big things at the moment, Microsoft has recently announced that they will be bringing official...
2015-07-03
811 reads
Hi folks, Today we learn how to format query using FOR JSON clause with INCLUDE_NULL_VALUES option in SQL Server 2016....
2015-07-03
354 reads
Reading Time: 2 minutesThe community makes it all happen! In WOxPod!, episode # 009 –...
The post 010 – Ayman El-Ghazali appeared first...
2015-07-03
589 reads
With my travel schedule, I don’t always get out to events where I can see a community speaker. Sometimes, I...
2015-07-03
578 reads
August and September are going to be some busy weeks!
In those two months I will be speaking on three SQLSaturday...
2015-07-03
550 reads
No no, I didn’t say temporary, but temporal! SQL Server 2016 introduces a great new feature called Temporal Tables. Or...
2015-07-03
2,785 reads
Although generally I prefer to create custom interfaces for my databases using fully developed programming languages like Python or C#....
2015-07-03
515 reads
Well, it has finally happened. In the 7+ years that I helped to run the Omaha SQL/BI User Group, I...
2015-07-02
572 reads
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2015-07-13 (first published: 2015-07-02)
2,405 reads
If you`re using transactional replication on SQL Server platform on rather large and data intensive environment you may have faced...
2015-07-02
1,698 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