PASS Update #25 (Summit Location and More)
By now you’ve probably seen the official announcement from PASS about the Summit being located in Seattle for both 2011...
2010-03-11
680 reads
By now you’ve probably seen the official announcement from PASS about the Summit being located in Seattle for both 2011...
2010-03-11
680 reads
While it is probably out of reach for most DBAs in the United States to attend, the PASS European Conference...
2010-03-11
409 reads
I got a little distracted after lunch and was reading through some of the various bloggers reactions to the decision...
2010-03-11
622 reads
This post is the second post in my series about Database mirroring. For part one is titled Configuring Database Mirroring...
2010-03-11
756 reads
Or “Shot gun query tuning”
There have been a fair few forums questions in recent months asking for help in removing...
2010-03-11
455 reads
In case you missed David Pless in Orlando on Tuesday, you have another chance to see his presentation tonight (Thursday...
2010-03-11
529 reads
Let's say that you have a column
named some_id in an outer-joined table that will return a value if a record...
2010-03-11
429 reads
Report designers often revert to overly complex report designs and often use subreports
unnecessarily. Building a report on a single dataset...
2010-03-11
593 reads
Reporting Services supports recursive hierarchies and Analysis Services supports parent-child
dimensions…
…and these two powerful features ought to just work together seamlessly,...
2010-03-11
7,570 reads
This question comes up quite often. A report requires a user to be authenticated using
their own network user name and...
2010-03-11
415 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