Database Mirroring Error 1418
Database Mirroring Error 1418
Hello Everyone.
This post will be helpful in resolving the error 1418 that we may come across when...
2015-11-24
2,808 reads
Database Mirroring Error 1418
Hello Everyone.
This post will be helpful in resolving the error 1418 that we may come across when...
2015-11-24
2,808 reads
Installing and configuring SQL Server Master Data Services (MDS) is like a box of chocolates: you never know what you’re...
2015-12-01 (first published: 2015-11-24)
4,516 reads
SSDT is great but one thing that is not so great is the performance of the publish. I am not...
2015-11-24
459 reads
SSDT is great but one thing that is not so great is the performance of the publish. I am not complaining, I understand it does a lot and is...
2015-11-24
9 reads
SSDT is great but one thing that is not so great is the performance of the publish. I am not...
2015-11-24
24 reads
SSDT is great but one thing that is not so great is the performance of the publish. I am not...
2015-11-24
55 reads
SSDT is great but one thing that is not so great is the performance of the publish. I am not...
2015-11-24
54 reads
With SQL server 2016 around the corner, I would like to share some of my thought on the usage for...
2015-11-24
748 reads
I’m sure most if not all of you are familiar with the meme “You had one job”. I was reminded...
2015-11-24
703 reads
The ScriptDom is cool, it lets you parse T-SQL, play around with the AST (tree of statements) and then generate...
2015-11-24
1,093 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