3 4
Chapter 24
After you create your database and database tables, you are ready to load your data. Several methods of loading data into a database are available; which method you choose depends on what the source of your data is, what sort of processing you want to perform on the data, and where you are loading the data. In this chapter, we'll look at the following methods of loading a database:
NOTE
Although staging tables do not provide a method of loading data, they are commonly used in database loading.
Each of these methods has different capabilities and characteristics. You should be able to find at least one method that suits your needs.
NOTE
Recovering a database from a backup file can also be considered a form of database loading, but because database backup and recovery are discussed in Chapters 32 and 33, these topics are not covered here.
Certain database configuration parameters are common to BCP and the BULK INSERT statement. These database parameters define how bulk copies are performed. These settings must be made before any load operation is performed.
You might find these additional actions useful: