|
| 1 | +/* |
| 2 | + utPLSQL - Version 3 |
| 3 | + Copyright 2016 - 2018 utPLSQL Project |
| 4 | +
|
| 5 | + Licensed under the Apache License, Version 2.0 (the "License"): |
| 6 | + you may not use this file except in compliance with the License. |
| 7 | + You may obtain a copy of the License at |
| 8 | +
|
| 9 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +
|
| 11 | + Unless required by applicable law or agreed to in writing, software |
| 12 | + distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | + See the License for the specific language governing permissions and |
| 15 | + limitations under the License. |
| 16 | +*/ |
| 17 | +set echo off |
| 18 | +set verify off |
| 19 | +column 1 new_value 1 noprint |
| 20 | +column 2 new_value 2 noprint |
| 21 | +column 3 new_value 3 noprint |
| 22 | +select null as "1", null as "2" , null as "3" from dual where 1=0; |
| 23 | +column sep new_value sep noprint |
| 24 | +select '--------------------------------------------------------------' as sep from dual; |
| 25 | + |
| 26 | +spool params.sql.tmp |
| 27 | + |
| 28 | +column ut3_owner new_value ut3_owner noprint |
| 29 | +column ut3_password new_value ut3_password noprint |
| 30 | +column ut3_tablespace new_value ut3_tablespace noprint |
| 31 | + |
| 32 | +select coalesce('&&1','UT3') ut3_owner, |
| 33 | + coalesce('&&2','XNtxj8eEgA6X6b6f') ut3_password, |
| 34 | + coalesce('&&3','users') ut3_tablespace from dual; |
| 35 | + |
| 36 | + |
| 37 | +@@create_utplsql_owner.sql &&ut3_owner &&ut3_password &&ut3_tablespace |
| 38 | +@@install.sql &&ut3_owner |
| 39 | +@@create_synonyms_and_grants_for_public.sql &&ut3_owner |
| 40 | + |
| 41 | +@@install_ddl_trigger.sql |
| 42 | + |
| 43 | +exit |
0 commit comments