The Vacation Backlash
Maybe I need a better name for it, but I’m describing the pain that happens when you’re getting ready for...
2010-07-26
594 reads
Maybe I need a better name for it, but I’m describing the pain that happens when you’re getting ready for...
2010-07-26
594 reads
I’ve been looking for a new “thin and light” laptop to use for teaching, and for presentations and demonstrations at...
2010-07-26
824 reads
I am honored to be a guest lecturer this week for SQL University. There have been some amazing professors helping...
2010-07-26
8,190 reads
OK, we've seen step-by-step lists and articles on how to INSTALL a SQL Server 2008 Cluster, but have you run...
2010-07-25
23,298 reads
This past weekend I had the opportunity to hangout with some of the brightest upcoming SQL Server Professionals and a...
2010-07-25
614 reads
Some exciting times coming up here in the South Florida SQL Server Community. SQL Saturday South Florida is rapidly approaching....
2010-07-24
451 reads
Not much ado about SQL Server here. Good things come with the number 9. For instance SQL Server got substantially...
2010-07-23
525 reads
Not too many moons ago I embarked on porting some servers over from SQL 2000 to SQL 2008. On some...
2010-07-23
1,581 reads
And it is well worth the upgrade. I recently had the opportunity to interview David Flynn CEO of Fusion-IO and...
2010-07-23
1,097 reads
I recently had the opportunity to do two presentation on SQL Server R2 for the DBA. In the first session...
2010-07-23
537 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...
WhatsApp CS 628218520154 Jl. Suryopranoto No.40, RT.12/RW.7, Petojo Utara, Kecamatan Gambir, Kota Jakarta Pusat,...
WhatsApp CS 628218520154 Jl. Pegangsaan Timur No.1, Cikini, Kec. Menteng, Kota Jakarta Pusat, Daerah...
WhatsApp CS 628218520154 Jl. Pintu Air Raya No.36 Q, RT.6/RW.1, Ps. Baru, Kecamatan Sawah...
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