SQL In The City: LA
Just a reminder that there are a few seats left for SQL In The City: LA on the 29th of...
2011-09-30
1,523 reads
Just a reminder that there are a few seats left for SQL In The City: LA on the 29th of...
2011-09-30
1,523 reads
So I am really close to Atlanta geographically, but I?m never there. I?m going to change that after this SQL...
2011-09-30
1,573 reads
Truck is loaded up and heading to the airport to make an appearance at SQL Saturday #97 in Austin TX...
2011-09-30
1,317 reads
Two years ago when SQL Server MVP Deep Dives: Volume 1 was released, I had the opportunity to contribute two...
2011-09-30
1,776 reads
Over the last week I have done several sessions either for the Pragmatic Works Free Training online or at SQL...
2011-09-30
4,265 reads
I love wearing all my SQL Saturday speaker shirts. Here lately the trend has been nice golf or running shirts...
2011-09-30
1,438 reads
Many of you know recently the PASS board announced that elections will be coming up for three seats on the...
2011-09-30
2,617 reads
This is something I saw recently, a large chalkboard – like the kind they used to have in schools – on a...
2011-09-29
710 reads
There is no native function built in to SSIS to get the previous row in the data flow. But with...
2011-09-29
1,775 reads
Here goes with what I hope to achieve the following week in Seattle, WA Oct 9-15 for my 4th summit.
I...
2011-09-29
1,421 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