Midlands PASS Meeting tonight with Andy Leonard
If tonight you’re in or can get to the Columbia, SC area, we have a treat for you! Former SQL...
2019-01-08
193 reads
If tonight you’re in or can get to the Columbia, SC area, we have a treat for you! Former SQL...
2019-01-08
193 reads
Being a DBA , you will see database...
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]
2019-01-08
15 reads
Advertisements
Being a DBA , you will see database corruptions in your environments. I got four or five and not affected much...
2019-01-08
27,590 reads
Point In Time Restore for Azure SQL Database
This article try to explain
Automatic backups services provided by Azure
Backup retention periods
How to take the point in time database restoration
This database restoration...
2019-01-08
46 reads
Point In Time Restore for Azure SQL Database
This article try to explainAutomatic backups services provided by Azure Backup retention periodsHow to...
2019-01-08
180 reads
(last updated: 2019-01-08 @ 13:53 EST / 2019-01-08 @ 18:53 UTC )
There are times when I am working on a SQL script that...
2019-01-08 (first published: 2018-12-28)
5,138 reads
Speaking at SQLSaturday Nashville – 815!
I’m proud to announce that I will be speaking at SQL Saturday Nashvilleon January 12th 2019! And wow, 815 SQL Saturdays! This one won’t let you...
2019-01-08
9 reads
Speaking at SQLSaturday Nashville – 815!
I’m proud to announce that I will be speaking at SQL Saturday Nashville on January 12th 2019! And wow,...
2019-01-08
159 reads
This post is a response to this month's T-SQL Tuesday #110 prompt by Garry Bargsley. T-SQL Tuesday is a way for the SQL Server community to share ideas about...
2019-01-08
9 reads
This post is a response to this month’s T-SQL Tuesday #110 prompt by Garry Bargsley. T-SQL Tuesday is a way...
2019-01-08
270 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