PASS Update #24
Time to update you again on all things PASS. First, I haven’t made a lot of progress on the speaker...
2010-03-05
541 reads
Time to update you again on all things PASS. First, I haven’t made a lot of progress on the speaker...
2010-03-05
541 reads
I have been playing around some more with SQL Azure in order to get ready for an upcoming presentation, so...
2010-03-05
2,283 reads
A few months ago I read an article from SQLServerCentral.com about some Foreign Key gotchas. Since that article, I have seen...
2010-03-05
878 reads
I have taken some time off this week, I have been to the beach with my two golden retriever puppies....
2010-03-04
692 reads
I'll be presenting two sessions this Saturday (March 6, 2010) in Charlotte - Automate SQL Server Administration with PowerShell and Gather...
2010-03-04
585 reads
Final schedule for the Charlotte event and it is impressive – 9 tracks, 54 sessions!
2010-03-04
517 reads
Tuesday night I was having a conversation with my younger son, whom we call Turtle. It's a nickname that came...
2010-03-04
1,089 reads
It is widely know that data modifications on table variables do not support parallelism, Peter Larsson has a good example...
2010-03-04
567 reads
A few weeks ago I got an email from my backup administrator with a message like this:
Set type : Backup
Set...
2010-03-04
316 reads
The title of this post illustrates my own ambiguity on the topic. It’s fair and necessary to let others know...
2010-03-04
633 reads
By Steve Jones
Here are the resources for my talk at Day of Data Boston. Slides –...
By Steve Jones
I’ve covered the values in a number of previous posts on the Book of...
By Arun Sirpal
When the evidence names the database, it says so. When it doesn’t, it stops....
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