Suppose there are 2 tables:
1) Position
2) Personnel who refer to the Position.
For one record Position may account for several records from the Staff.
The task is to update [All staff] in the Position with glued in one line dependent records from the Staff.
Suppose there are 1 entry for 2 lines of the full name of the Personnel, we glue them together and write down the Position in the parent record.
How to do it quickly? Used database Access.
Now I use Interop, open the RecordSet from the Position, and go from top to bottom, and for each record I open the second RecordSet from the query 'Select PID, FIO From [Staff] where PID =' rst.fields [ID] .value and go from top to bottom and glue the values, and then return and update them in the first RecordSet and it seems to me that this is too slow and you can do it as quickly as possible.
Probably through ADO.NET it would be faster, but it seems to me that if the Access Database is healthy, then it is too fat to load everything into memory at once ...
UPD: If you still load everything into memory and work through ADO.NET, will I get a significant speed gain?