Leaving Live
Last week Steve Ballmer had issued a challenge to MVPs to have them try Live Search instead of their regular...
2008-12-09
667 reads
Last week Steve Ballmer had issued a challenge to MVPs to have them try Live Search instead of their regular...
2008-12-09
667 reads
I have to admit that when I had a performance problem with some code, I would often fire up Profiler...
2008-12-08
703 reads
Managing by the numbers often gets a bad name among employees because it can lead to a lot of gaming...
2008-12-08
662 reads
I attended the Tampa Code Camp this past weekend. It was located at the Kforce Building in Tampa, a very...
2008-12-08
1,109 reads
SQL Server 2008 (Enterprise Edition) offers row and page compression, which can potentially offer a boost in disk I/O in...
2008-12-08
1,517 reads
I’ve been asked several times lately from non-SQL developers that are sometimes required to do some quick SQL work how...
2008-12-08
3,439 reads
I could have sworn that my SQL Server Magazine seemed much smaller this month. When I pulled out last’s months...
2008-12-07
1,310 reads
I have a long held belief that if you really care about results, you have to measure them somehow. The...
2008-12-07
320 reads
Brent Ozar had a nice post recently on starting a technical blog, well worth reading and a good addition to...
2008-12-07
282 reads
With each new release of SQL Server version, there is something new to learn. In SQL Server 6.5 days, it...
2008-12-05
807 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