Hello…
Here i come… this is my first post at http://svangasql.wordpress.com. Here, you will see posts related to sql server, reporting...
2011-09-07
524 reads
Here i come… this is my first post at http://svangasql.wordpress.com. Here, you will see posts related to sql server, reporting...
2011-09-07
524 reads
Yes, 24 Hours of PASS will start soon two days in row, 7-8 September 2011! Just for info for those...
2011-09-06
769 reads
I really meant to get this post out last week. My apologies, but here is the post finally. Along with the post, I also had meant to get the...
2011-09-06
9 reads
I really meant to get this post out last week. My apologies, but here is the post finally. Along with...
2011-09-06
792 reads
Yes, 24 Hours of PASS will start soon two days in row, 7-8 September 2011! Just for info for those...
2011-09-06
1,099 reads
First day of the month and first Tuesday of the month. Yup, the list is late this month because for...
2011-09-06
1,381 reads
Invitation for T-SQL Tuesday #22 – Data Presentation
Whilst I was winding down an eventful day with the family on Labor Day...
2011-09-06
8,647 reads
Because the relationship between application development and the IT operations teams is critical, Microsoft has released a CTP of a new...
2011-09-06
1,094 reads
The Merge Join Transform in SSIS is a great way to load a Data warehouse quickly and an easy way...
2011-09-06
12,716 reads
Just in case you forgot, I wanted to remind everyone that the free, 24 Hours of PASS online event starts...
2011-09-06
661 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