Home Forums SQL Server 2008 SQL Server 2008 - General Tablas con índice y opción IGNORE_DUP_KEY=ON problemas en los bloqueos al insertar en la tabla RE: Tablas con índice y opción IGNORE_DUP_KEY=ON problemas en los bloqueos al insertar en la tabla
Sean Pearce
SSCoach
Points: 15999
More actions
November 13, 2013 at 4:54 am
#1666008
Hi,
Your example shows that the insert with IGNORE_DUP_KEY = ON produces a much more complicated query plan because it needs to filter out the duplicates before performing the insert. This also introduces an extra Key Range Lock as seen in sp_lock.
The SQL Guy @ blogspot[/url]
@SeanPearceSQL
About Me[/url]