On 2016-03-10 05:12, AndyHC wrote:
Use autoinc but wrap your child-parent-grandparent inserts in a transaction - or better still an SP.
I don't like the idea of committing until I'm totally sure I want to add those records; hence the disconnected-until-ready-to-save approach.
_______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

