Illustration of an example availability monitoring service Using PowerShell and SQL
This article discusses a simple solution of how to monitor SQL service availability across multiple servers and reporting. To build...
2017-03-23
388 reads
This article discusses a simple solution of how to monitor SQL service availability across multiple servers and reporting. To build...
2017-03-23
388 reads
Link Below:
TempDB Database On a Local Disk for an FCI
This article will be helpful in configuring TempDB on a local Disk instead of shared storage in SQL Server 2012/2014....
2017-03-23
18 reads
Link Below:
TempDB Database On a Local Disk for an FCI
This article will be helpful in configuring TempDB on a local...
2017-03-23
372 reads
This is Chris Gibson's second post. This post follows on from his first post called: An Introduction to Containers and...
2017-03-23
1,013 reads
Everyone gives OCD a hard time. When in fact it is something to embrace.
I am of course talking about Operational...
2017-03-22
267 reads
This is the eighth part in the series: SQL Server and Continuous Integration. This post describes the set-up required for GitLab runners to...
2017-04-07 (first published: 2017-03-22)
8,486 reads
It’s quite easy to hit the PrintScreen key and capture the whole screen. But how do we quickly capture a...
2017-04-07 (first published: 2017-03-22)
2,446 reads
With the release of SQL Server vNext CTP 1.4 SQL Agent was released for use on Linux. To install it...
2017-04-06 (first published: 2017-03-22)
1,869 reads
Last week, we discussed storing text in a database. This week we will dive deeper into data types. When storing...
2017-03-22
113 reads
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2017-04-06 (first published: 2017-03-22)
2,751 reads
By Steve Jones
Here are the resources for my talk at Day of Data Boston. Slides –...
By Steve Jones
I’ve covered the values in a number of previous posts on the Book of...
By Arun Sirpal
When the evidence names the database, it says so. When it doesn’t, it stops....
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