SQL Server Installation Date
I have been working on a project recently to collect system metrics of a SQL Server environment. One of the items...
2013-06-27
1,404 reads
I have been working on a project recently to collect system metrics of a SQL Server environment. One of the items...
2013-06-27
1,404 reads
Hey, all!
Today, going on all day, is the Summer Performance Palooza 2013, hosted by the PASS Performance Virtual Chapter. It is...
2013-06-27
1,719 reads
To those that don’t know me “Natural Born Killers (The Series)” sounds like a very strange choice for a SQL...
2013-06-27
1,937 reads
We’re blessed in the SQL Server community that there are so many people willing to share work they have done...
2013-06-27
4,076 reads
(Be sure to checkout the SQLpassion Online Academy, where you get High-Quality SQL Server Trainings with Instant Access!)
Under some preconditions...
2013-06-27
3,219 reads
Next month Mike Davis and myself will be making a epic road trip. We will be flying into Columbus, OH...
2013-06-27
1,630 reads
**This Session has been rescheduled for July 10th @ Noon EST (16:00 UTC)** On July 10th 2013 @ Noon EST (16:00 UTC)...
2013-06-26
1,257 reads
This week I got to visit Atlantis. Not the mythical island, but rather the ship, the Space Shuttle Atlantis at...
2013-06-26
1,355 reads
You must be really busy spinning up VMs to test SQL Server 2014 CTP1 and Windows Server 2012 R2 preview.
If...
2013-06-26
1,623 reads
I had a situation which forced me to do a feasibility study to move SQL server 2008 enterprise edition environment to standard edition. It is...
2013-06-26
1,696 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