How HADR_SYNC_COMMIT waits can wreak havoc
It has been a decade since I have blogged. Or at least it feels like it. Today I would like...
2015-11-19 (first published: 2015-11-17)
4,584 reads
It has been a decade since I have blogged. Or at least it feels like it. Today I would like...
2015-11-19 (first published: 2015-11-17)
4,584 reads
On 25th of February 2012, Curacao hosted its first SQL Saturday event. The event was held at the University of...
2012-03-01
2,346 reads
The New Year is just around the corner. Every year I make a resolution. And every time I fail. That...
2011-12-29
2,318 reads
At our company we have two DBAs to take care of all the databases in the production and QA. It...
2011-12-08
1,514 reads
With the announcement of the official slate for the BoD election for this year, the job of the NomCom is...
2011-11-30
2,571 reads
So far SQL Pass Summit has been great for me. I have had a great time from day one onwards....
2011-10-12
1,768 reads
This is my second trip to Seattle for the annual bash. Last year I was a newbie. I did not...
2011-10-07
1,475 reads
There is an advice out there that says never to mix business with pleasure. It is not true in all...
2011-09-21
2,012 reads
The SQL Pass community summit is just around the corner. There is so little time and so much to do....
2011-09-07
1,400 reads
I was trying to write an article for a long time. Every time I start writing one, I would put...
2011-09-01
1,253 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 628218520153 ITC ROXY MAS, Jl. Kh Hasyim Ashari No.125 Basement 13, RW.8,...
WhatsApp CS 628218520153 Jl. Sukarjo Wiryopranoto No.28 C, RT.1/RW.1, Kb. Klp., Kecamatan Gambir, Kota...
WhatsApp CS 628218520153 Jl. KH Fachrudin 36 Blok D/23, Kp. Bali, Kecamatan Tanah Abang,...
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