SSIS package taking forever to load when you open it?
When you open a SQL Server Integration Services (SSIS) package in SSIS Designer or add components to a package, SSIS...
2011-07-13
2,595 reads
When you open a SQL Server Integration Services (SSIS) package in SSIS Designer or add components to a package, SSIS...
2011-07-13
2,595 reads
If you ever want to validate what level of access a user has within a database OR wish to temporarily...
2011-07-13
1,131 reads
First we need to know the name and file location of the MSDB database files. When you change the location, make...
2011-07-13
969 reads
At work recently, I explained to a coworker the reasons and benefits of having databases in Simple mode in your...
2011-07-13
961 reads
A quick plug for my friend Blain Barton from Microsoft, he’s got a series of three broadcasts that are video,...
2011-07-13
742 reads
One of the most annoying processes with SharePoint is backing up a site collection. There is a build in tool...
2011-07-13
1,889 reads
This is a series of blog posts about how administrators can gain access to SQL Server, even if you try...
2011-07-13
1,880 reads
In order to keep the content fresh and the posts flowing here on my blog I have decided to publish...
2011-07-13
597 reads
SQL Server codename “Denali” CTP3 has been released to the public after much anticipation. You may ask yourself, “What happened...
2011-07-13
2,762 reads
I was facing quite well-known issue today – I had to develop logic of duplicating (versioning) parent-child records. Because I was...
2011-07-12
2,138 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