-- Create table
create table adam.FCO_PROCESOS_PI
(
  COMPANIA CHAR(4) not null,
  ANIO     NUMBER not null,
  MES      NUMBER not null,
  SUCURSAL CHAR(10) not null,
  PROCESAR NUMBER(1) not null
)
tablespace TS_ADAMDATOS
;
-- Create/Recreate primary, unique and foreign key constraints 
alter table adam.FCO_PROCESOS_PI
  add constraint PK_FCO_PROCESOS_PI primary key (COMPANIA,ANIO,MES,SUCURSAL)
  using index 
  tablespace TS_ADAMINDICES
;
-- Grant/Revoke object privileges 
