The LOAD statement is moderately fast and easy to use, but it can only accept specified data formats. You usually use LOAD with data that is prepared with an UNLOAD statement.
You can use the UNLOAD statement in DB–Access to unload selected rows from a table into a text file.
To load tables, use LOAD or dbload. To manipulate a data file that you are loading or to access a database while it is loading, use the dbload utility. The cost of the flexibility is the time you spend creating the dbload command file and slower execution. When possible, use the LOAD statement, which is faster than dbload.
Figure 2 summarizes questions to help you choose among these methods.
The dbload utility gives you a great deal of flexibility, but it is not as fast as the other methods, and you must prepare a command file to control the input. You can use dbload with data in a variety of formats.
The dbload utility offers the following advantages over the LOAD statement:
The cost of dbload flexibility is the time and effort spent creating the dbload command file, which is required for dbload operation. The input files are not specified as part of the dbload command line, and neither are the tables into which the data is inserted. This information is contained in the command file.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]