How to Enroll a Managed Instance into SQL Server Utility in SQL Server 2008 R2
After creating a Utility Control Point (UCP) you will want to enroll some managed instances (up to 25 with SQL...
2010-03-16
1,312 reads
After creating a Utility Control Point (UCP) you will want to enroll some managed instances (up to 25 with SQL...
2010-03-16
1,312 reads
devLink 2010 will be held in Nashville, TN August 5-7 on Lipscomb University. This three day, 140+ session event costs...
2010-03-16
506 reads
Aaron Bertrand showed up to teach us tips and tricks for SQL Server Management Studio. We had to move our...
2010-03-15
613 reads
Join us this Thursday, March 18th for our monthly NTSSUG meeting. SQL Server MVP Sean McCown will be continuing his...
2010-03-15
590 reads
On Saturday the 27th of March, I’m going to be presenting two sessions at SQLSaturday #29 in Birmingham, Alabama.
1:30 PM:...
2010-03-15
469 reads
The Denver SQL Server User’s Group will be having their March meeting on Thursday, March 18. Bulent Gucuk will discuss...
2010-03-15
762 reads
If you are a regular to the sql server community sites, forums and blogs, then you know about the awesome stuff brought...
2010-03-15
1,050 reads
This is probably part 1 of a series, but no guarantees.
Why Certify?
I've been working with SQL Server for 10 years...
2010-03-15
1,742 reads
Many companies face the decisions to 1) consolidate their SQL Servers, due to sql sprawl; and 2) whether to virtualize their SQL...
2010-03-15
1,098 reads
It’s pretty common to download software as an ISO file (a disk image) and it seems like a waste to...
2010-03-15
786 reads
By Steve Jones
Here are the resources for my talk at Day of Data Boston. Slides –...
By Steve Jones
I’ve covered the values in a number of previous posts on the Book of...
By Arun Sirpal
When the evidence names the database, it says so. When it doesn’t, it stops....
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