I have 1 flat file with 5 diff structures
1st row is header which is 1 for flat file
2nd is pharma record which is one for pharma
from 3 claim records under each pharmacy
i have imported them each time with diff structure
now i have to send them to 3 diff tables
header record to header table
claim to claim table
pharma to pharma table
each table is having PK which is identity
pharma is having PK aswell as FK (header PK)
claim is having PK as well as FK (pharma PK)
How can i populate this FK's in table
shall i use Seq T/R to populate these FK's
1st row is header which is 1 for flat file
2nd is pharma record which is one for pharma
from 3 claim records under each pharmacy
i have imported them each time with diff structure
now i have to send them to 3 diff tables
header record to header table
claim to claim table
pharma to pharma table
each table is having PK which is identity
pharma is having PK aswell as FK (header PK)
claim is having PK as well as FK (pharma PK)
How can i populate this FK's in table
shall i use Seq T/R to populate these FK's