M
Matt Mercer
Hi all,
Hope I am not posting too many questions...cannot find the answer
anywhere, though. I need to know when I insert a record into my
database table what the primary key is for that record. It is
generated by SQL automatically, but I need to associate data in other
tables with it.
I can pull the highest primary key # from the table but if someone
else submits info before this happens I may get the wrong number. Is
there a way to find out what they primary key assigned is as I do the
insert? Thanks again.
Hope I am not posting too many questions...cannot find the answer
anywhere, though. I need to know when I insert a record into my
database table what the primary key is for that record. It is
generated by SQL automatically, but I need to associate data in other
tables with it.
I can pull the highest primary key # from the table but if someone
else submits info before this happens I may get the wrong number. Is
there a way to find out what they primary key assigned is as I do the
insert? Thanks again.