This Week in Data – Episode 3 (What is the Internet of Things (IoT)?)
Welcome back to another episode of This Week In Data! If you missed our previous episodes, you can watch them...
2016-09-07
861 reads
Welcome back to another episode of This Week In Data! If you missed our previous episodes, you can watch them...
2016-09-07
861 reads
Thursday at the PASS Summit is Kilt Day.
This means you should wear a kilt. Whether you do it in support...
2016-09-07
601 reads
Which of these is more secure?
shilmar / Pixabay
Nicolas Chadeville / 500pxIt’s a trick question – the correct answer is “neither”.
Both castles and vaults...
2016-09-07
439 reads
I’m excited to be monitoring Kalen’s session on concurrency. The session is today and is titled “Locking, Blocking, Versions: Concurrency...
2016-09-07
353 reads
The Top 5 series has proved rather popular. My Top 5 books for Enterprise Architecture was the most popular post in...
2016-09-12 (first published: 2016-09-07)
2,549 reads
This is a reminder that we’ll having a #SQLChat this afternoon at 12 PM EDT. Here are the details:
SQLChat: Do...
2016-09-07
438 reads
Sql Server – Statistics (Create, Update and delete Statistics)
If you are reading this Article, I assume that you know the basics...
2016-09-07
346 reads
By Steve Bolton
…………Whenever we assign set membership grades to records on a continuous scale, we open up a whole new...
2016-09-06
618 reads
The last week of October, we’ll be at the PASS Summit in Seattle, WA. As some of you already know – and as I...
2016-09-06
515 reads
Like the alliteration in the title? I almost removed it, but decided it had a nice ring. Maybe that should...
2016-09-06
497 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