Making a Little Effort at Networking - Part 2
I wrote recently about my efforts to network a bit more at events. Part 1 was to spend more time...
2010-07-05
325 reads
I wrote recently about my efforts to network a bit more at events. Part 1 was to spend more time...
2010-07-05
325 reads
T-SQL Tuesday #008: Gettin’ Schooled
“Thank you fans and friends & odds and ends. And now for you gals and guys, a...
2010-07-04
9,244 reads
Looking through some of my databases this past week, theres a lot of data there which over time has become...
2010-07-04
441 reads
I’ve been scouring my notes (old & new), wading through all my previous research and unearthing advice, tips & tricks that have...
2010-07-04
506 reads
Extracurricular Activities
Recently I presented two sessions at SQL Saturday #43 in Redmond, WA. The night prior to the event, many...
2010-07-03
710 reads
Dearest Michael Ignatieff, Leader of the Liberal Party of Canada, Official Leader of the Opposition,
First of all, 'appy appy Birthday...
2010-07-03
1,326 reads
Back in 2008, I wrote a blog post about version 1 of the Performance Analysis of Logs (PAL) tool. This...
2010-07-03
1,118 reads
This is number four in a series of checklists that I am putting together for a new book I am...
2010-07-03
3,608 reads
NEW: Project Criteria and Submission Here I was again awarded the ‘Most Valuable Professional’ (MVP) designation from Microsoft for my...
2010-07-02
557 reads
I am somewhat uncomfortable blogging this, as I feel that it falls into “Polish a turd” category. Having said that,...
2010-07-02
754 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