On 2011-07-06, Kevin Crain <[email protected]> wrote:
> That's why you need to do this inside a function. Basically just make
> an insert function for the table and have it calculate the count and
> do the insert in one transaction.
you will still get duplicates, so include code in the function to
retry if there is an error.
--
⚂⚃ 100% natural