MS Access – Store a Different Value than Displayed in a Combo Box
It is occasionally usefully to display a different values in an Access combo box than what is actually stored in...
2016-10-13
473 reads
It is occasionally usefully to display a different values in an Access combo box than what is actually stored in...
2016-10-13
473 reads
Today's post is about a simple but very useful query.
One of the basic things one needs to check is the...
2016-10-12
3,147 reads
Welcome back to another episode of This Week In Data! If you missed our previous episodes, you can watch them...
2016-10-12
522 reads
I had a call with a customer this morning discussing different ways to publish Power BI content and how to...
2016-10-20 (first published: 2016-10-12)
1,120 reads
Update: 2017-07-14
Still find this incredibly awesome! Developer just updated for Visual Studio 2017 after a lot of hard work. Github...
2016-10-12
279 reads
SQL Server 2016 introduces Stretch Databases, a beautiful feature that by itself makes migrating to SQL 2016 worth it. What is it? A stretch database is basically a database...
2016-10-12
13 reads
SQL Server 2016 introduces Stretch Databases, a beautiful feature that by itself makes migrating to SQL 2016 worth it. What...
2016-10-12
233 reads
Faced with auditing SQL Server on a regular basis with no 3rd party tools? Where do you start? That’s what...
2016-10-12
448 reads
I love SQL Prompt, since it makes T-SQL coding quicker and easier. One of the handiest things is the Snippet...
2016-10-12
723 reads
The Sound of Music is one of my all time favorite movies. It reminds me of some great times with...
2016-10-12
523 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