SQL Agent Job Schedules
Many moons ago, I posted a script to help report on the human friendly scheduling information for SSRS subscriptions. You...
2016-04-12 (first published: 2016-03-29)
2,639 reads
Many moons ago, I posted a script to help report on the human friendly scheduling information for SSRS subscriptions. You...
2016-04-12 (first published: 2016-03-29)
2,639 reads
Last week, I received an alert that the percentage of transaction log in use on one of our production databases...
2016-03-29
1,005 reads
I frequently present at user groups, and always try to create a brand new presentation to keep things interesting. We...
2016-03-29
918 reads
It’s Tuesday, and the Monday post is late. A weekend of smoking quite a few pounds of pork kept me in...
2016-03-29
935 reads
The sa account is a well, known, built in account for SQL Server. Years ago, in previous
versions, I’d see...
2016-03-29
973 reads
Given that SQL Server 2016 is coming ‘real soon now’, it’s probably well past time that I write up some...
2016-03-29
496 reads
Given that SQL Server 2016 is coming ‘real soon now’, it’s probably well past time that I write up some...
2016-03-29
961 reads
Continuing my obsession with partitioning I thought I’d write this quick post about a cool change in SQL Server 2016.
This...
2016-04-12 (first published: 2016-03-29)
2,805 reads
I offer instruction on the Azure Data Platform, and have for about six years, since shortly after it came out....
2016-03-29
823 reads
This post is part of a series on this blog that will explore SQL Server Service Broker, a native messaging...
2016-03-29
1,108 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