- Download and extract the product delivery file to find the data text file
- Download the text file US Field Value Key for US Address Fabric™ Data or CAN Field Value Key for Canada Address Fabric™ Data
- Open the Field Value Key Create Table script in a text editor and confirm that the table name is set to field_value_key
- Run the Field Value Key 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
with field_value_key - Save changes
- Load data by issuing the following command from a Windows command
prompt:
Example:sqlldr userid=<username>/<password>@<database_connection> control=<path>/<ctl_file_name> log=<path>/<log_file_name>
sqlldr userid=username/password@hostname/service control='D:\us_address_fabric\ oracle_field_value_key_ctl_template.ctl' skip=1 log='D:\us_address_fabric\oracle_field_value_key_template.log'
Note: The
TRAILING 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.