- Download the product delivery file.
- Extract the delivery file to find the text data file.
- Create the table structure in the database using the Create Table script. Be sure to change the table name in the template to asmt_change_log.
- Once the table structure has been created, copy the following command to:
Load the sample and state datafiles:
Example – Linux:copy <table_name> from '<path_to_text_file>\<text_file_name.txt>'delimiter'|'csv quote e'\b';Example – Windows:copy asmt from 'F:\Property_Attributes_Assessment\Property_Attributes_Assessment_Data\ property_attributes_assessment_changelog_usa.txt' delimiter '|' csv quote e'\bcopy asmt_change_log from 'F:\Property_Attributes_Assessment\Property_Attributes_Assessment_Data\ property_attributes_assessment_changelog_usa.txt' delimiter '|' csv quote e'\b'- Load nationwide datafiles (to skip first record as it is a header/column record):
Example – Linux:copy <table_name> from '<path_to_text_file>\<text_file_name.txt>'delimiter'|'csv quote e'\b' header;
Example – Windows:copy asmt_change_log from '/mnr/Property_Attributes_Assessment/Property_Attributes_Assessment_Data/ property_attributes_assessment_changelog_usa.txt' delimiter '|' csv quote e'\b' header;
Syntax:copy asmt_change_log from 'F:\ Property_Attributes_Assessment\Property_Attributes_Assessment_Data\ property_attributes_assessment_changelog_usa.txt' delimiter '|' csv quote e'\b' header;<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, the pipe character)
csv quote e'/b': Specifies quoting