SQL Server Wait Type Repository
Microsoft’s Bob Ward has a good post up on the CSS SQL Server Engineers blog about an upcoming web page...
2009-11-08
1,346 reads
Microsoft’s Bob Ward has a good post up on the CSS SQL Server Engineers blog about an upcoming web page...
2009-11-08
1,346 reads
I'm enjoying a relaxing Saturday morning and I'm doing a bit of reading on ESPN. I see the article about...
2009-11-07
866 reads
Last week I wrote a set of Advanced SSIS Interview Questions. Here are the answers I came up for these. ...
2009-11-07
2,014 reads
This is just a starting point for you to prepare for your interview so make sure not to limit yourself...
2009-11-07
2,329 reads
I have decided to make a short series of blogs about possible interview questions to help you prepare for an...
2009-11-07
1,954 reads
This is part 1 of my 29 part series called Better Know A SSIS Transform. Hopefully you will find the...
2009-11-07
744 reads
This is part 2 of my 29 part series called Better Know A SSIS Transform. Hopefully you will find the...
2009-11-07
1,514 reads
This is part 3 of my 29 part series called Better Know A SSIS Transform. Hopefully you will find the...
2009-11-07
1,158 reads
After the first 2 official days of the Summit the brain is already on overload and then the second part...
2009-11-07
547 reads
Using a Deployment Manifest in SSIS allows you to deploy a set of packages to a target location using a...
2009-11-07
956 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