Changes at OPASS
I’ve been managing oPASS since we re-hydrated it back in early 2007. Seems like a long time ago! We’ve made...
2010-08-17
588 reads
I’ve been managing oPASS since we re-hydrated it back in early 2007. Seems like a long time ago! We’ve made...
2010-08-17
588 reads
This Friday I’ll be traveling to Nashville for SQL Saturday #51. Because I rock, I picked a 5:40 AM flight...
2010-08-17
522 reads
Recently, I wrote a review of Red Gate Software’s new SQL Virtual Restore software. SQL Virtual Restore allows you to...
2010-08-17
935 reads
Synchronizing SQL user in Database Mirroring:
If a login used in an application that involves database mirroring has SQL Login, there...
2010-08-16
2,346 reads
The SQL Server Society of Las Vegas meeting has come and gone once again. This meeting is held typically on...
2010-08-16
450 reads
Yeah, you heard me.
Do you like to read?
“But Kendra, why would we want to grant developers read permissions? And why...
2010-08-16
959 reads
That’s right! PASSMN is breaking the mold and heading onto new ground. We are making our second annual Friday full-day...
2010-08-16
548 reads
Had a great time in Baton Rouge. The event was well attended and had an awesome lineup of speakers. I...
2010-08-16
811 reads
It’s that time of the month and that time of the years. Time for another PASSMN meeting. Also, time for...
2010-08-16
430 reads
When you configure the memory and on your system if other applications are also present, in such cases specially for...
2010-08-16
475 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