Fixing Bad Links Found Using Google Webmaster Tools
I’ve been doing various clean up tasks this week related to the blog, with part of that being a review...
2013-07-18
829 reads
I’ve been doing various clean up tasks this week related to the blog, with part of that being a review...
2013-07-18
829 reads
Late last night in the
Halls of Congress, a grand gathering of planners took place to form that
which we...
2013-07-19 (first published: 2013-07-18)
1,716 reads
Upgrading an instance is a process in which you upgrade an existing instance of SQL Server to SQL Server 2012....
2013-07-18
593 reads
In the last post we have discussed about Set Statistics IO and how it will help us in the performance tuning. In this post we will discuss about the Set...
2013-07-18
89 reads
I make a point of reading DBAReactions on a fairly regular basis and today while reading it I was lead...
2013-07-17
841 reads
I just saw a post from Brian Kelley about the new PASS Security Virtual Chapter launching and the first presentation...
2013-07-17
606 reads
In the last post we have discussed about Set Statistics IO and how it will help us in the performance tuning....
2013-07-17
19,719 reads
Next week I travel to Sacramento, CA for the SQL in the City Seminar – Stairway to Deployment on Friday, July...
2013-07-17
1,081 reads
One of the things that’s bothered me is the way the charms bar frequent popping out as my mouse moves...
2013-07-17
966 reads
Most of the time we have been used to cmdlets and it’s various features but do not know about the...
2013-07-17
1,431 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