Subversion Repositories Sigmater

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
6 Andrea 1
create table WS_ENTI
2
(
3
  ID                   NUMBER not null,
4
  ID_PADRE             NUMBER,
5
  NOME                 VARCHAR2(250),
6
  FLAG_SEGNAPOSTO      NUMBER(1),
7
  CODICE_BELFIORE_ENTE VARCHAR2(50),
8
  NOTE                 VARCHAR2(200)
9
)
10
tablespace &REGMON_TBS_NAME
11
  pctfree 10
12
  initrans 1
13
  maxtrans 255
14
  storage
15
  (
16
    initial 64K
17
    minextents 1
18
    maxextents unlimited
19
  );
20
alter table WS_ENTI
21
  add constraint PK_WS_ENTI primary key (ID)
22
  using index 
23
  tablespace &REGMON_TBS_NAME
24
  pctfree 10
25
  initrans 2
26
  maxtrans 255
27
  storage
28
  (
29
    initial 64K
30
    minextents 1
31
    maxextents unlimited
32
  );
33
grant select on WS_ENTI to &MONIT_USER_NAME;
34