Add processing to make it clearer which application build has been produced and to link the schema with the correct application (AssociateSchema.sql, SetSubstitution.sql, bulk_load.sql and InstallMIP.cmd) Changes to schema: METERS now have 'MESC_CODE'. Associated changes in the bulk_load routines and initial changes to mip_quotation.pck (needs confirmation testing). git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3830 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
@@ -9,7 +9,6 @@ if "%5"=="" goto :usage
|
||||
@echo Install Schema
|
||||
sqlplus /nolog @Schema\InstallMIP %1 %2 %3 %4 %5 %6
|
||||
|
||||
|
||||
if "%6"=="" goto :not_associate
|
||||
|
||||
@echo Associate Schema
|
||||
@@ -40,6 +39,7 @@ if "%6"=="sat" goto :sat
|
||||
if "%6"=="uat" goto :uat
|
||||
if "%6"=="live" goto :live
|
||||
if "%6"=="train" goto :train
|
||||
if "%6"=="dev" goto :bulkload
|
||||
|
||||
|
||||
:demo
|
||||
@@ -119,13 +119,21 @@ cd ..\..
|
||||
goto :bulkload
|
||||
|
||||
:bulkload
|
||||
|
||||
@echo Perform Bulk Load
|
||||
sqlplus %3/%4@%5 @Data\BulkLoad\bulk_load.sql "%6"
|
||||
|
||||
|
||||
if "%6"=="" goto :not_substitution
|
||||
|
||||
@echo Set Substitution Strings
|
||||
sqlplus /nolog @Schema\InstallSetSubstitution.sql %1 %2 %3 %4 %5 %6
|
||||
:not_substitution
|
||||
|
||||
goto :done
|
||||
|
||||
:usage
|
||||
echo "usage InstallMIP sys_name sys_password app_name app_password db_connect_string [demo|test|fat|sat|uat|train|live]"
|
||||
echo "usage InstallMIP sys_name sys_password app_name app_password db_connect_string [dev|demo|test|fat|sat|uat|train|live]"
|
||||
|
||||
:done
|
||||
@echo DONE!
|
||||
|
||||
Reference in New Issue
Block a user