Parameterized Top Values Report
Top ranked lists are a common type of report. In many cases business users may want
to see only a specific...
2010-03-11
676 reads
Top ranked lists are a common type of report. In many cases business users may want
to see only a specific...
2010-03-11
676 reads
What lessons have we learned about managing report projects and what are the best
practices?
Since each report is stored in a...
2010-03-11
1,255 reads
How should date type parameters be prompted? There are two common approaches
depending on how you want the parameter to appear. ...
2010-03-11
421 reads
Article from the Architecture Journal ? 12-15-2009
by Paul Turley
Once upon a time, there was a big company whose IT department
wanted...
2010-03-11
876 reads
I'm doing some interesting research on using BiTemporal tables and I was wondering if anyone out there has any real-world...
2010-03-11
742 reads
I’m in charge of networking and social time for oPASS and I do what I can to help get our...
2010-03-11
514 reads
I Just had an article published at SQLServercentral on troubleshooting the cause of log growths. At the conclusion of that...
2010-03-11
489 reads
I think maintenance plans were a great improvement in SQL Server 2005, with a more visual designer and the ability...
2010-03-11
823 reads
I have often found it a little hard to keep up with PASS news, but after a little research, I...
2010-03-10
390 reads
There has been some discussion recently around the location of the PASS Summit. The debate was centered on the results...
2010-03-10
863 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