Future DBA part 2
I do not say you should be expert in other technologies but you should be aware of what it is...
2016-09-15
390 reads
I do not say you should be expert in other technologies but you should be aware of what it is...
2016-09-15
390 reads
My wonderful friend Chrissy LeMaire and I are the creators of two GitHub repositories for SQL Server and PowerShell called...
2016-09-14
780 reads
Welcome back to another episode of This Week In Data! If you missed our previous episodes, you can watch them...
2016-09-14
517 reads
My life for the last 2 years has been a constant battle of putting out fires with system performance; finally...
2016-09-14
315 reads
This is just a quick reminder to encourage you to attend my next round of all-day precon training session at the...
2016-09-14
403 reads
Just a quick blog post about an error I recently encountered when trying to create a mobile report for SSRS...
2016-09-14
701 reads
Recently I have been creating many Azure SQL databases via the portal where I started to find it quite tedious. So...
2016-09-14
521 reads
As I stated in my earlier blog on future DBA, we should learn many things as we can to be...
2016-09-14
467 reads
Execution plan helps in knowing how a query gets executed and troubleshooting a query which is performing poor. In SQL...
2016-09-14
860 reads
Recently I have moved a dozen websites and web apps to Azure. Some are small apps used by a few...
2016-09-13
139 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