Power BI Subscriptions
Newly added to the Power BI Service is a much awaited feature called Power BI Subscriptions. If you’ve worked in...
2017-01-23 (first published: 2017-01-17)
2,291 reads
Newly added to the Power BI Service is a much awaited feature called Power BI Subscriptions. If you’ve worked in...
2017-01-23 (first published: 2017-01-17)
2,291 reads
I got a tweet after my SQL Prompt formatting piece that said a user would be interested in upgrading from...
2017-01-17
544 reads
In this module you will learn how to use the Sankey with Labels Power BI Custom Visual. The Sankey with...
2017-01-24 (first published: 2017-01-17)
1,878 reads
I’ll be teaching my popular day-long course, Building Better SSIS Packages, on Thursday, June 1 in Pensacola, Florida. This class...
2017-01-17
371 reads
Last week I published this post about something a colleague noticed when playing around with a SQL Server instance running...
2017-01-20 (first published: 2017-01-17)
2,873 reads
Wait statistics is a great place to start looking into performance issues. Normally people would issue commands/queries based on sys.dm_os_wait_stats...
2017-01-16
636 reads
I’m hosting a new webinar on the DLM tools from Redgate Software and database DevOps. Tomorrow, Tues, Jan 17, at...
2017-01-16
604 reads
It’s Monday and time, finally, for a weekly blog and twitter round-up for last week. It’s been a while since I’ve published this summary post, but hey that’s what life...
2017-01-16
31 reads
It’s Monday and time, finally, for a weekly blog and twitter round-up for last week. It’s been a while since...
2017-01-16
771 reads
Redgate produces some great software, and I’m glad that I get to use all of them as a developer and...
2017-01-16
503 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