SQLcruise review
The most amazing journey that I have done in the past years was definitely SQLcruise
(see http://www.sqlcruise.com) – a SQL Server
event organized...
2011-06-12
578 reads
The most amazing journey that I have done in the past years was definitely SQLcruise
(see http://www.sqlcruise.com) – a SQL Server
event organized...
2011-06-12
578 reads
Sometimes, a simple task that as a DBA you do day in and day out,
can throw wierd errors.
You...
2011-06-12
411 reads
I presented a 75 minute session at Tampa SharePoint Saturday on PowerShell Basics.
The presentation and demo scripts can be found...
2011-06-11
433 reads
I am back again!!!. It has been ages since I posted.An important event in my life kept me away from...
2011-06-11
343 reads
A brief discussion and links to a series of YouTube videos from Stéphane Faroult.
I’ll continue the discussion of the table...
2011-06-11
1,220 reads
A mini debate on Twitter the other day got me thinking about cars. People that know me know I like...
2011-06-10
1,523 reads
I was going to write a short post showing some useful queries that can help you manage your vCentre environment,...
2011-06-10
510 reads
Here I am working on tuning a rather large stored procedure; old school. I have statistics IO and showplan turned on. I work through the obvious missing indexes and improper...
2011-06-10
13 reads
Here I am working on tuning a rather large stored procedure; old school. I
have statistics IO and showplan turned on. I work through the obvious
missing indexes and improper joins and now...
2011-06-10
54 reads
Here I am working on tuning a rather large stored procedure; old school. I have statistics IO and showplan turned on....
2011-06-10
673 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