python-cx_Oracle/test/sql/DropTest.sql
Anthony Tuininga 4ed95aad94 Reworked test suite to eliminate the use of default passwords and to make the
individual test modules directly runnable (instead of using execfile() within
test.py).
2019-01-31 10:18:04 -07:00

28 lines
912 B
SQL

/*-----------------------------------------------------------------------------
* Copyright 2019, Oracle and/or its affiliates. All rights reserved.
*---------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------
* DropTest.sql
* Drops database objects used for cx_Oracle tests.
*
* Run this like:
* sqlplus sys/syspassword@hostname/servicename as sysdba @DropTest
*---------------------------------------------------------------------------*/
whenever sqlerror exit failure
-- get parameters
set echo off termout on feedback off verify off
accept main_user char default pythontest -
prompt "Name of main schema [pythontest]: "
accept proxy_user char default pythontestproxy -
prompt "Name of proxy schema [pythontestproxy]: "
set feedback on
-- perform work
@@DropTestExec.sql
exit