- Download the product delivery file.
- Extract the delivery file to find the text data file.
- Create the table structure in the database using the Create Table script. Be sure to change the table name in the template to data_link_geox.
- Once the table structure has been created, copy the Oracle CTL template to the directory in which the product delivery file is located.
- Open the CTL file in a text editor. Add the path to the extracted data text file to
the
infilestatement and replaceOracle destination table namewith the name of the table created in Step 3.Note: TheTRAILING NULLCOLSclause used in the CTL file instructs SQL Loader to treat any relatively positioned columns that are not present in the record as null columns. - Open a Windows command prompt and enter the following:
sqlldr userid=<username>/<password>@<database_connection> control=<path>/<ctl_file_name> skip=1 log=<path>/<log_file_name>Example
sqlldr userid=username/password@hostname/service control = 'D:\data_link\geox_precisely_data\DATA_LINK_GEOX_ORACLE_CTL_TEMPLATE.CTL' skip=1 log= 'D:\data_link\geox_precisely_data\datalink_geox.log' - Data will begin loading into the database.