Batching data insertion and updates

How to batch insert or update data into a table.

Batching is used to insert or update data in tables. Understanding the use of batching, if used, is crucial to performance.