24 Hours of PASS & SQL Saturday(s)
I survived 24 Hours of PASS! Just wrapped up delivering my presentation for the 24 Hours of PASS (24HOP) on...
2011-09-09
659 reads
I survived 24 Hours of PASS! Just wrapped up delivering my presentation for the 24 Hours of PASS (24HOP) on...
2011-09-09
659 reads
The schedule for SQL Saturday 97 has been posted and I was selected to give my “It’s TempDB, Why Should...
2011-09-08
472 reads
Having prepped for, taken, and then failed the MCM exam this year, perhaps I’m not the best person to give...
2011-09-08
1,349 reads
Edit: See end of blog for solution.
I have MS Visual Studio 2008 (BIDS) x86 with SP1. Recently it’s started shutting...
2011-09-08
697 reads
I have MS Visual Studio 2008 (BIDS) x86 with SP1. Recently it’s started shutting down without warning whenever I hit...
2011-09-08
600 reads
Hard Choices
First, thank you for submitting to speak at SQLSaturday #97 in Austin, TX. Myself, Richard Heim and Mike Byrd...
2011-09-08
797 reads
In recent years solid state drives (SSD for short) have dropped in price enough to be an affordable option in...
2011-09-08
1,185 reads
This is a followup on my earlier post ofSQL Server test data generation testing tools.
I had some requests for my...
2011-09-08
5,653 reads
SQL Server DMV Views might be very helpful. Let’s imagine that you have a couple of nested stored procedures and...
2011-09-08
1,885 reads
I just 10 short days Atlanta GA will be hosting the most stellar lineup of speakers SQL Saturday has ever...
2011-09-07
452 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