Is This a DBA Skill?
I saw an interesting note about how Intel is warning developers that they need to learn to program with multiple...
2008-07-02
651 reads
I saw an interesting note about how Intel is warning developers that they need to learn to program with multiple...
2008-07-02
651 reads
As expected, I forgot someone again in my MVP announcement. Last time I announced Kathi Kellenberger and Andy Leonard, forgetting...
2008-07-02
658 reads
I was fighting an error that was very rare to appear. I originally put a post on a MS forum
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.sqlserver.replication&tid=57229124-0a5a-4ec3-9055-a06b7869b872&cat=&lang=&cr=&sloc=&p=1
The...
2008-07-02
4,460 reads
I commented in an earlier post about the challenges PASS has in trying to select a 100 or so speakers...
2008-07-01
300 reads
Today's the day that new MVPs are notified for Q3 and two longtime community members, Jeff Moden and Michael Coles,...
2008-07-01
713 reads
MS Word 2007 (and probably earlier versions) have the ability to do a basic document compare, useful if you're at...
2008-06-30
1,338 reads
Well, I almost missed blogging for the entire month of June. I'm sure that this fact didn't go unnoticed by...
2008-06-30
1,408 reads
Recently I had the chance to help a student debug a problem on a production server. It appeared to be...
2008-06-29
1,466 reads
I'm still on the fence here about a Kindle. I pinged someone that bought one and he said they're returning...
2008-06-26
1,505 reads
Recently I was visiting with an old acquaintance and one of the topics that came up was volunteers. At some...
2008-06-26
2,222 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