T-SQL Tuesday #81–Sharpening Skills
This is an interesting month for T-SQL Tuesday. The challenge is from Jason Brimhall to Sharpen Something, and learn something...
2016-08-09
1,144 reads
This is an interesting month for T-SQL Tuesday. The challenge is from Jason Brimhall to Sharpen Something, and learn something...
2016-08-09
1,144 reads
If you want to blog T-SQL Tuesday is a great way to get started. On the first Tuesday of each...
2016-08-09
606 reads
In Baton Rouge we make no secret that our user groups and our578-personSQLSaturday combines the volunteers and attendees of our...
2016-08-09
601 reads
It’s that time of the week when the Great Value IT training page gets its weekly update and this week...
2016-08-09
393 reads
Wednesday, August 10, 2016, The next meeting of the Central NJ SQL Server Users Group will be on Wednesday August...
2016-08-09
1,187 reads
Monitoring server resources is critical and important job of any Administrator. Keeping things organized might improve application availability and server...
2016-08-08
552 reads
I’m pleased to announce that I’m launching my next round of all-day precon training session at the upcoming SQL Saturday in Minnesota on...
2016-08-08
396 reads
I’m working on a new session* that I’ve named “T-SQL’s Hidden Support Feature”. It’s about comments. I’ll get to the...
2016-08-12 (first published: 2016-08-08)
2,003 reads
I’ll be traveling this week to SQL Saturday #550 in San Antonio. This is my first time traveling to this...
2016-08-08
444 reads
Legislation and regulation sometimes dictates that certain activities must be tracked within a database. On occasion, it will be required that queries be audited and tracked to reach compliance...
2016-08-08
70 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