A Basic Recursive CTE and a Money Lesson
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2016-05-25
808 reads
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2016-05-25
808 reads
Recently I created my first Azure SQL Database. But now I need to connect to it.
You can connect using...
2016-05-25
551 reads
While this is a personal blog, I try to keep it focused on either technical topics or personal development and...
2016-05-25
497 reads
I got an email today from PASS, noting that credentials were changing from username to email. That’s fine. I don’t...
2016-05-24
555 reads
When I was at PowerShell Conference EU in Hannover last month (The videos are available now – click here and the...
2016-05-24
617 reads
Convert the XML document to JSON document example
<person>
<name>John</name>
<age>25</age>
<address>
<city>New York</city>
<postalCode>10021</postalCode>
</address>
<phones>
<phone type="home">212-555-1234</phone>
<phone type="mobile">646-555-1234</phone>
...
2016-05-24
484 reads
SQL Server 2016 brings one of the new features - The live execution plan. You can enable it by clicking the...
2016-05-24
270 reads
This spackle hints toward installation of the SQL Server 2016 SSMS. The installation of SSMS 2016 is different and it's a...
2016-05-24
738 reads
In just a few weeks I’ll be doing the Buckeye Blitz. That is, a tour of user groups in Ohio...
2016-05-24
554 reads
One of the more interesting features in SQL 2016 is the integration of the R language. For those who haven’t seen it before, R is a statistical and data...
2016-05-24
16 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...
WhatsApp CS 628218520153 Jl. KH Fachrudin 36 Blok D/23, Kp. Bali, Kecamatan Tanah Abang,...
Comments posted to this topic are about the item Split Large Queries in Athena...
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