• Didn't find this very helpful.

    For very large tables, the cursor approach would be dreadfully slow.

    There are other techniques that exist, such as using duplicate indexes with IGNORE_DUP_KEY option that would be better for very large tables.

    Cheers,