Refactoring in SQL Server Data Tools - SSDT
In this post I will talk about the in-built refactoring support in SSDT – the language is slightly different from my...
2016-09-27
51 reads
In this post I will talk about the in-built refactoring support in SSDT – the language is slightly different from my...
2016-09-27
51 reads
In this post I will talk about the in-built refactoring support in SSDT – the language is slightly different from my...
2016-09-27
1,378 reads
In this post I will talk about the in-built refactoring support in SSDT – the language is slightly different from my normal style as originally it was going to...
2016-09-27
17 reads
In this module you will learn how to use the Stream Graph chart Power BI Custom Visual. The Stream Graph...
2016-10-11 (first published: 2016-09-27)
2,335 reads
PASS Summit 2016 is fast approaching. If you’re going, time to start making plans. If you’re not going, sell your...
2016-09-27
419 reads
Piggy backing onto the recent SQL Saturday post here in Louisville, I wanted to take a more in-depth look, from...
2016-09-27
330 reads
SQL Prompt has lots of great features that can help you write SQL quicker. However, you’ve got to train yourself...
2016-10-21 (first published: 2016-09-27)
1,842 reads
It’s funny how easy it is to find information you aren’t looking for. A few weeks back Stephen Bennett (b)...
2016-10-10 (first published: 2016-09-27)
2,051 reads
I will be writing
this article in four parts because this topic is huge and amount of information
can be overwhelming for...
2016-09-27
501 reads
TSQLCircleLive: What will be the result of the query below? Explai...: select case when null = null then 'True' else 'False'...
2016-09-27
365 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