|
|
|
|
SQL*Loader never creates tables, it loads existing tables. Tables may already contain data, or they may be empty. You must have INSERT privileges on the table to be loaded. You must have DELETE privilege on the table to be loaded, when using the REPLACE or TRUNCATE option to empty out the table's old data before loading the new data in its place. PARFILE specifies the name of a file that contains commonly used command-line parameters. For example, the command line could read: C:\>SQLLDR PARFILE=example.par or if you don't want to use a Parameter file invoke it this way:
The example.par file could have the following contents:userid=mike/1234@mike.main control=example.ctl errors=10 log=example.log load=1000 The example.ctl file could have the following contents:
Here is the "example.txt" file to be read by the SQL Loader: "C","000046 ","2786","MICROSOFT - CONSUMER
" When SQL*Loader executes, it can create a file called a bad file or reject file in which it places records that were rejected because of formatting errors or because they caused Oracle errors. If you have specified that a bad file is to be created, the following applies:
For more information see these Case Studies. |
Send mail to
mike@infomaxweb.com with
questions or comments about this web site.
|