Looking Back at a Sabbatical – One Year Later
Last year at this time I was nearing the end of my sabbatical. I’ve been using the Timehop app on...
2015-07-14
729 reads
Last year at this time I was nearing the end of my sabbatical. I’ve been using the Timehop app on...
2015-07-14
729 reads
Yesterday at the Microsoft World Wide Partner Conference in Orlando Microsoft announced the Cortana Analytics Suite, which is a new package...
2015-07-14
977 reads
Today is the last day to submit your name as a candidate for the NomCom. If you’re a PASS member...
2015-07-14
534 reads
Just a quick post on some Power BI material that I believe should reach as many people as possible. I get...
2015-07-14
1,636 reads
How could you possibly argue with getting 8 straight hours of SQL Server Performance training for FREE?
You can’t! Go check...
2015-07-20 (first published: 2015-07-14)
3,834 reads
Delimited flat files are commonly used to move data from one system to the other.
In this two part series published...
2015-07-14
795 reads
Continuation from the previous 59 parts, the whole series can be found at http://www.nikoport.com/columnstore/.
This blog post is dedicated to some...
2015-07-14
659 reads
A big thank you goes out to Andy Yun (b|t) for hosting this month’s TSQL2sday party. This month’s topic is...
2015-07-14
533 reads
Using PowerShell and SMO to set MinServerMemory and MaxServerMemory Programatically
Here is a link to the official #tsql2sday invitation from Andy...
2015-07-17 (first published: 2015-07-14)
1,660 reads
It’s T-SQL Tuesday again and this month Andy Yun (b/t) is our host and he has asked us to “Just...
2015-07-21 (first published: 2015-07-14)
1,446 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