The Wise Old Man Part 4
In my previous posts The Wise Old Man Part 1, The Wise Old Man Part 2 and The Wise Old...
2008-11-05
837 reads
In my previous posts The Wise Old Man Part 1, The Wise Old Man Part 2 and The Wise Old...
2008-11-05
837 reads
With a large election year in the US (President + all the other races), I've been more interested than in some...
2008-11-04
399 reads
A couple weeks ago I wrote about trying to decide whether to run for the PASS board. I talked about...
2008-11-04
559 reads
I'm not trying to talk politics here, but I don't want to be so politically correct that I avoid important...
2008-11-03
457 reads
Microsoft has launched a new SQL Server 2008 marketing-related website at www.sqlserverenergy.com. It is available in 11 languages, and offers...
2008-11-03
853 reads
Speaker: Brian Kelley
Midlands PASS Chapter - November 6, 2008 Meeting
Sponsored by Red Gate Software
The Midlands PASS chapter will hold our normally...
2008-11-03
521 reads
When I came home from work tonight, there waiting on my was my copy of Professional Microsoft SQL Server 2008...
2008-11-03
1,167 reads
/* Imagine that you have some names and addresses. You are anxious to look at the addresses that may be spurious....
2008-11-03
684 reads
In my previous posts The Wise Old Man Part 1 and The Wise Old Man Part 2 I wrote about...
2008-11-03
717 reads
I always feel it is harder to be a DBA than to be a doctor while we are doing almost...
2008-11-02
1,340 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