|
sunitabeck
Flowing Fount of Yak Knowledge
5152 Posts |
Posted - 11/05/2012 : 11:56:07
|
If you have the ability to modify the "pr_acc" program, you can change it so it returns the Id's inserted and then use those id's to identify the rows that need to be updated.
If the ID's are auto-generated (IDENTITY), and if you are using SQL 2008 or later, you can use the OUTPUT clause when you insert to return the ID's inserted.
I know these are vague answers - if you can post more details on how you are doing the inserts, people on the forum may be able to offer more specific suggestions. |
 |
|