How many Backups is Too Many?
Does this title seem strange? Of course we know this is the true answer:
https://cdn.meme.am/cache/instances/folder633/58097633.jpg
But here is a story of a...
2017-03-02 (first published: 2017-02-24)
2,685 reads
Does this title seem strange? Of course we know this is the true answer:
https://cdn.meme.am/cache/instances/folder633/58097633.jpg
But here is a story of a...
2017-03-02 (first published: 2017-02-24)
2,685 reads
Wow that week absolutely flew by! Here’s what I’ve been reading…
Seatbelt learning with Uncle Buck
Buck Woody goes through how he...
2017-02-24
338 reads
I saw this week that there was a new CTP (v1.3) of SQL Server v.Next. I haven’t had a lot...
2017-03-01 (first published: 2017-02-23)
4,859 reads
As someone who still actively pursues a career in technology, I’m a little on the older side. I got started...
2017-02-23
415 reads
They kinda suck. I mean it is nice that we have the option for the SQL Agent to tell us...
2017-02-28 (first published: 2017-02-23)
3,517 reads
Today at 3 PM EST I’m giving a webinar on designing a successful database security model with SQL Server.
Register Here for...
2017-02-23
445 reads
Who has the legal right to access your personal and private digital assets? The answer can be complex, and will...
2017-02-27 (first published: 2017-02-23)
1,503 reads
There is a new website from PASS. Go to Pass.org instead of SQLPass.org. The change does not really concern me...
2017-02-23
483 reads
This is the first in a series of blog posts about how great SQL Server 2016 is, and why you should...
2017-02-23
1,496 reads
Join Webinar on SQL Server 2016 - Always Encrypted / Security. Thu 2/23/2017 from 12 PM to 1 PMSQL Server has had ways to encrypt data in the past - for...
2017-02-23
15 reads
By Steve Jones
I caught this interesting item over on Pinal Dave’s blog: Eleven Interview Questions that...
By Hemantgiri
I use color-coded connections in SSMS to distinguish Production, Pre-Production, UAT, and Development. But...
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