MySQL Forums
Forum List  »  Stored Procedures

Keep inserted rows in Temp table - after a rollback
Posted by: Anandkumar Sagar
Date: February 01, 2019 04:36AM

I want to run some updates on a hard table within a transaction, and insert rows into a temp table based on the newly updated hard table, but I don't want to lose the temp table data after the transaction is rolled back.
I am able to do using table variable in sql server. is they way to do same in mysql?

Options: ReplyQuote


Subject
Views
Written By
Posted
Keep inserted rows in Temp table - after a rollback
1211
February 01, 2019 04:36AM


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.