Loading EMEA Address Fabric™ Data - address_fabric_1 - Latest

Address Fabric™ Data Getting Started Guide

Product type
Data
Portfolio
Enrich
Product family
Enrich Addresses > World Addresses
Product
Address Fabric™ Data > Address Fabric™ Data
Version
Latest
Language
English
Product name
Address Fabric™
Title
Address Fabric™ Data Getting Started Guide
Copyright
2024
First publish date
2016
Last updated
2024-10-30
Published on
2024-10-30T05:31:19.561000
  1. Download the product delivery file
  2. Extract the delivery file and find the data text file
  3. Open the EMEA Address Fabric™ Data Create Table script in a text editor and confirm that the table name is set to emea_AddressFabric
  4. Run the Create Table script
  5. After the table structure has been created, copy data using the PostgreSQL Copy command:
    copy emea_address_fabric from program 'cmd /c "type <path of data file>"' with (format csv ,delimiter '|',header true)

    The following alternate syntax can be used if the data doesn't load using the command above:

    copy emea_address_fabric from program 'cmd /c "type <path of data file>"' with (format csv ,delimiter e'|',header true)
    Syntax:

    <table_name>: Name of table created using Create Table script

    <path_to_text_file>: Path to extracted data text file

    <text_file_name.txt>: Extracted data text file name, including file extension

    delimiter: Defines the text delimiter (in this case, delimiter is tab)

    e'|': Specifies alternate quoting for pipe delimiter

    Example:
    copy emea_address_fabric from program 'cmd /c "type 'F:\emea_Address_Fabric\
    emea_address_fabric_san_francisco.txt"' with (format csv ,delimiter '|',header true)

    Alternate command:

    copy emea_address_fabric from program 'cmd /c "type 'F:\emea_Address_Fabric\
    emea_address_fabric_san_francisco.txt"' with (format csv ,delimiter e'|',header true)