S3OLV April Meeting Recap
We held our meeting last night and had a good time. Thanks to those that were able to make it...
2010-04-09
461 reads
We held our meeting last night and had a good time. Thanks to those that were able to make it...
2010-04-09
461 reads
How do I Write a Backup Strategy?
DBA's harp about the need to have backups. The first thing many DBA’s do when they inherit...
2010-04-09
973 reads
I’ve had the Prius for 3 years as of Mar 31, 2010, and it’s been a great car for us....
2010-04-09
388 reads
As I begin to explore more and more of the new feature that will be available in SQL Server 2008...
2010-04-09
1,844 reads
I’ve posted before about issues I’m having either with behaviors of nHibernate, or behaviors of teams using nHibernate, but I...
2010-04-09
973 reads
An interesting experiment from Microsoft tonight. They brought 8 or 9 bloggers/press people from around the country to Redmond for...
2010-04-09
1,101 reads
That's the main point from the following article:
Video: Data breaches to cost more in the cloud
The cost was calculated per...
2010-04-09
1,043 reads
The DMV for Day 9 is sys.dm_os_schedulers, which is described by BOL as:
Returns one row per scheduler in SQL Server...
2010-04-09
965 reads
As DBAs, we are often put in the position of purchasing software from third-party vendors. If you are like me,...
2010-04-09
1,367 reads
Introduction
I recently moved a database from SQL 2000 to SQL 2005. It was really just a matter of detaching the...
2010-04-08
406 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