Persisting data in docker containers – Part Two
Last week in Part One I went through how to mount directories from the host server into a docker container...
2017-07-10 (first published: 2017-06-28)
1,630 reads
Last week in Part One I went through how to mount directories from the host server into a docker container...
2017-07-10 (first published: 2017-06-28)
1,630 reads
SQL in 60 Seconds is a series where I share SQL tips and tricks that you can learn and start using in less than a minute.
Watch this week's video...
2017-06-27
30 reads
Having covered authentication yesterday, let’s move on the second A, authorization. Authentication was about proving identity. Now that we know...
2017-07-10 (first published: 2017-06-27)
1,674 reads
Having the right tools for the job makes the work much more efficient. However, for those just starting out in...
2017-07-07 (first published: 2017-06-27)
2,383 reads
I was VERY excited when I read the following tweet (below) from Bob Ward regarding SQL Server Diagnostics capability. What...
2017-06-27
589 reads
The ability to export a script of database objects has for a long time been a feature of SQL Server...
2017-06-27
97 reads
Managing indexes is a critical component of database maintenance but we often don’t think about the indicators behind the index...
2017-06-26
589 reads
I had a strange situation the other day, where a number of things went wrong with my instance. First, I...
2017-06-26
714 reads
SQL Server provides multiple ways to perform most functions. In order to maximize your understanding of how SQL Server works...
2017-07-06 (first published: 2017-06-26)
2,005 reads
Brent Ozar (b/t) posted a pop quiz on twitter earlier today.
Go ahead and give it a shot .. I’ll wait.
So?...
2017-06-26
677 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