0
I need to insert into my database two tables, one of the tables has a primary key and the other will use this value as a foreign key.
My question is: How can I return the value of this primary key right at the time of insertion? Or how I can do the PK search, without the risk of me taking the value of another tuple that was inserted at the same time or soon after?
Thank you
on Trigger or programming?
– adventistaam