Subversion Repositories Sigmater

Rev

Blame | Last modification | View Log | Download | RSS feed

create table WS_PROFILI_EVENTO
(
  EVENTO_ID     VARCHAR2(30) not null,
  COD_PROFILO_U NUMBER(10) not null,
  TIPO_NOTIFICA VARCHAR2(10),
  EMAIL         VARCHAR2(100)
)
tablespace &REGMON_TBS_NAME
  pctfree 10
  initrans 1
  maxtrans 255
  storage
  (
    initial 64K
    minextents 1
    maxextents unlimited
  );
alter table WS_PROFILI_EVENTO
  add constraint PK_WS_PROFILI_EVENTO primary key (EVENTO_ID, COD_PROFILO_U)
  using index 
  tablespace &REGMON_TBS_NAME
  pctfree 10
  initrans 2
  maxtrans 255
  storage
  (
    initial 64K
    minextents 1
    maxextents unlimited
  );
alter table WS_PROFILI_EVENTO
  add constraint FK_WS_PROFI_REF_79_WS_EVENT foreign key (EVENTO_ID)
  references WS_EVENTI (EVENTO_ID);
alter table WS_PROFILI_EVENTO
  add constraint FK_WS_PROFI_REF_83_WS_PROFI foreign key (COD_PROFILO_U)
  references WS_PROFILI_UTENTE (COD_PROFILO_U);