Power BI Application Embedding Releases Today
A few weeks ago, the Power BI team gave us the ability to freely embed Power BI reports, dashboards and...
2016-04-01
527 reads
A few weeks ago, the Power BI team gave us the ability to freely embed Power BI reports, dashboards and...
2016-04-01
527 reads
Dynamically totaling child members
Putting the dynamic totals on top or at the bottom can be a trivial or a big...
2016-03-31
1,231 reads
I use the Ola Hallengren’s maintenance solution for my SQL Servers instances. It happened to run the maintenance solution so that...
2016-03-31
1,010 reads
The March nomination is Gareth Swanepoel (B|T).
If you don’t know Gareth you should make it a point to get to know...
2016-03-31
781 reads
Warning: This is a really short post.
Today March 31st, BrentOzar.com is giving away their videos! Well, not giving away... but...
2016-03-31
773 reads
I was pleased to hear today that I was selected for the 2016 NomCom, along with Joaquin Romero, Erin Stellato,...
2016-03-31
999 reads
With the release candidates coming thick and fast for SQL Server 2016 downloading, uninstalling the previous version and installing the...
2016-03-30
1,399 reads
In my article, TFS tools for managing SQL Server development, I covered several Team Foundation Server (TFS) client tools that can...
2016-03-30
1,034 reads
To test or not to test. That is the question. Or is it? Shouldn’t we always test? That was the...
2016-03-30
794 reads
SQL Agent job schedules should be easy to read for humans if for nothing else than the fact that you have to provide this information to the auditors from...
2016-03-29
13 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