Procedure - Latest

GeoEnrichment Risk Getting Started Guide

Product type
Data
Portfolio
Enrich
Product family
Enrich Boundaries > Risk Boundaries
Product
Coastal Risk
GeoEnrichment Risk
Historical Weather Risk
Property Fire Risk
Earth Risk
Flood Risk
Wildfire Risk
Wildfire Risk Extreme
Version
Latest
Language
English
Product name
GeoEnrichment Risk
Title
GeoEnrichment Risk Getting Started Guide
Copyright
2024
First publish date
2007
Last updated
2025-01-10
Published on
2025-01-10T15:24:03.441000

Note: The samples in this section use Coastal Risk (Distance to Coast) as an example. All products are uploaded using the same steps. Related scripts for each product are found in the Prerequisites section.

  1. Download the product delivery file.
  2. Extract the delivery file to find the text data file.
  3. Create the table structure in the database using the Create Table script. Be sure to change the table name in the template to the name of the dataset you are loading. If, for example, you are loading the data for Coastal Risk (Distance to Coast), the table should be named dist_to_coast.
  4. Once the table structure has been created, copy the Oracle CTL template to the directory in which the product delivery file is located.
  5. Open the CTL file in a text editor.
  6. Add the path to the extracted data file to the infile statement and replace Oracle table name with the name of the table created in Step 3. (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.)
  7. Open a Windows command prompt and issue the following:

    sqlldr userid=<username>/<password>@<database_connection> control=<path>/<ctl_file_name> log=<path>/<log_file_name>

    Example:
    sqlldr userid=username/password@hostname/service
    control='D:\Distance_to_Coast\Distance_to_Coast_Data\oracle_dist_to_coast_ctl_template.ctl'
    log='D:\Distance_to_Coast\Distance_to_Coast\dist_to_coast.log'
  8. Data will begin loading into the database.