June S3OLV Update
This is a real quick update. It has been requested that we go ahead and provide LiveMeeting for tonight as well. Thus Charley will be presenting in person but...
2011-06-09
6 reads
This is a real quick update. It has been requested that we go ahead and provide LiveMeeting for tonight as well. Thus Charley will be presenting in person but...
2011-06-09
6 reads
This is a real quick update. It has been requested that we go ahead and provide LiveMeeting for tonight as...
2011-06-09
498 reads
The school my daughter attends gives each student a workbook type thing at the beginning of each year, and it...
2011-06-09
606 reads
BIDS helper is Visual Studio add-in with features that extend and enhance the functionality of the SQL Server 2005 and SQL Server...
2011-06-09
779 reads
We had a cozy (read: small) UnSQL Friday this time around, and I’m good with that. Every entry we got...
2011-06-09
846 reads
Have you been thinking about getting certified? Are you close on finishing your studying but aren’t quite sure if you...
2011-06-09
708 reads
Someone asked me in a webinar how to change the default backup directory. I knew, but realized that I didn’t...
2011-06-09
24,116 reads
For those of you who’ve worked with NetApp and SnapManager for SQL Server, you will know can generate a scheduled...
2011-06-09
1,228 reads
While working on Reporting Services at a client site I came across this error when trying to preview a report...
2011-06-08
3,337 reads
Thanks again to everyone who attended. Technical problems aside I had a great time and there were some great questions!
If...
2011-06-08
579 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