Thank you, plog, for weighing in. Reason for the temporary table is that the user has to manipulate some data and then decide on whether to make changes permanent or not. I had envisaged writing directly to the target tables and wrapping everything into a transaction, however, this interfered...