Hi, my name is SA
Hi! I’m SA! I’ll be your mentor during your stay at Innitrode! Actually, I’m everyone’s mentor here…anytime someone needs some...
2010-07-20
580 reads
Hi! I’m SA! I’ll be your mentor during your stay at Innitrode! Actually, I’m everyone’s mentor here…anytime someone needs some...
2010-07-20
580 reads
Don’t forget the July PASSMN meeting is today. We have Itzik Ben-Gan (blog) coming in to talk about some query...
2010-07-20
549 reads
Last Tuesday, July 13th, we had our monthly OPASS meeting. The meeting was sponsored by RedGate who were kind enough...
2010-07-20
456 reads
I saw this post (please do read it) about introducing speakers and it reminded me that I wanted to write...
2010-07-20
555 reads
The application form mentions that the quite a bit of what you include will be made public. While I won’t...
2010-07-20
715 reads
Event handlers are a great tool for managing errors and other events that occur during the execution of a package...
2010-07-20
1,141 reads
The SQL Server DMV Starter Pack is a free eBook (84 pages) that describes 28 different ways that DMVs can...
2010-07-20
4,909 reads
Recently, I have begun my quest of mastering SSAS. I realize that it may take time and I am more...
2010-07-19
516 reads
Event handlers are a great tool for managing errors and other events that occur during the execution of a package...
2010-07-19
3,970 reads
Many years ago, in the dark ages of DTS I created a little app that would take two parameters and...
2010-07-19
664 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