-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path2_table.sql
More file actions
28 lines (28 loc) · 871 Bytes
/
2_table.sql
File metadata and controls
28 lines (28 loc) · 871 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
--3. Create table
create table DDL_AUDIT_TABLE
(
id NUMBER not null,
sys_date DATE,
sys_user VARCHAR2(2000),
sys_event VARCHAR2(2000),
obj_type VARCHAR2(2000),
obj_owner VARCHAR2(2000),
obj_name VARCHAR2(2000),
terminal VARCHAR2(2000),
sessionid VARCHAR2(2000),
instance VARCHAR2(2000),
entryid VARCHAR2(2000),
isdba VARCHAR2(2000),
current_user VARCHAR2(2000),
current_userid VARCHAR2(2000),
session_user VARCHAR2(2000),
session_userid VARCHAR2(2000),
db_domain VARCHAR2(2000),
db_name VARCHAR2(2000),
host VARCHAR2(2000),
os_user VARCHAR2(2000),
external_name VARCHAR2(2000),
ip_address VARCHAR2(2000),
network_protocol VARCHAR2(2000),
saved_object CLOB
);