SQL Server Admin Best Practices with DMV's at SQLSaturday Pensacola 2016
Great attendance and awesome questions from my 1130AM session on "SQL Server Admin Best Practices with DMV's". As promised, all...
2016-06-05
598 reads
Great attendance and awesome questions from my 1130AM session on "SQL Server Admin Best Practices with DMV's". As promised, all...
2016-06-05
598 reads
Free indexing books, awesome! Before I tell you how, lets start with what we are talking about here. If you weren’t aware, last summer I worked with Grant Fritchey...
2016-06-03
19 reads
Free indexing books, awesome!
Before I tell you how, lets start with what we are talking about here. If you weren’t...
2016-06-03
488 reads
2016-06-02
7 reads
2016-06-02
7 reads
2016-06-02
11 reads
2016-06-02
20 reads
Prakash will walk you through a centralized process using PowerShell where the key information collected, organized and sent via HTML formatted email, provides consolidated view of SQL server along...
2016-06-02
33 reads
Prakash will walk you through a centralized process using PowerShell where the key information collected, organized and sent via HTML...
2016-06-02
753 reads
I’m going to be speaking for the downtown Chicago SQL Servers User Group at 5:30pm on June 9th! I plan to...
2016-06-02
452 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