Baton Rouge SQLSaturday and Tech Day 2013
This will be the fifth SQLSaturday and Tech Day in Baton Rouge, LA on Saturday August 3rd, 2013.
I found a...
2013-08-01
605 reads
This will be the fifth SQLSaturday and Tech Day in Baton Rouge, LA on Saturday August 3rd, 2013.
I found a...
2013-08-01
605 reads
In PerformancePoint, when using a analytic grid or chart or a scorecard, if you are not able to use the...
2013-08-01
967 reads
I Want Features Not Cost! Recently Brent Ozar (blog|twitter) wrote a post SQL Server Standard Edition Sucks, And It’s All Your Fault. Needless to say, he isn’t happy with...
2013-08-01
22 reads
I Want Features Not Cost!
Recently Brent Ozar (blog|twitter) wrote a post SQL Server Standard Edition Sucks, And It’s All Your...
2013-08-01
1,104 reads
I like to look at things that have been in use for a while to see how they hold up....
2013-08-01
745 reads
You might have thought that the UK SQL Server scene would have gone quiet during the summer break, but far...
2013-08-01
677 reads
Since I changed organisations in January this year, I asked one of my colleagues to export his SQL Server Management...
2013-08-01
1,834 reads
First let’s get things straight, this post is not an encouragement for anyone to spend more time with his/her Database...
2013-08-01
513 reads
Most DBAs know that shrinking a database is a bad thing. But in many cases, there is no DBA around,...
2013-08-01
623 reads
What I’m going to show you is not rocket science. This one gets filed under the category of “well, duh. ...
2013-08-01
797 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