TGI SQL Friday - Weekly Roundup 9th September 2016
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
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
Up until SQL Server 2016, we had to write our own functions to split a CSV string into a table...
2016-09-15 (first published: 2016-09-08)
2,745 reads
One of the benefits of having an MSDN Subscription is that you have free access to some Pluralsight courses.
To verify this,...
2016-09-08
578 reads
Being in a shop that utilizes Plan Explorer it was awesome to hear of the news release from SQL Sentry...
2016-09-08
429 reads
By Steve Jones
Here are the resources for my talk at Day of Data Boston. Slides –...
By Steve Jones
I’ve covered the values in a number of previous posts on the Book of...
By Arun Sirpal
When the evidence names the database, it says so. When it doesn’t, it stops....
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