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
This commit is contained in:
30
Data/Demo/fltr.ctl
Normal file
30
Data/Demo/fltr.ctl
Normal file
@@ -0,0 +1,30 @@
|
||||
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
|
||||
Reference in New Issue
Block a user