currently the system is creating multiples OledbConnections and the process is taking a long time to finish, it sums up to this:
C# code:
- Select all person from table A.
- FOR EACH person: Do a SELECT to see if ID 'x' from table A exists in table B.
- FOR EACH person: INSERT with the ID from table A or a new ID (if that ID already exists in table B)
All these INSERTS are creating a new OledbConnection for each person, and for example 3k persons, it is taking too long.
It would be easier if I didn't have to deal with the IDs, but I'm not finding a good way to do this with VFP.
is that a way to Bulk INSERT this, or improve the performance?