It is all about giving so why not #sqlgive
Last year at the Summit I missed out on this really cool concept. Donate your unused items from your hotel....
2011-10-06
698 reads
Last year at the Summit I missed out on this really cool concept. Donate your unused items from your hotel....
2011-10-06
698 reads
I mentioned this in my SQLFun post last night and wanted to call out separately here, I typically do a...
2011-10-06
798 reads
Oh, dear! One more week until this year’s PASS Summit. If you haven’t registered yet, you’re really cutting it close. ...
2011-10-06
780 reads
Today was also a good day. Sean and I both popped awake at 4:30am local time (6:30am personal time), for...
2011-10-06
517 reads
Summer camp has begun. Sure, people are still en route, but a whole bunch of us are already here and...
2011-10-06
571 reads
Wow, what an event. I had to run to Redmond right after this so I am sorry this post is...
2011-10-06
819 reads
By David Postlethwaite
The last two days of SQL Bits provide opportunities to hear short 50 minutes presentations from experts
on a...
2011-10-06
729 reads
The annual PASS Summit is definitely about technology and learning, but if that’s all you get out of it you’re...
2011-10-06
909 reads
The UK SQL community has never had so many events in such a short space of time. Last week there...
2011-10-06
426 reads
First, I want to apologize to the three people that read my blog. Sorry for going dark for such a...
2011-10-06
3,664 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