Hello all,
I am trying to test if my table has certain values for each person (person is equavilant to several records in my table) and if not then insert a new record with that value. For example, in my db each person has several licenses 1-9. So ideally each person will have 9 rows ( each row with a different license number)
What I am trying to do is test if each person has all 9 licenses and if not, insert a record for the person with the appropriate license number. I am not sure how to go about doing that. Any suggestions would be greatly appreciated.
Thanks,
AV
I am trying to test if my table has certain values for each person (person is equavilant to several records in my table) and if not then insert a new record with that value. For example, in my db each person has several licenses 1-9. So ideally each person will have 9 rows ( each row with a different license number)
What I am trying to do is test if each person has all 9 licenses and if not, insert a record for the person with the appropriate license number. I am not sure how to go about doing that. Any suggestions would be greatly appreciated.
Thanks,
AV