Why does sqlpackage.exe not compare after the pre deployment script has run?
It isn't a Pre compare script
When you use SSDT to deploy your dacpac, a pre deployment script lets you run...
2015-06-24
865 reads
It isn't a Pre compare script
When you use SSDT to deploy your dacpac, a pre deployment script lets you run...
2015-06-24
865 reads
It isn’t a Pre compare script
When you use SSDT to deploy your dacpac, a pre deployment script lets you run...
2015-06-24
45 reads
It isn’t a Pre compare script
When you use SSDT to deploy your dacpac, a pre deployment script lets you run...
2015-06-24
79 reads
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2015-07-03 (first published: 2015-06-24)
6,407 reads
It isn't a Pre compare script
When you use SSDT to deploy your dacpac, a pre deployment script lets you run some T-SQL scripts before the script which brings your...
2015-06-24
20 reads
XML is a beast if you've never tackled it. Here are some simple examples of what I discovered as I...
2015-06-30 (first published: 2015-06-24)
2,917 reads
SQL Server has the concept of fill factor for leaving extra space in pages to reduce the number of page...
2015-06-24
807 reads
This is a post that is looooong overdue. I have intended to write some of this at least since the first SQL Cruise I attended back in 2013 (in...
2015-06-24
20 reads
This is a post that is looooong overdue. I have intended to write some of this at least since the...
2015-06-24
666 reads
Earlier this week I was scripting out a table with some legacy columns (InsertDate and InsertBy for example). If you...
2015-06-30 (first published: 2015-06-24)
2,095 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