Building My New Home, SQL Server IO
April of 2009 I decided it was time to blog about my SQL Server experiences in earnest. Steve Jones (twitter|blog)...
2010-07-14
538 reads
April of 2009 I decided it was time to blog about my SQL Server experiences in earnest. Steve Jones (twitter|blog)...
2010-07-14
538 reads
The script below is a simple and quick way to find out the last backup performed successfully to the databases...
2010-07-14
777 reads
We’ve got 6 days left before the call for nominations for the 2010 PASS election closes and I want to...
2010-07-14
860 reads
November will be a busy time of the year for many SQL Server DBAs as they head off to the...
2010-07-14
683 reads
Today, I received the official word that I will be presenting two sessions in the SQLServerCentral.com track at the SQL...
2010-07-14
891 reads
If you're a PASS member you may have noticed in this morning's Community Connector that the 2011 spring event I...
2010-07-14
551 reads
Short notes this time, but wanted to get a few thing written down:
Attendance was about 20, lower than expected for...
2010-07-14
478 reads
"Defend Your Data"
If you’re a SQL Server Database Administrator and you don’t know what CHECKDB is then you need to...
2010-07-14
534 reads
The July meeting for the Southern New England SQL Server Users Group is tonight. Andrew Novick will be talking about...
2010-07-14
807 reads
Over the past few days I have been thinking that the Software Industry is in drastic need of a Professional...
2010-07-14
1,320 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