SSDT Dev in Visual Studio Code
I have been quite interested by vs code and have been using it more and more recently. I use it for all my GO (#golang FTW) work and also...
2017-04-27
25 reads
I have been quite interested by vs code and have been using it more and more recently. I use it for all my GO (#golang FTW) work and also...
2017-04-27
25 reads
On May 18, 2017, I’ll be giving a talk at the Syntax Code and Craft Conference in Charleston, SC. If...
2017-04-27
817 reads
At SQLskills, we just launched our new training class on Azure that I will be teaching in Chicago, and my...
2017-04-27
888 reads
Another installment of 24 Hours of PASS is coming up next week on May 3-4! This semiannual event features 24...
2017-04-27
610 reads
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2017-04-27
997 reads
Sometimes you get reminded that you don’t know everything about SQL Server and it’s various products Every time I run...
2017-04-27
574 reads
Resigned from post as PASS Chapter Leader in Cologne/Rheinland
Mit einiger Wehmut darf ich verkünden, dass ich das Amt des Regionalgruppenvertreters (RGV) der PASS Regionalgruppe Rheinland niedergelegt habe. Seit Januar...
2017-04-27
45 reads
Resigned from post as PASS Chapter Leader in Cologne/Rheinland
Mit einiger Wehmut darf ich verkünden, dass ich das Amt des Regionalgruppenvertreters...
2017-04-27
698 reads
SSL All the Things
Browsers are starting to highlight sites without SSL as insecure in a bid to push everyone to...
2017-04-26
138 reads
On May 2, 2017, I’ll be giving two talks at the SSWUG 2017 Virtual Conference. Here are the talks:
Building a...
2017-04-26
490 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