Re: ON DUPLICATE KEY UPDATE
> Thanks for reply. However, in the stored procedure I need 10 unique random numbers inserted that are specified in the while loop. Using Ignore will drop records. Sorry for not explaining clearly.
Yes, I understand that. Test each insert with Row_Count(), increment your counter only if it's 1.
Subject
Written By
Posted
Re: ON DUPLICATE KEY UPDATE
October 06, 2016 11:24AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.