Recipe for an awesome (free) SQL Server workstation
Windows 10. Where we're going we don't need legacy software, but if you do, then download PowerShell 5.0 instead.
SQL Server...
2016-08-16
144 reads
Windows 10. Where we're going we don't need legacy software, but if you do, then download PowerShell 5.0 instead.
SQL Server...
2016-08-16
144 reads
This past weekend was the first SQL Saturday in San Antonio, TX. I was lucky enough to get the chance...
2016-08-15
559 reads
I love the Query Store. Seriously. It’s a huge leap forward in the capabilities of Azure SQL Database and SQL...
2016-08-23 (first published: 2016-08-15)
1,810 reads
Possibly the single most influential event in my career happened over 25 years ago. I lost my temper at a...
2016-08-15
1,058 reads
This is an interesting question. Lets look at couple of definitions starting with Wikipedia’s definition
“Enterprise architecture (EA) is "a well-defined...
2016-08-15
508 reads
Did some checking as couldn't find help in the MSDN documentation. My test on SQL 2016 shows that since the...
2016-08-15
89 reads
Did some checking as couldn't find help in the MSDN documentation. My test on SQL 2016 shows that since the...
2016-08-15
402 reads
This weekend, I attended SQLSaturday in Indianapolis for the first time. It’s one of the larger events in the Midwest...
2016-08-15
473 reads
Microsoft released a new sample database a couple of months back: Wide World Importers. It’s quite great: not every (unnecessary...
2016-08-22 (first published: 2016-08-12)
3,146 reads
This past weekend I was fortunate enough to be a part of Louisville’s (for those local the ‘ville) SQL Saturday event held...
2016-08-18 (first published: 2016-08-12)
1,681 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...
By Steve Jones
Here are the resources for my talk at Day of Data Boston. Slides –...
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