It’s the Platform
I keep seeing lots of debate about Android v the iPhone 4. I have friends talking about how cool Windows...
2010-07-21
1,172 reads
I keep seeing lots of debate about Android v the iPhone 4. I have friends talking about how cool Windows...
2010-07-21
1,172 reads
I’ll be speaking for the SQL PASSDatabase Administration Virtual Chapter next week. It’ll be on July 28 at 12 PM...
2010-07-21
613 reads
Another positive side benefit from moving has been the re-arrangement of the now two small libraries at home: one sorted...
2010-07-21
628 reads
Welcome once more to the Miskatonic branch of SQL University. Please try to concentrate. I realize the whipoorwills singing outside...
2010-07-21
679 reads
WOW! A couple of weeks ago, I announced that I would be offering a few MSDN Ultimate subscriptions to unemployed...
2010-07-21
597 reads
A bit of a silly title, but an interesting story. A few weeks back I posted a note about attending...
2010-07-21
610 reads
One thing I learned years ago in C programming was the elegance of using operators and simplifying expressions. This sometimes...
2010-07-21
738 reads
Well this was going to be replication post, but I have read it, re-written it, read it, re-written and it...
2010-07-20
671 reads
For those that may of missed it, voting for SQLBits sessions is now open. Make your voice heard and get...
2010-07-20
405 reads
SQL Saturday #40 is quickly approaching and many are gearing up for the trip down there to hear some awesome...
2010-07-20
483 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