Delete and insert a record using deleted id in one transaction

Hi! I want to delete a record and use the deleted id to insert another one later in the same table. Is it possible to do so in a single transaction? The problem I'm encountering when doing this is I get a primary key error on insertion.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server