Notes from the June 2010 oPASS Meeting
We had adjusted our meeting date to work around previous commitments for both Jack Corbett and I, and that may...
2010-06-17
548 reads
We had adjusted our meeting date to work around previous commitments for both Jack Corbett and I, and that may...
2010-06-17
548 reads
Important: System Objects/Views/DMV/DMF This is the some of the list of System Objects/Views/DMV/DMF. Catalog View: All system information is stored...
2010-06-17
1,016 reads
I saw a post recently asking if there was an easy way to find the port a client was using...
2010-06-17
1,582 reads
It’s been almost a month since my last update, too long! I’ve put up separate posts on my unplanned and...
2010-06-17
707 reads
Last year for the annual Board of Directors election we used Zoomerang as our e-voting solution. It’s not the worst...
2010-06-17
518 reads
I know, it is strange, but it is true...When you create Reporting Services reports that run off of an Analysis...
2010-06-17
1,002 reads
I’m thinking about setting up a SQL Server test box in my home office for doing some extensive, real-world SQL...
2010-06-17
424 reads
Just a quick note. PASS has made the 24 Hours of PASS available via streaming video. You can check it...
2010-06-16
484 reads
Our most recent 24 Hours of PASS celebrated the SQL 2008 R2 launch. 24 great sessions, 23 of which were...
2010-06-16
589 reads
The 1992 Dream Team
When you hear the phrase “All-Star Lineup”, what comes to mind? The New York Yankees? The 1970's...
2010-06-16
333 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...
By Steve Jones
Here are the resources for my talk at Day of Data Boston. Slides –...
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