Guide to SQL Server Table Indexes (Part 3)
Checkout the part-3 of my five part article series on Guide to SQL Server Table Indexeshere, in which you will learn...
2013-08-06
563 reads
Checkout the part-3 of my five part article series on Guide to SQL Server Table Indexeshere, in which you will learn...
2013-08-06
563 reads
Checkout the part-2 of my five part article series on Guide to SQL Server Table Indexeshere, in which you will learn...
2013-08-06
545 reads
SQL Server allows applications and users to execute full- text search queries against character based data in SQL Server tables....
2013-08-06
946 reads
Normalization, which is the key part of the OLTP databases logical design process, is a design requirement for OLTP databases....
2013-08-06
570 reads
Time has flown by and we’re just five weeks from SQLSaturday #232 on September 14th, 2013. It’s a time of...
2013-08-06
567 reads
What are the advantages of using SSAS Cubes over a regular data warehouse for reporting? Note I’m not asking why...
2013-08-06
1,684 reads
I had a very unpleasant experience a while back when I was commenting anonymously on a web site (not SQL...
2013-08-06
599 reads
Recently I installed the Android version of the Overdrive Media Console on my Nexus 7. It’s a free app. Install...
2013-08-06
791 reads
Deadlocks are rough to work with. Here are the scripts I use to capture deadlocks, find which ones are reoccurring,...
2013-08-06
2,093 reads
If you're using a Windows phone, versions 7.8 or 8, there is a new security advisory out with respect to...
2013-08-06
630 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