Power BI Tips, Tricks & Best Practices Webinar Recording & Materials Now Available
Thank you to everyone that attended my Power BI webinar last month, September 29th. Sorry its taken me a while...
2015-10-13
288 reads
Thank you to everyone that attended my Power BI webinar last month, September 29th. Sorry its taken me a while...
2015-10-13
288 reads
Thank you to everyone that attended my Power BI webinar last month, September 29th. Sorry its taken me a while...
2015-10-13
559 reads
Have you ever wondered if that black box in your datacenter called the network is performing as well as it...
2015-10-13
919 reads
To All-
I am truly grateful I have been selected for this unique contest: http://www.dcac.co/your-pass-speaker-idol-2015-top-12-are
Good luck to all of my fellow...
2015-10-13
376 reads
For many years I didn’t really think about the implications of how I was retrieving data from my SQL Servers...
2015-10-13
16,092 reads
My enthusiasm for analyzing stock market data using Power BI – even after publishing two posts recently (this and this) – is at...
2015-10-13
567 reads
The event_file target is an asynchronous consumer for Extended Events. This target stores the received payload in a proprietary binary format. Because of this, one needs to use the...
2015-10-13
50 reads
Having covered the metadata for a deployed session from just about every angle (yes there is more on metadata that could...
2015-10-13
954 reads
This month’s T-SQL Tuesday (#71) is hosted by Sebastian Meine (b/t). He has picked an interesting security subject. SQL Server...
2015-10-13
508 reads
In the previous blogs we saw the use of certificates to encapsulate symmetric keys. How it benefits the user by...
2015-10-13
572 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