From e1ec77e9f96f0328806ffdd9fc24e6af26037b22 Mon Sep 17 00:00:00 2001 From: PriestJ Date: Tue, 17 Jun 2008 15:17:02 +0000 Subject: [PATCH] Altered install scripts so that UAT and LIVE do not look for the apua.ctl file (this is now handled in seed data directory). Also fixed for ticket #517 AssociateSchema.sql and SetSubstitution.sql scripts so that they only update the current application rather than all the applications in the current workspace. git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@5332 248e525c-4dfb-0310-94bc-949c084e9493 --- Data/live/InstallData.cmd | 2 -- Data/uat/InstallData.cmd | 2 -- Schema/AssociateSchema.sql | 2 +- Schema/SetSubstitution.sql | 2 +- 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Data/live/InstallData.cmd b/Data/live/InstallData.cmd index 3f3b8b0..d43f92d 100644 --- a/Data/live/InstallData.cmd +++ b/Data/live/InstallData.cmd @@ -9,8 +9,6 @@ sqlldr %1 control=prty sqlldr %1 control=parl -sqlldr %1 control=apau - sqlplus %1 @create_passwords goto :done diff --git a/Data/uat/InstallData.cmd b/Data/uat/InstallData.cmd index 3f3b8b0..d43f92d 100644 --- a/Data/uat/InstallData.cmd +++ b/Data/uat/InstallData.cmd @@ -9,8 +9,6 @@ sqlldr %1 control=prty sqlldr %1 control=parl -sqlldr %1 control=apau - sqlplus %1 @create_passwords goto :done diff --git a/Schema/AssociateSchema.sql b/Schema/AssociateSchema.sql index 4c3f77e..60d3304 100644 --- a/Schema/AssociateSchema.sql +++ b/Schema/AssociateSchema.sql @@ -48,7 +48,7 @@ BEGIN UPDATE flows_030100.wwv_flows w SET w.owner = l_schema - WHERE security_group_id = l_sgid; + WHERE security_group_id = l_sgid and id = l_flow_id; ELSE diff --git a/Schema/SetSubstitution.sql b/Schema/SetSubstitution.sql index 16823bc..f173d34 100644 --- a/Schema/SetSubstitution.sql +++ b/Schema/SetSubstitution.sql @@ -43,7 +43,7 @@ BEGIN UPDATE flows_030100.wwv_flows w SET w.substitution_value_01 = l_substitution - WHERE security_group_id = l_sgid; + WHERE security_group_id = l_sgid and id = l_flow_id; dbms_output.put_line('SetSubstitution:'||l_substitution);