Speaking at SQL Saturday 89
With a late cancellation with one of our speakers a hole was opened on our speaker lineup. I reached out...
2011-09-14
431 reads
With a late cancellation with one of our speakers a hole was opened on our speaker lineup. I reached out...
2011-09-14
431 reads
There's nothing more I love than free food and SQL Server, no joke. I take my free food and SQL...
2011-09-14
533 reads
Data Presentation is not just about the look of a report. Data Presentation involves performance, accuracy, display and the business requirements. By giving proper attention to each of these...
2011-09-13
15 reads
Tuesday is upon us. It also happens to be the second Tuesday of the month and you know what that...
2011-09-13
683 reads
This post is part of the series discussing the new Analytic functions in SQL Server “Denali”, CTP3.
Analytic Functions in SQL...
2011-09-13
3,440 reads
?This post is the first post in a series discussing the new Analytic functions in SQL Server “Denali”, CTP3, and...
2011-09-13
1,001 reads
I’m about eight weeks into my current project and while I’m certain I don’t know it all, I’m finally at...
2011-09-13
544 reads
The topic for T-SQL Tuesday is Data Presentation. Powershell to Excel is a a good way to presenting data, and...
2011-09-13
3,291 reads
If you are going to be in Kalamazoo this weekend and don’t have anything planned. Because, yeah, that happens. Or...
2011-09-13
449 reads
A developer rushes up to you and asks "can you tell me the last time this stored procedure was executed?"....
2011-09-13
1,151 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