Advertisement
Guest User

Untitled

a guest
Sep 21st, 2014
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. PAD_INDEX = OFF,
  2. STATISTICS_NORECOMPUTE = OFF,
  3. IGNORE_DUP_KEY = OFF,
  4. ALLOW_ROW_LOCKS = ON,
  5. ALLOW_PAGE_LOCKS = ON
  6.  
  7. ON
  8.  
  9. A warning message will occur when duplicate key values are inserted into a unique index. Only the rows violating the uniqueness constraint will fail.
  10. OFF
  11.  
  12. An error message will occur when duplicate key values are inserted into a unique index. The entire INSERT operation will be rolled back.
  13.  
  14. IGNORE_DUP_KEY cannot be set to ON for indexes created on a view, non-unique indexes, XML indexes, spatial indexes, and filtered indexes.
  15.  
  16. To view IGNORE_DUP_KEY, use sys.indexes.
  17.  
  18. In backward compatible syntax, WITH IGNORE_DUP_KEY is equivalent to WITH IGNORE_DUP_KEY = ON.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement