MongoDB-CHICAGO .Local
Continue to my interest on MongoDB Blog lastly on MongoDB 4.02, I attended MongoDB CHICOGO .local Sep 12 and learned so...
2018-10-06
224 reads
Continue to my interest on MongoDB Blog lastly on MongoDB 4.02, I attended MongoDB CHICOGO .local Sep 12 and learned so...
2018-10-06
224 reads
Just for fun here is a word search with all of the data types available in SQL Server. Well, two...
2018-10-05 (first published: 2018-09-26)
1,837 reads
Remember the Bill Gates email hoax? The one that claims to be some sort of Microsoft beta test saying Gates is going to pay cash money to anyone who...
2018-10-05
19 reads
Looking to import SQL Server database from one server to another ? Confused how to copy from one to another or...
2018-10-05
1,832 reads
Earlier this year Microsoft announced extended support for SQL Server 2008 and 2008 R2 at no additional cost. However, the...
2018-10-05
59 reads
In this blog post I want to quick go through one of useful capabilities that Microsoft provided with version 2...
2018-10-05
212 reads
When Microsoft announced SQL Operations Studio last year, I wasn’t thrilled. The move to a VS Code shell was less...
2018-10-05 (first published: 2018-09-24)
2,474 reads
Another major corporation has announced their decision to move to Azure. Perhaps you’ve heard of them? Walmart—yes, Walmart and Microsoft...
2018-10-05
291 reads
In today’s Azure Every Day post, I’d like to talk about something a little different from our normal posts, and...
2018-10-04
223 reads
I saw this again recently and see it too often in environments so wanted to take a second to remind...
2018-10-04 (first published: 2018-09-26)
2,712 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