I have 3 table called List1. List 2, and List3
The columns in List1 are ID, Name
The columns in List2 are ID (Foreign Key references List1), companyID (Foreign Key references List1)
The columns in List3 are companyID, companyName
I want to write a producere to insert a person to List1 and List2 and then ensure that the companyID is valid (between 1-10), and if its invalid i have to rollback the person insert operation
PLEASE HELP!