Inside an SSDT Deployment Contributor
In my deployment filter I have been asked a couple of times to allow columns that exist on a table...
2015-09-23
1,003 reads
In my deployment filter I have been asked a couple of times to allow columns that exist on a table...
2015-09-23
1,003 reads
In my deployment filter I have been asked a couple of times to allow columns that exist on a table...
2015-09-23
40 reads
In my deployment filter I have been asked a couple of times to allow columns that exist on a table...
2015-09-23
38 reads
To help with this scenario (it is pretty specific):
You have a table that has columns that you do not know about when you create the dacpac, possibly you have...
2015-09-23
6 reads
In my deployment filter I have been asked a couple of times to allow columns that exist on a table that do not exist in a dacpac to be...
2015-09-23
8 reads
Counter offers (and the related discussions) are an emotional topic. The comments on two of my editorials for SQLServerCentral (The...
2015-09-23
599 reads
Not quite fineprint, but sure feels like it!
Quotename can be a pretty cool function to simplify your dynamic sql, as...
2015-09-23
384 reads
TIMESTAMP vs. DATETIME: What’s the diff? The TIMESTAMP data type in SQL Server is not what you may think it...
2015-09-23
983 reads
I was doing a database code deployment the other night and the first step in the release plan was “Take...
2015-09-29 (first published: 2015-09-23)
7,286 reads
As I’ve mentioned before, living in Louisville offers up great opportunities to various events within the SQL Community. This weekend...
2015-09-23
533 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