I’m Speaking! SQL Saturday #402 – Indianapolis
One of benefits, among several, in moving to Kentucky is the close proximity to several SQL Saturday events. I am...
2015-08-04
508 reads
One of benefits, among several, in moving to Kentucky is the close proximity to several SQL Saturday events. I am...
2015-08-04
508 reads
I am honored to be speaking at the Edmonton SQL Server User Group. I always find it humbling to be...
2015-07-20
487 reads
A few weeks ago, for TSQL Tuesday, I wrote about how I used Powershell to manage failing over clusters. At work,...
2015-07-17
1,019 reads
Well, it has finally happened. In the 7+ years that I helped to run the Omaha SQL/BI User Group, I...
2015-07-02
572 reads
This month’s T-SQL Tuesday topic is about extended events and comes from Jes Borland (B|T).
Like in most environments, we utilize...
2015-06-16 (first published: 2015-06-09)
1,885 reads
Not those Benjamin’s
Benjamin Franklin once said, “A place for everything and everything in it’s place“. While I assume that he...
2015-06-10 (first published: 2015-06-04)
3,168 reads
Whenever it is time to install a service pack every DBA silently hopes that nothing will go wrong. I would...
2015-05-28
2,105 reads
If you know me, you know it is in my nature to help. Whether it’s helping a friend move, helping...
2015-05-21
412 reads
Last week I got into a conversation with a colleague about how SQL Server grows the database. We were both fairly...
2015-05-14
1,197 reads
I have always liked the drawings done by MC Escher. Looking at his drawings has always forced me to look...
2015-05-07
426 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