Fun Time Friday: Black Friday, Mad Friday, Frantic Friday or Black Eye Friday
Black Friday (No,not Shopping!), Mad Friday, Frantic Friday or Black Eye Friday is a nickname for the last Friday before...
2018-12-21
183 reads
Black Friday (No,not Shopping!), Mad Friday, Frantic Friday or Black Eye Friday is a nickname for the last Friday before...
2018-12-21
183 reads
Black Friday (No,not Shopping!), Mad Friday, Frantic Friday or Black Eye Friday is a nickname for the last Friday before Christmas (Today!) in the United Kingdom.It is the most...
2018-12-21
17 reads
Continue to our last discussion , today we will be discussing on MongoDB default databases and more… When you install mongoDB...
2018-12-21
221 reads
I got a chance to work with PowerShell automation script to automate the login process. In the script, the profile...
2018-12-21
262 reads
2018 is about to end. In the case you didn't know or haven't heard, the extended support for SQL Server...
2018-12-21
391 reads
2018 is about to end. In the case you didn't know or haven't heard, the extended support for SQL Server 2008 (and R2) reaches to an end in 2019.
This...
2018-12-21
41 reads
There is plenty of legislation and regulation in place these days that strongly suggest the encryption of data within a database. In SQL Server, we have the ability to...
2018-12-20
17 reads
There is plenty of legislation and regulation in place these days that strongly suggest the encryption of data within a...
2018-12-20
400 reads
By Steve Bolton
…………“The shortest distance between two points is a straight line.”
…………In this famous remark, Archimedes[1] (287-212 B.C.) managed to...
2018-12-20 (first published: 2018-11-30)
2,556 reads
At the far end of an out-of-the-way aging strip shopping center in southern Louisiana, there stands a small and modest...
2018-12-20
218 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...
By Steve Jones
Here are the resources for my talk at Day of Data Boston. Slides –...
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