What's Your Job Title?
As I travel and visit DBAs from around the United States, I am always surprised at the job titles DBA...
2008-10-16
647 reads
As I travel and visit DBAs from around the United States, I am always surprised at the job titles DBA...
2008-10-16
647 reads
I've always been very concerned about where I work. Well, maybe not always, since early in my career I took...
2008-10-15
637 reads
Every week, there are dozen of free educational events to attend throughout the United States. The sad part is that...
2008-10-15
635 reads
I’m sure that the people at Mint and Thrive have people’s best interests at heart. They built services designed to...
2008-10-14
955 reads
Back in May I wrote about signing up for FlyClear as a way to save time travelling and in doing so,...
2008-10-14
528 reads
The past few weeks have been a rough one all around the globe as economies aren't doing well. I studied...
2008-10-14
608 reads
I had to research a bit, write some code, and look up things to answer questions this morning. I must...
2008-10-13
705 reads
I grew up in the Cold War, with real concern that the Russians would attack us someday. I wanted to...
2008-10-13
818 reads
I think that it’s a great idea to keep a few blogs going, and separate out your thoughts in different...
2008-10-13
639 reads
I’ve been experimenting a bit in the blogging world, setting up a few blog accounts and trying different services. I...
2008-10-13
640 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