SQL Server Quickie #6 – THREADPOOL Starvation
(Be sure to checkout the SQLpassion Online Academy, where you get High-Quality SQL Server Trainings with Instant Access!)
Today I have...
2013-07-07
1,554 reads
(Be sure to checkout the SQLpassion Online Academy, where you get High-Quality SQL Server Trainings with Instant Access!)
Today I have...
2013-07-07
1,554 reads
Huge sandwich from recent trip to downtown Chicago
First, I want to acknowledge that I’ve been pretty quiet on here lately....
2013-07-07
736 reads
It’s Sunday night now, weekend is almost over and was it just a few moments ago that it was Friday?...
2013-07-07
333 reads
For a weekend project, I’m installing Hyper-V 2012 in my home lab. I was having troubles getting Hyper-V installed on...
2013-07-06
895 reads
The requirement is to move the files to different server programatically and hence I’ve decided to use Robocopy in SQLCMD.
Robocopy...
2013-07-05
1,995 reads
When SQL Server 2014 CTP 1 was announced last week, I was on it and getting ready to download within a...
2013-07-05
1,161 reads
I’ve always been a fan of the feeling when I find an old blog post that’s got just the information...
2013-07-05
414 reads
Another month and another evening of top quality free SQL Server goodness for those living/working in the Maidenhead area of...
2013-07-05
702 reads
Hello Dear Reader! I just wanted to write to Thank All of you for the submissions to SQL Saturday 232...
2013-07-05
768 reads
Ok, before I continue to next step, I really want to put down something about it. Especially about ‘how to...
2013-07-03
9,167 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