What’s New in Power BI Webinar Recording is Available
Thank you to everyone that attended my webinar with the PASS Excel BI Virtual Chapter today! I’d also like to...
2016-03-25
567 reads
Thank you to everyone that attended my webinar with the PASS Excel BI Virtual Chapter today! I’d also like to...
2016-03-25
567 reads
Database Mirroring in SQL Server is deployed as a method to increase the availability of a SQL Server database in...
2016-04-05 (first published: 2016-03-25)
97,630 reads
I decided to revisit my framework to see if I could improve the performance and possibly increase the number of scenarios this framework could be used in. Turns out...
2016-03-24
39 reads
A frequent request I receive is to pull a list of logins/users with certain accesses, role memberships, etc.
I had a...
2016-04-07 (first published: 2016-03-24)
1,459 reads
Time flies. I didn’t notice that I hadn’t posted an update in February.
There’s been a lot going on since I...
2016-03-24
433 reads
I’ve been playing around with partitioning quite a lot recently and wanted to write a quick post about how it...
2016-04-05 (first published: 2016-03-24)
1,764 reads
The very first SQLSaturday in Belgium is over and it was a great event. I saw some interesting sessions, especially...
2016-03-24
500 reads
Is being on time important? I think that might be a revealing interview question. The answer might or might not...
2016-03-24
535 reads
The agenda for this year’s SQLBITs has been published you can find it here http://sqlbits.com/information/event15/Agenda.aspx?20160507
Our very own David Postlethwaite has...
2016-03-24
391 reads
Im not a big clustering/HA expert, but I obviously understand the need for such things to exist
However, the standard...
2016-03-24
1,232 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