efanti
01-21-2009, 09:59 AM
Hi all.
I woul like if it's possible this.
I would like to have a transformation of this type:
insert a record in a table (where insert_id is a auto incremental value)
In the following step, I have to insert a record into another table where a field refers to the value previously entered inssert_id.
In mysql db exist this command "select last_insert_id".
The SELECT returns the auto increment value generated during the last INSERT.
can I have this?
Thank you.
I woul like if it's possible this.
I would like to have a transformation of this type:
insert a record in a table (where insert_id is a auto incremental value)
In the following step, I have to insert a record into another table where a field refers to the value previously entered inssert_id.
In mysql db exist this command "select last_insert_id".
The SELECT returns the auto increment value generated during the last INSERT.
can I have this?
Thank you.