Merge Statements in T-SQL

preview_player
Показать описание
Merge statements provide a flexible approach to manipulate data in a "target" table based on a join to a "source" table. The enable users to perform a large # of updates and/or inserts in a target table using a single T-SQL statement.

Рекомендации по теме
Комментарии
Автор

never deep on using merge T-SQL before and looks easy to implement and yield fast result with very straight instruction! thks a lot!

keekee
Автор

Thanks Steve, the merge statement looks very useful.

jamiegreenwood
Автор

Great vid, really helps out in understanding. Thanks Steve!

TripRide
Автор

Eureka. It has been simplified! Walked through the sample.

nagelfamily
Автор

Thank you, Steve. Took me 2 times to review, but I got it.

DJJSerpico
Автор

Hi Steve, one question here if we are doing a Merge with bulk data and if the update for one record fail then all the records after that will not be merged. How can we skip errorneous record.

janeyajaneya