Some Selected Official Microsoft SQL Server Blogs
Here is a list of a some of the official Microsoft SQL Server blogs that I have stumbled across. Some...
2010-02-01
341 reads
Here is a list of a some of the official Microsoft SQL Server blogs that I have stumbled across. Some...
2010-02-01
341 reads
The fifth annual Orlando Code Camp will be held March 27, 2010, at the Lake Mary Campus of Seminole State...
2010-02-01
355 reads
One of the reasons that I did not vote for President Obama was his stance on our energy issues, specifically...
2010-02-01
328 reads
This post is about my experience converting the CodePlex project, SQL Server Powershell Extensions (SQLPSX) Powershell V1 function libraries into PowerShell V2 Advanced...
2010-02-01
2,088 reads
I had meant to check what was up with my Toshiba laptop since I was curious. I gave up last...
2010-02-01
336 reads
This past weekend I was at the Columbia Code Camp, which was a rousing success with 6 tracks, a number...
2010-02-01
1,104 reads
In our world sometimes it’s worth the time and effort for in depth tuning to get the machine to run...
2010-02-01
670 reads
In a previous post I explained how to trap for errors in your Script Task and Components and send the information to the SSIS...
2010-02-01
4,791 reads
I’ll be teaching two SQL Server 2008 classes this spring at University of Denver, University College. The first one, which...
2010-02-01
780 reads
Introduction
Here is another one of my utility scripts. Lately it seems like all I am blogging about is utility scripts,...
2010-02-01
2,657 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