It is possible to run scripts inside SSMS on multiple instances without using CMS? Yes, it is!
Today I will write about an option that is less known/used in the SSMS tool. The ‘SQLCMD Mode’ option.
What is...
2017-02-14
4,156 reads
Today I will write about an option that is less known/used in the SSMS tool. The ‘SQLCMD Mode’ option.
What is...
2017-02-14
4,156 reads
The latest course offer is in from Learning Tree!! And It's Valentine's Day!
Learning Tree are showing you the love with...
2017-02-14
341 reads
I’ve created a free, open-source workshop to teach people the capabilities and features of Power BI Desktop. I was inspired...
2017-02-13
1,188 reads
By Steve Bolton
…………To get the point across that fuzzy sets require membership grades of some sort, throughout this series I’ve...
2017-02-13
938 reads
I flew to Utrecht last week to present with Chrissy LeMaire and Sander Stad to present to the joint Dutch...
2017-02-13
427 reads
I was asked if there was an easy way to export all the plans from cache to a .SQLPLAN file....
2017-02-13
868 reads
Man, if there was an award for procrastinating I’d definitely be in with a shout for today (I write these...
2017-02-13
311 reads
There’s a group at Redgate that investigates new ideas and products. They’re called the Foundry, and they do some cool...
2017-02-13
480 reads
The great thing about new versions of SQL Server is the fact that they are packed full of new features...
2017-02-13
406 reads
I did a talk at the london .net meetup if you want to get an overview of what SSDT is...
2017-02-10
378 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