Files
mip/Data/Demo/InstallDemoData.cmd
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

38 lines
683 B
Batchfile

@echo off
if "%1"=="" goto :usage
if "%1"=="sys" goto :usage
if "%1"=="system" goto :usage
sqlplus %1 @delete_demo_data
sqlldr %1 control=prty
sqlldr %1 control=parl
sqlldr %1 control=prel
sqlldr %1 control=drwg
sqlldr %1 control=bas
sqlldr %1 control=hou
sqlldr %1 control=cnty
sqlldr %1 control=cnor
sqlldr %1 control=metr
sqlldr %1 control=slty
sqlldr %1 control=slva
sqlldr %1 control=rvty
sqlldr %1 control=reva
sqlldr %1 control=rety
sqlldr %1 control=regu
sqlldr %1 control=fity
sqlldr %1 control=fltr
sqlldr %1 control=modu
sqlplus %1 @create_passwords
goto :done
:usage
echo usage InstallDemoData user/password@database
:done