-1
i have 2 tables Client and Address with relationship 1.1
In the address table has the FK.
What would be the right way to do the Insert in these tables, relating client to address?
I imagine Lastinsertid wouldn’t be viable in a very large system with multiple records being rewired at the same time.
Wellington edit your question and put together your code
– Luiz Augusto
Wasn’t it supposed to be the other way around? Customer have foreign address key?
– adventistaam
The ideal here in the forum is that you put your code so that we can help you better. Question answered with the information you put, if you put more information and it is not compatible with the situation I edit/ remove.
– Leticia Rosa