How to setup CMS
If you need to setup a Central Management Server or just want to check it out, then here is how...
2011-08-09
977 reads
If you need to setup a Central Management Server or just want to check it out, then here is how...
2011-08-09
977 reads
Just a few quick updates.
First, on the SQLSaturday site we’ll be shortly rolling out an updated logo and layout for...
2011-08-09
633 reads
Ever since I was a web developer back in the days, server side paging has been an issues. Back then...
2011-08-09
1,730 reads
Today was my first day of SQL MCM training here in Bellevue. We started at 08:30am
and now (05:30pm) Kimberly is...
2011-08-09
1,713 reads
As a DBA why would I consider attending a pre-con by John Welch at SQL Saturday 89 titled Data Warehousing with...
2011-08-08
1,590 reads
I’ve just finished promised SSMS add-in which enables creating of custom folders directly in SSMS Object Explorer. Idea for add-in...
2011-08-08
3,212 reads
A friend of mine recently got his first smart phone, an Android. My wife has also recently moved into the...
2011-08-08
775 reads
Tomorrow I will be presenting a webinar at 11 AM eastern time for the Pragmatic Works Training on the T’s. ...
2011-08-08
912 reads
It sounds simple and logical doesn’t it. One could say it is common sense right? How many of us are...
2011-08-08
528 reads
I’m going to ramble today. This is a complex topic and I think you’ll see by the end that I...
2011-08-08
918 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