The PASS Session Selection Process, My Experience Part 2
In part one I talked about the abstracts. While important, abstracts are only one part of a complicated selection dance....
2010-07-09
478 reads
In part one I talked about the abstracts. While important, abstracts are only one part of a complicated selection dance....
2010-07-09
478 reads
Hey there SQL Lunchers. Your co-host Adam Jorgensen here. I wanted to let you know, for those of you whose...
2010-07-09
351 reads
I was querying the SQLServerCentral database for something else today, and I decided to take a minute and double check...
2010-07-09
410 reads
I was setting up some SQL Server agent jobs in a test environment. I needed one of our testers to...
2010-07-09
14,321 reads
One of the things that got us to switch OSes from W2K to WinXP when I was an administrator at...
2010-07-09
447 reads
We had our monthly Board of Directors call on July 8th and as is fairly common, the call went smooth....
2010-07-09
1,156 reads
Excited to get the email yesterday that two of my sessions were accepted, Introduction to SQL Server Statistics and Building...
2010-07-09
414 reads
Join SQL Server MVP, Patrick LeBlanc, next week on the SQL Lunch to learn about Share Datasets and Report Parts...
2010-07-09
1,562 reads
Hey guys, I’m preparing a few new article series for you but in the meantime I wanted to let you...
2010-07-09
322 reads
Whew, I just got my last chapter submitted to the editorial team for our newest book. I still have to...
2010-07-09
348 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