Yes, row by row...
There is no BulkExport only BulkImport. at least I am not aware of).
The "Insert record" operation is pretty expensive. SQL server needs to do a
lot of work.. Hence to optimize it there is an BulkImport operation.
You might run 100000 single Insert operations for hours while BulkInsert
will do it in a minutes.
SELECT is not expensive at all. Hence no need for optimization.
Although you might want to play with transaction level to to avoid
unnecessary locking.
You might want to set transaction level to "READ UNCOMMITTED".
issue "SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED" right before SELECT
statement.
George.