SSDT Migrating Data Without Losing It
You sometimes want to do things like split a table into two or move a column into another table and...
2015-12-30
1,217 reads
You sometimes want to do things like split a table into two or move a column into another table and...
2015-12-30
1,217 reads
You sometimes want to do things like split a table into two or move a column into another table and when you use SSDT or the compare / merge...
2015-12-30
13 reads
You sometimes want to do things like split a table into two or move a column into another table and...
2015-12-30
219 reads
You sometimes want to do things like split a table into two or move a column into another table and...
2015-12-30
210 reads
What I’ve noticed this year is that there’s really not another group of people like the SQL Community. Earlier this year Paul Randal ( b | t ), in...
2015-12-29
12 reads
What I’ve noticed this year is that there’s really not another group of people like the SQL Community. Earlier this...
2015-12-29
892 reads
Maybe you’re new to SQL Server or maybe you’re just expanding into performance tuning a little more. Query tuning can...
2015-12-29
1,824 reads
Previously I covered what a data lake is (including the Azure Data Lake and enhancements), and now I wanted to touch...
2015-12-29
3,346 reads
Maybe you’re new to SQL Server or maybe you’re just expanding into performance tuning a little more. Query tuning can...
2015-12-29
498 reads
It’s the time of the year again: the obligatory “how was the past year” blog post, combined with “what do...
2015-12-29
796 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...
By Steve Jones
Here are the resources for my talk at Day of Data Boston. Slides –...
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