- Download the product delivery file.
- Extract the delivery file to find the data text file.
- Open the Property Attributes Assessment Data Create Table script in a text editor and confirm that the table name is set to asmt_field_value_key.
- Run the Create Table script
- After the table structure has been created, copy the Oracle CTL template into the directory containing the product delivery file.
- Open the CTL file in a text editor.
- Add the path to the extracted data text file to the
infile
statement - Replace
Oracle destination table name
withasmt_field_value_key
. - Save changes.
- Load data by issuing the following command from a Windows command
prompt:
sqlldr userid=<username>/<password>@<database_connection> control=<path>/<ctl_file_name> skip = 1 log=<path>/<log_file_name>
Note: TheTRAILING NULLCOLS
clause used in the CTL file instructs SQL Loader to treat any relatively positioned columns that are not present in the record as null columns.