The power of a shirt
I love wearing all my SQL Saturday speaker shirts. Here lately the trend has been nice golf or running shirts...
2011-09-30
1,438 reads
I love wearing all my SQL Saturday speaker shirts. Here lately the trend has been nice golf or running shirts...
2011-09-30
1,438 reads
Just wanted to push out an announcement that the Baton Rouge SQL Server User Group has a new website.
www.brssug.org
We've...
2011-09-30
1,509 reads
Wow! Can't believe today is the last day of September! Fall, here we come! Although Summer is over, Autumn is...
2011-09-30
1,984 reads
Red Gate Software will be providing a free, full-day SQL Server event called SQL in the City in Los Angeles,...
2011-09-30
1,420 reads
Two years ago when SQL Server MVP Deep Dives: Volume 1 was released, I had the opportunity to contribute two...
2011-09-30
1,776 reads
Presentation Files: 10 Things All BI Administrators Should Know
I sooooo remember this sign!
I was very excited to get to present...
2011-09-30
2,010 reads
Over the last week I have done several sessions either for the Pragmatic Works Free Training online or at SQL...
2011-09-30
4,265 reads
By David Postlethwaite
Just spent a day with Allen White, a SQL MVP from Ohio, USA learning about automating and managing...
2011-09-29
1,594 reads
Here goes with what I hope to achieve the following week in Seattle, WA Oct 9-15 for my 4th summit.
I...
2011-09-29
1,421 reads
As I have announced in all of my sessions last week in Budapest at the SolidQ summit,
you can find here...
2011-09-29
1,484 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