Exceptional DBA of the Year 2010 Finalist!
This post is a tad overdue as the public announcement was a few weeks back but it’s been a topsy-turvy...
2010-07-12
458 reads
This post is a tad overdue as the public announcement was a few weeks back but it’s been a topsy-turvy...
2010-07-12
458 reads
This month we had our first adventure in LiveMeeting presentations. We had the pleasure of listening to Jack Corbett give...
2010-07-12
444 reads
Red Gate Books has published a new e-book called “SQL Server DMV Starter Pack”, which you can download for free...
2010-07-12
2,079 reads
In my last two posts I talked specifically about the process. This round I’m going to discuss the tools of...
2010-07-12
613 reads
This week I will speaking at the Greater New Orleans .Net User Group. My topic is Introduction to the SQL...
2010-07-12
690 reads
Last week, PASS announced this year’s program for the 2010 Summit in Seattle, Washington. The program session are available online....
2010-07-12
447 reads
The planning team of SQLSaturday #49 – Orlando and OPASS are proud to announce that there will be a pre-conference seminar...
2010-07-12
779 reads
Have you ever had a scheduled run of one of your SSIS packages fail? Have you ever wished you had...
2010-07-12
2,048 reads
A heavy week for SQL Lunch with two presentations!
There is another SQL Lunch presentation scheduled for today at 12:30 EDT. Join...
2010-07-12
579 reads
I don't think I'm alone when I find myself having to convert several columns in my Data Flow from Unicode...
2010-07-12
1,022 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