Live! 360–Speaking at SQL Server Live Orlando 2016
If you are looking for a great conference to attend, please look at Live! 360. This event combines 6 different...
2016-09-10
611 reads
If you are looking for a great conference to attend, please look at Live! 360. This event combines 6 different...
2016-09-10
611 reads
What do you do when a developer comes to you and asks, "Where did the database go? The database was there one minute, and the next it was...
2016-09-09
10 reads
What do you do when a developer comes to you and asks, “Where did the database go? The database was...
2016-09-19 (first published: 2016-09-09)
1,646 reads
Welcome to the TGI SQL Friday for the 9th September 2016. Here you will find the links of the posts...
2016-09-09
471 reads
I was going through some online courses and came across Erin Stellato’s Course on DBCC commands.http://www.sqlskills.com/blogs/paul/new-course-understanding-and-using-dbcc-commands/ I learnt something new!...
2016-09-09
561 reads
You’ll probably hear about this from other sources, but an announcement made this morning bears repeating: One of my favorite...
2016-09-16 (first published: 2016-09-09)
2,720 reads
Nearly two years ago, I began a new phase in my career when I stepped into the world of consulting. I’d done some consulting-type work through my previous job,...
2016-09-08
36 reads
Nearly two years ago, I began a new phase in my career when I stepped into the world of consulting. ...
2016-09-08
467 reads
One thing I try to do in my role with Microsoft is to get clients to think of possible use...
2016-09-08
518 reads
As some of you know, here at gethynellis.com we have partnered with Learning Tree to offer you a range of courses...
2016-09-08
438 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