How Many People Can a Manager Manage?
This question came up during lunch this past week, and it's a good question. I'll start with my stock 'It...
2008-11-02
558 reads
This question came up during lunch this past week, and it's a good question. I'll start with my stock 'It...
2008-11-02
558 reads
I got up this morning, wanting to go through the forums, check on Database Weekly, etc. as a Sunday morning...
2008-11-02
576 reads
Auditing blank passwords in SQL Server 2005 and 2008 proves a bit more challenging than in SQL Server 2000. In...
2008-11-01
1,250 reads
I was experimenting with the effects of row and page compression in SQL Server 2008 Enterprise Edition.
First, I identified...
2008-10-31
4,299 reads
A month or so ago I posted Blog Review - Yours & Mine to see what I might get for feedback about...
2008-10-30
1,503 reads
Since the release of SQL Server 2008, a slew of new books have been released, or are about to be...
2008-10-30
1,736 reads
Do we have an energy crisis or not? Is global warming real? Are we being affected by burning fossil fuels?
I...
2008-10-30
1,461 reads
In my previous post The Wise Old Man Part 1 I wrote about a great session I attended during SQL...
2008-10-30
1,591 reads
During one of the sessions that I attended during SQL Saturday in Orlando I had the privilege of listening to...
2008-10-29
1,696 reads
This is an unpaid/unsolicited comment about a product now owned by Red Gate Software. Purely my opinions, and I'll try...
2008-10-29
1,605 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