I have a table that I'm trying to do a mass insert into, but one of the fields that comprises the primary key is also a foreign key, which is also a sequential number that is generated by the other table, doesn't get updated after the first record is inserted. Is there any way to keep generating the next valid sequential number while doing the mass insert? I'm thinking of either using a trigger or a function, but I'm not totally sure.
Thanks in advance,
Lauren
Lauren McDonald, B.Sc.
Programmer Analyst
Saskatchewan Healthcare Employees' Pension Plan
Thanks in advance,
Lauren
Lauren McDonald, B.Sc.
Programmer Analyst
Saskatchewan Healthcare Employees' Pension Plan