Subject | Insert and Generators |
---|---|
Author | paultugwell |
Post date | 2005-09-14T09:33:22Z |
I am using an oninsert trigger and generator to provide the primary key
for a table. After inserting the record, I want to use the value of the
primary key just generated to insert some detail records related to the
master record I have just created. How do I return to my php program
the value of the primary key? I am using an insert statement in the php
script at the moment to inert the data for both tables.
for a table. After inserting the record, I want to use the value of the
primary key just generated to insert some detail records related to the
master record I have just created. How do I return to my php program
the value of the primary key? I am using an insert statement in the php
script at the moment to inert the data for both tables.