What every DBA that manages a large number of SQL Servers should know about SQL 2008!!
Error when importing RegServer list from SQL 2005 to SQL 2008
I discovered the already known bug in SQL 2008 that...
2008-08-19
3,101 reads
Error when importing RegServer list from SQL 2005 to SQL 2008
I discovered the already known bug in SQL 2008 that...
2008-08-19
3,101 reads
This was actually posted about a week ago, fell behind a little during travelling. Building a Security Philosophy was written...
2008-08-18
1,502 reads
Automatic Failover - an incomplete solution
Automatic failover with Database Mirroring is great, but what about all of the other things that...
2008-08-18
2,111 reads
Just had a note from John Magnabosco, the schedule for the event on Oct 4, 2008 has been published. I'll...
2008-08-18
634 reads
I was looking for editorial content and ran across The Planet Blog, from The Planet, a hosting company. I was...
2008-08-18
904 reads
Paul Waters and team from the SQL Server Innovators Guild have decided to host a SQLSaturday at ECPI Greenville, SC...
2008-08-18
466 reads
"Culture", according to Merriam-Webster Dictionary http://www.merriam-webster.com/dictionary/culture, has one definition as
"the set of shared attitudes, values, goals, and practices that characterizes an...
2008-08-16
1,847 reads
The Charlotte SQL Server User Group meeting will be held online on August 20th at 12 Noon (EDT). They'll have...
2008-08-15
651 reads
I'm glad I'm not this slow, or maybe it's timed for the SQL Server release, but my TechEd Online panel,...
2008-08-15
818 reads
Like a lot of folks my age (in their 30s), I grew up on comics, both comic strips in the...
2008-08-14
786 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...
Comments posted to this topic are about the item Split Large Queries in Athena...
Comments posted to this topic are about the item Finding Trailing Spaces
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