saving hierarchical data in a smart way?



Hi
I got 3 tables bound to each other hierarchicaly (one to many), first I save
the top level table with a known key,
and then I search the table for my known key to find the autogenerated ID ,
and then insert that ID into the next table,
and so on.

Is there a smarter way to save all data in one quiry?

Regards
Jens


.



Relevant Pages


Loading