Answer the question
In order to leave comments, you need to log in
How to insert query result into two related tables?
For a single entry, I can get the last id via scope_identity() . But I need to insert records from one large table into two others - what can I do in this case?
Answer the question
In order to leave comments, you need to log in
What is the relationship between the first and second sentence?
What is the essence of the insert and why does it not work?
"at the same time" it is required to place id of freshly inserted lines in that big table???
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question