Webinar: Streamline SQL Implementations
Webinar: on 12th Apr 10.00 AM PST, I will be speaking on “Streamline SQL Implementations”, if you are interested please...
2017-04-07
373 reads
Webinar: on 12th Apr 10.00 AM PST, I will be speaking on “Streamline SQL Implementations”, if you are interested please...
2017-04-07
373 reads
In this module you will learn how to use the Network Navigator Power BI Custom Visual. You may find the...
2017-04-12 (first published: 2017-04-06)
1,385 reads
The new buzzword in the industry is “Artificial Intelligence” (AI). But exactly what is AI and how does it compare...
2017-04-06
1,141 reads
Often times we as leaders within our respective shops tend to waste our time focusing on the wrong things. Think...
2017-04-06
379 reads
I traveled to Cambridge recently for some meetings at Redgate Software and to attend SQL Bits. I arrived on Tuesday,...
2017-04-06
725 reads
The Murder Accountability Project is worth a look. It’s a reminder that gathering good data is hard, but once you...
2017-04-06
500 reads
In my last post I showed Get-DbaLastGoodCheckDb from dbatools. This module is a community based project written by excellent, brilliant...
2017-04-06
544 reads
This is a quick post to apologise in advance if all my historical blog posts get republished.
Recently it appears that...
2017-04-06
336 reads
Microsoft recently introduced a handy new feature to query plans: waitstats. That’s right, you can get actual runtime waitstats for...
2017-04-05
507 reads
Since becoming a Database Administrator I’ve always looked at Microsoft MVP’s as the giants in our field. I never once...
2017-04-05
338 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