Skip to Content
0
Former Member
Oct 24, 2005 at 06:50 AM

Retrieving a field from one DB and inserting it to into the other DB

29 Views

Hi All,

I hav a scenario where i have to break the message and insert a record into two different DBtables.

1. Break the incoming message and insert the first 3 fields into the DBTable1.Get the primary key of the record that is inserted and use it in inserting the rest of the fields of the message in the next DBTable.

2. Get the primary key field of the DBTable1 and insert it along with the rest of the fields in the DBTable2.

Now my problem is to know how to catch the primary key field from the DBTable1?