Generator3Punkte
Programmer
Hello...
...I have a problem with inserting into more then one table.
Ive got 3 Tables:
T1:
id (primery key with autoincrease )
Data...int
T2:
id (primery key with autoincrease )
OtherData...int
T3:
id (primery key with autoincrease )
T1_id...is connceted by a key with the id of T1
T2_id...is connceted by a key with the id of T2
some other Data
Now I want to write a UpdateScript that inserts:
One Row into T1, One Row into T2 and finaly:
One Row with the new ids from T1 and T2 into T3
Thank you
...I have a problem with inserting into more then one table.
Ive got 3 Tables:
T1:
id (primery key with autoincrease )
Data...int
T2:
id (primery key with autoincrease )
OtherData...int
T3:
id (primery key with autoincrease )
T1_id...is connceted by a key with the id of T1
T2_id...is connceted by a key with the id of T2
some other Data
Now I want to write a UpdateScript that inserts:
One Row into T1, One Row into T2 and finaly:
One Row with the new ids from T1 and T2 into T3
Thank you