Violation of Primary Key (SQL Server)

in data •  5 years ago 

Check out the solution in the video (ETL) Violation of PRIMARY KEY constraint 'PK_Constraint' - Different Source and Destination Keys. One pattern I've seen quite often is developers changing primary keys or sometimes swapping primary keys from source to destination. While there may be some legitimate contexts to doing this, be extra careful, as we see an example in the video of this.

Automating ETL
Check out the highest-rated Automating ETL course on Udemy, if you're interested in data.

An hour of thoughtful planning can be worth a full work week. Planning isn't sitting in a meeting and discussing things. Planning is considering what you will do, what the effects are along with what the limitations of what you're capable of doing. If changes need to made to the primary key, then you should plan this change and recognize the effects that it will have.

YouTube | Automating ETL | T-SQL In 2 Hours | Consumer Guide To Digital Security

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Hi! Did you know that steemit.com is now censoring users and posts based on their opinions?
All the posts of these users are gone!
https://github.com/steemit/condenser/commit/3394af78127bdd8d037c2d49983b7b9491397296

Here's a list of some banned users:
'roelandp', 'blocktrades', 'anyx', 'ausbitbank', 'gtg', 'themarkymark', 'lukestokes.mhth', 'netuoso', 'innerhive'
See anyone you recognize? There could be more, they also have a remote IP ban list.

Will you be censored next?