PASS Update #41 (Elections)
In 2009 we had a contentious election cycle at PASS, and I won’t go through the details again, but because...
2010-08-20
656 reads
In 2009 we had a contentious election cycle at PASS, and I won’t go through the details again, but because...
2010-08-20
656 reads
I’ll actually be going up a couple days early for a PASS Board meeting, then shifting to speaker/attendee mode Friday...
2010-08-20
504 reads
I recently had to find a way to look up how many columns were in a table and which of...
2010-08-20
440 reads
Mladen Prajdic recently announced that the newest version of SSMS Tools Pack is coming out and I am excited.Continue reading ?
The post Great News! SSMS Tools Pack 1.9 is...
2010-08-20
12 reads
Mladen Prajdic recently announced that the newest version of SSMS Tools Pack is coming out and I am excited.
Continue reading ?
2010-08-20
18 reads
Mladen Prajdic (Blog|Twitter) recently announced that the newest version of SSMS Tools Pack is coming out and I am excited.
Why...
2010-08-20
542 reads
Yup, you guessed it, another post about the nominations for the PASS Board of Directors. If you're tired of reading...
2010-08-19
1,009 reads
A query to find out which Stored Procedures are taking the longest to run ( in this example – the Top 10).
I’m sure there are...
2010-08-19
698 reads
Just a quick list of undocumented SPs, many of which are deprecated.
Note, use caution using some of these ! But others...
2010-08-19
2,156 reads
Scouring the web this week, I stumbled across SQL Server MVP Adam Mechanics and his script :-
Who is Active?
Its basically a...
2010-08-19
529 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