ETL Data Lineage
Before I began my technical career over a decade and a half ago, I spent several years working in law...
2016-05-06
1,273 reads
Before I began my technical career over a decade and a half ago, I spent several years working in law...
2016-05-06
1,273 reads
You've been waiting, you've been asking, some begging to know the magic date of when Microsoft's SQL Server 2016 will...
2016-05-06
1,151 reads
For relational data-warehouses where you have the data load scheduled during off hours, timing of different steps in a sql...
2016-05-06
1,301 reads
I have released a new version of SQLCover which is a code coverage tool for T-SQL (let's you identify where...
2016-05-05
600 reads
I have released a new version of SQLCover which is a code coverage tool for T-SQL (let’s you identify where...
2016-05-05
27 reads
I have released a new version of SQLCover which is a code coverage tool for T-SQL (let’s you identify where...
2016-05-05
46 reads
I have released a new version of SQLCover which is a code coverage tool for T-SQL (let’s you identify where...
2016-05-05
46 reads
I have released a new version of SQLCover which is a code coverage tool for T-SQL (let's you identify where you need to focus when writing tests).
This includes a...
2016-05-05
7 reads
The code optimization is a mandatory task for the programmable objects in SQL Server. During time some code can start working “badly” i.e. become slow. In that case a...
2016-05-05
11 reads
The code optimization is a mandatory task for the programmable objects in SQL Server. During time some code can start working “badly” i.e. become slow. In that case a...
2016-05-05
8 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