FULL RATE DECK | PRIME RATE DECK | INTL RATE DECK |
To import the rate deck in to a database you will need to run something similar to the following: | To import the rate deck in to a database you will need to run something similar to the following: | To import the rate deck in to a database you will need to run something similar to the following: |
Create a table called rates. Create the following fields within the rates table. |
Create a table called rates. Create the following fields within the rates table. |
Create a table called rates. Create the following fields within the rates table. |
LOAD DATA LOCAL INFILE '/PATH-TO-CSV/import.csv'
INTO TABLE rates
FIELDS TERMINATED BY ','
OPTIONALLY ENCLOSED BY '"'
ESCAPED BY '\\'
LINES TERMINATED BY '\n'
(carrier_id,carrier,prefix, inter, intra)
|
LOAD DATA LOCAL INFILE '/PATH-TO-CSV/import.csv'
INTO TABLE rates
FIELDS TERMINATED BY ','
OPTIONALLY ENCLOSED BY '"'
ESCAPED BY '\\'
LINES TERMINATED BY '\n'
(prefix,inter, intra)
|
LOAD DATA LOCAL INFILE '/PATH-TO-CSV/import.csv'
INTO TABLE rates
FIELDS TERMINATED BY ','
OPTIONALLY ENCLOSED BY '"'
ESCAPED BY '\\'
LINES TERMINATED BY '\n'
(carrier_id,destination,prefix, rate, initial, additional, effective)
|
Rate Deck Importation & Format Information
Have more questions? Submit a request
Comments