python-cx_Oracle/samples/sql/SampleEnv.sql
Anthony Tuininga 340dcb7195 Rework test suite and samples so that they are independent of each other and
so that the SQL scripts used to create/drop schemas are easily adjusted to
use different schema names, if desired. Improve documentation for test suite
and samples.
2017-07-14 16:50:41 -06:00

32 lines
1.5 KiB
SQL

/*-----------------------------------------------------------------------------
* Copyright 2017, Oracle and/or its affiliates. All rights reserved.
*---------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------
* SampleEnv.sql
* Sets up configuration for the SetupSamples.sql and DropSamples.sql
* scripts. Change the values below if you would like to use something other
* than the default values. Note that the environment variables noted below
* will also need to be set, or the Python script SampleEnv.py will need to be
* changed if non-default values are used.
*---------------------------------------------------------------------------*/
set echo off termout on feedback off verify off
define main_user = "pythondemo" -- $CX_ORACLE_SAMPLES_MAIN_USER
define main_password = "welcome" -- $CX_ORACLE_SAMPLES_MAIN_PASSWORD
define edition_user = "pythoneditions" -- $CX_ORACLE_SAMPLES_EDITION_USER
define edition_password = "welcome" -- $CX_ORACLE_SAMPLES_EDITION_PASSWORD
define edition_name = "python_e1" -- $CX_ORACLE_SAMPLES_EDITION_NAME
prompt ************************************************************************
prompt CONFIGURATION
prompt ************************************************************************
prompt Main Schema: &main_user
prompt Edition Schema: &edition_user
prompt Edition Name: &edition_name
prompt
set echo on verify on feedback on