How can we help you today? How can we help you today?
PrgSkidmark

Activity overview

Latest activity by PrgSkidmark

I updated to the 11.6.3.1926 yesterday morning. I had to get those records copied yesterday. I found I could export comparison results. I opened the table.csv file in excel, did text to columns, and copied the key to a new query. I deleted all the rows from target table where key in that list. And it deleted almost 260. So out of 15000 rows almost 260 keys existed in target, but the SQL Data Compare said they were source only. If you look at the Source Only Panel at the bottom, you'll even see the Source has value and Target has the shaded box. I even tried removing all fields from columns in comparison. So 2 key fields compared to ONLY those 2 key fields. I got exactly the same result. The difference is that the insert script only has those 2 fields in the insert statements. The field types I am comparing are UNIQUEIDENTIFIER and DATETIME2. I thought that perhaps the compare logic doesn't know how to compare them. So I tried just the UNIQUEIDENTIFIER, which is the key. It also doesn't work. I gathered some screen shots to show the comparison key is the PK of TranID. I check source only and show that it shows the record as source only, and not as a difference. [image] [image] I try to deploy and get the error. [image] Then I show the existance of the key in the source table. [image] The 3000 record compare was using an IDENTITY column of type BIGINT. Its "Source Only" was wrong when a delete query on the key deleted 188. / comments
I updated to the 11.6.3.1926 yesterday morning. I had to get those records copied yesterday. I found I could export comparison results. I opened the table.csv file in excel, did text to columns, a...
0 votes
Deploy Violation of UNIQUE KEY constraint
I keep getting Cannot insert duplicate key. I changed the comparison to use the unique key. For Example, I tried to compare a table, and it says there are 3000 "source only" records. I get cannot...
1 follower 3 comments 0 votes