Data Stewardship and the Promotion of Data Protection – Are You Vigilant Enough to Stop A Trainwreck?
If you are asked to be a Database Cop, and you follow the code of ethics of your organisation, especially...
2010-01-08
668 reads
If you are asked to be a Database Cop, and you follow the code of ethics of your organisation, especially...
2010-01-08
668 reads
Hi Friends.Thanx for your support. for this year onwords I will be bloging on my own website....Hope to see you...
2010-01-08
532 reads
Recently while at a client I was discussing the differences between Report Builder 1.0 and Report Builder 2.0. The discussion...
2010-01-08
901 reads
Recently while at a client I was discussing the differences between Report Builder 1.0 and Report Builder 2.0. The discussion...
2010-01-08
1,755 reads
Brian Knight and the JSSUG team will be doing their third SQLSaturday this year on May 8, 2010, at the...
2010-01-08
320 reads
One of our goals for oPASS in 2010 is to host 12 meetings instead of our usual 6. That doubles...
2010-01-08
377 reads
Is that really what people want? At least in the US? This note talks about how KPMG surveyed executives and...
2010-01-08
410 reads
I finally got my laptop today. I had to drive to the local Shell gas station to get it, but...
2010-01-08
507 reads
How is it possible to aggregate 12,000,000 records of sales data in a short time window? In this presentation you...
2010-01-08
1,174 reads
The CES show this week had a few new e-reader concepts coming. I think this technology is due to explode,...
2010-01-08
538 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