forked from oracle/python-cx_Oracle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDropTest.sql
More file actions
27 lines (21 loc) · 912 Bytes
/
DropTest.sql
File metadata and controls
27 lines (21 loc) · 912 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*-----------------------------------------------------------------------------
* 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