Files
mip/Data/Demo/fltr.ctl
hardya f174ac7747 Schema Changes:
Attributes (generally size and dimensions) added to REGULATORS, BASES and HOUSINGS.
Changed primary keys on CONNECTION_ORIENTATIONS, FILTERS, REGULATORS to be 'code' rather than 'id'-based.
Altered ENQUIRIES to make contact names, addresses and contact mechanisms explicit within the enquiry rather than using the general contact mechanism.

Seed Data:
Changed 'code' values for HOUSING_TYPES, METER_TYPES, REGULATOR_TYPES and SERVICE_PRESSURES to match their descriptions.

Documentation:
Updated Documentation/Design/DatabaseItemToFunctionalSpecificationReference.xls in line with schema changes.

Demo Data:
Includes modules and related data from the MIP140306 Access database.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2857 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-15 10:29:55 +00:00

31 lines
479 B
Plaintext

LOAD DATA
INFILE *
INTO TABLE filters
REPLACE
FIELDS TERMINATED BY '|'
TRAILING NULLCOLS
(
filter_size
,fity_code "upper(:fity_code)"
,code "upper(:fity_code)||'-'||:filter_size"
)
BEGINDATA
20|Y Type
25|Y Type
40|FIXED IN UNION
40|Gauze
40|Y Type
50|Angle Pattern
50|Gauze
50|Y Type
80|Angle Pattern
80|Gauze
80|InLine
80|LOW LOSS STRAINER
100|Angle Pattern
100|Gauze
100|LOW LOSS STRAINER
150|Angle Pattern
150|LOW LOSS STRAINER
200|Angle Pattern