-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdrop.sql
More file actions
38 lines (26 loc) · 758 Bytes
/
drop.sql
File metadata and controls
38 lines (26 loc) · 758 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
27
28
29
30
31
32
33
34
35
36
37
set arraysize 5000
set heading OFF
spool _drop.sql
select 'drop procedure ' || OBJECT_NAME || ';' from user_procedures;
select 'drop view ' || VIEW_NAME || ';' from user_views;
select 'drop sequence ' || SEQUENCE_NAME || ';' from user_sequences;
spool off
@_drop.sql
/*
select 'drop table ' || TABLE_NAME || ';' from user_tables;
*/
drop table HTTP_THREAD;
drop table HTTP_RECURRING;
drop table LLTHREAD_FUNCTIONS;
drop table chart_requests_per_hour;
drop table chart_requests_per_day;
drop table LLTHREAD_SUMMARY_TABLE;
drop table LLTHREAD;
drop table SERVER;
drop table WEB_FUNCTIONS;
drop table chart_web_requests_per_hour;
drop table chart_web_requests_per_day;
drop table WEB_SUMMARY_TABLE;
drop table WEB_LOGS;
drop table WEB_SERVER;
exit;