Files
MBS/PROYECTOS/otrodir/tablas.sql
T

5922 lines
183 KiB
SQL

grant dba to "inform70";
grant connect to "public";
{ TABLE "inform70".intb00001 row size = 104 number of columns = 12 index size = 105
}
create table "inform70".intb00001
(
cod_n smallint not null constraint "inform70".n100_1,
cod_grupo smallint not null constraint "inform70".n100_2,
cod_tipo smallint not null constraint "inform70".n100_3,
cod_sec smallint not null constraint "inform70".n100_4,
descrip_esp char(30) not null constraint "inform70".n100_5,
descrip_ing char(30),
unidad_med char(3),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".intb00001 from "public";
create index "inform70".ix162_1 on "inform70".intb00001 (cod_n);
create index "inform70".ix162_2 on "inform70".intb00001 (cod_grupo);
create index "inform70".ix162_3 on "inform70".intb00001 (cod_tipo);
create index "inform70".ix162_4 on "inform70".intb00001 (cod_sec);
create cluster index "inform70".alfa on "inform70".intb00001 (descrip_esp);
create unique index "inform70".in_cod_n on "inform70".intb00001 (cod_n,cod_grupo,
cod_tipo,cod_sec);
{ TABLE "inform70".iptb00003 row size = 61 number of columns = 10 index size = 0
}
create table "inform70".iptb00003
(
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
presentacion char(20),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".iptb00003 from "public";
{ TABLE "inform70".iptb00005 row size = 88 number of columns = 11 index size = 0
}
create table "inform70".iptb00005
(
cod_mov smallint not null constraint "inform70".n102_6,
descrip_mov char(40),
status_mov char(1),
cuenta_1 char(4),
cuenta_2 char(4),
cuenta_3 char(4),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".iptb00005 from "public";
{ TABLE "inform70".iptb00007 row size = 39 number of columns = 7 index size = 0 }
create table "inform70".iptb00007
(
num_doc integer not null constraint "inform70".n104_8,
cod_mov smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".iptb00007 from "public";
{ TABLE "inform70".iptb00008 row size = 171 number of columns = 29 index size = 0
}
create table "inform70".iptb00008
(
cod_cia smallint,
num_doc integer not null constraint "inform70".n105_9,
fecha date,
fact_no char(10),
conduce_no char(10),
tipo char(2),
orden_compra integer,
cod_sp smallint,
cod_sp_sec smallint,
cod_transp smallint,
sec_transp smallint,
placa char(10),
cod_tarifa smallint,
cod_mov smallint not null constraint "inform70".n105_10,
detalle char(60),
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cantidad_1 integer,
cantidad_2 integer not null constraint "inform70".n105_11,
cond_recep char(1),
uso_tiempo char(1),
bodega smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".iptb00008 from "public";
{ TABLE "inform70".iptb00009 row size = 78 number of columns = 17 index size = 0
}
create table "inform70".iptb00009
(
fecha date not null constraint "inform70".n106_12,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
nomenclatura char(10),
cod_cia smallint,
bodega smallint,
existencia decimal(10,2) not null constraint "inform70".n106_13,
exist_min decimal(10,2),
dia_llegada smallint,
gravamen decimal(7,3),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".iptb00009 from "public";
{ TABLE "inform70".iptb00010 row size = 121 number of columns = 16 index size = 18
}
create table "inform70".iptb00010
(
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
descripcion char(50),
cod_barra1 char(13),
cod_barra2 char(1),
conversion smallint,
cod_dumm1 char(1),
cod_dumm2 char(12),
cod_dumm3 char(1),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".iptb00010 from "public";
create unique index "inform70".ip10cod on "inform70".iptb00010 (cod_n,cod_grupo,
cod_tipo,cod_sec);
{ TABLE "inform70".iptb00011 row size = 59 number of columns = 12 index size = 48
}
create table "inform70".iptb00011
(
fecha date,
bodega smallint,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cantidad decimal(10,2),
balance decimal(12,2),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".iptb00011 from "public";
create index "inform70".ix392_1 on "inform70".iptb00011 (fecha);
create index "inform70".ix392_3 on "inform70".iptb00011 (cod_n);
create index "inform70".ix392_4 on "inform70".iptb00011 (cod_grupo);
create index "inform70".ix392_5 on "inform70".iptb00011 (cod_tipo);
create index "inform70".ix392_6 on "inform70".iptb00011 (cod_sec);
{ TABLE "inform70".iptb00012 row size = 81 number of columns = 10 index size = 52
}
create table "inform70".iptb00012
(
cod char(1),
ean13 char(12),
cd char(1),
descripcion char(30),
unidades integer,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".iptb00012 from "public";
create cluster index "inform70".iptb12_1 on "inform70".iptb00012 (cod,ean13,cd);
create index "inform70".iptb12_2 on "inform70".iptb00012 (cod,ean13);
{ TABLE "inform70".iptb00013 row size = 43 number of columns = 9 index size = 0 }
create table "inform70".iptb00013
(
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
tipo_prod char(3),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".iptb00013 from "public";
{ TABLE "inform70".iptb00015 row size = 38 number of columns = 7 index size = 0 }
create table "inform70".iptb00015
(
cod_vend smallint,
sec_vend smallint,
bodega smallint,
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".iptb00015 from "public";
{ TABLE "inform70".iptb00016 row size = 171 number of columns = 29 index size = 0
}
create table "inform70".iptb00016
(
cod_cia smallint,
num_doc integer not null constraint "inform70".n112_14,
fecha date,
fact_no char(10),
conduce_no char(10),
tipo char(2),
orden_compra integer,
cod_sp smallint,
cod_sp_sec smallint,
cod_transp smallint,
sec_transp smallint,
placa char(10),
cod_tarifa smallint,
cod_mov smallint not null constraint "inform70".n112_15,
detalle char(60),
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cantidad_1 integer,
cantidad_2 integer not null constraint "inform70".n112_16,
cond_recep char(1),
uso_tiempo char(1),
bodega smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".iptb00016 from "public";
{ TABLE "inform70".iptb00017 row size = 171 number of columns = 29 index size = 141
}
create table "inform70".iptb00017
(
cod_cia smallint,
num_doc integer not null constraint "inform70".n113_17,
fecha date,
fact_no char(10),
conduce_no char(10),
tipo char(2),
orden_compra integer,
cod_sp smallint,
cod_sp_sec smallint,
cod_transp smallint,
sec_transp smallint,
placa char(10),
cod_tarifa smallint,
cod_mov smallint,
detalle char(60),
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cantidad_1 integer,
cantidad_2 integer,
cond_recep char(1),
uso_tiempo char(1),
bodega smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".iptb00017 from "public";
create index "inform70".ix368_1 on "inform70".iptb00017 (cod_cia);
create index "inform70".ix368_2 on "inform70".iptb00017 (num_doc);
create index "inform70".ix368_3 on "inform70".iptb00017 (fecha);
create index "inform70".ix368_10 on "inform70".iptb00017 (cod_n);
create index "inform70".ix368_11 on "inform70".iptb00017 (cod_grupo);
create index "inform70".ix368_12 on "inform70".iptb00017 (cod_tipo);
create index "inform70".ix368_13 on "inform70".iptb00017 (cod_sec);
create index "inform70".ix448_13 on "inform70".iptb00017 (cod_mov);
create index "inform70".ix768_4 on "inform70".iptb00017 (fact_no);
create index "inform70".ix768_25 on "inform70".iptb00017 (status_t);
create cluster index "inform70".iptb08_1 on "inform70".iptb00017 (cod_n,cod_grupo,
cod_tipo,cod_sec,fecha,orden_compra,status_t,cod_mov);
{ TABLE "inform70".iptb00018 row size = 25 number of columns = 8 index size = 0 }
create table "inform70".iptb00018
(
fecha_ini date,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
fecha date,
costo decimal(8,4),
balance integer
);
revoke all on "inform70".iptb00018 from "public";
{ TABLE "inform70".iptb00116 row size = 171 number of columns = 29 index size = 97
}
create table "inform70".iptb00116
(
cod_cia smallint,
num_doc integer not null constraint "inform70".n115_18,
fecha date,
fact_no char(10),
conduce_no char(10),
tipo char(2),
orden_compra integer,
cod_sp smallint,
cod_sp_sec smallint,
cod_transp smallint,
sec_transp smallint,
placa char(10),
cod_tarifa smallint,
cod_mov smallint,
detalle char(60),
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cantidad_1 integer,
cantidad_2 integer,
cond_recep char(1),
uso_tiempo char(1),
bodega smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".iptb00116 from "public";
create index "inform70".iptb161 on "inform70".iptb00116 (cod_cia);
create index "inform70".iptb162 on "inform70".iptb00116 (num_doc);
create index "inform70".iptb163 on "inform70".iptb00116 (fecha);
create index "inform70".iptb1613 on "inform70".iptb00116 (cod_mov);
create index "inform70".iptb164 on "inform70".iptb00116 (fact_no);
create cluster index "inform70".iptb16_1 on "inform70".iptb00116 (cod_n,cod_grupo,
cod_tipo,cod_sec,fecha,orden_compra,status_t,cod_mov);
{ TABLE "inform70".seg0000 row size = 74 number of columns = 8 index size = 9 }
create table "inform70".seg0000
(
id_number smallint,
usuario char(9),
ocupacion char(30),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".seg0000 from "public";
create index "inform70".ix1249_1 on "inform70".seg0000 (id_number);
{ TABLE "inform70".seg0001 row size = 83 number of columns = 9 index size = 0 }
create table "inform70".seg0001
(
usuario char(9),
us_menu char(9),
opcion smallint,
descr_puesto char(30),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".seg0001 from "public";
{ TABLE "inform70".seg0002 row size = 31 number of columns = 3 index size = 0 }
create table "inform70".seg0002
(
id_num smallint,
usuario char(9),
ocupacion char(20)
);
revoke all on "inform70".seg0002 from "public";
{ TABLE "inform70".seg0003 row size = 39 number of columns = 2 index size = 19 }
create table "inform70".seg0003
(
usuario char(9),
nom_puesto char(30)
);
revoke all on "inform70".seg0003 from "public";
create unique index "inform70".seguro1 on "inform70".seg0003 (usuario);
{ TABLE "inform70".seg0004 row size = 19 number of columns = 2 index size = 0 }
create table "inform70".seg0004
(
usuario char(9),
us_menu char(10)
);
revoke all on "inform70".seg0004 from "public";
{ TABLE "inform70".mestable row size = 47 number of columns = 8 index size = 9 }
create table "inform70".mestable
(
mes smallint,
descrip char(10),
dias_prod smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".mestable from "public";
create index "inform70".ix303_1 on "inform70".mestable (mes);
{ TABLE "inform70".prdtable row size = 50 number of columns = 10 index size = 21
}
create table "inform70".prdtable
(
ano char(4),
mes smallint,
fecha_inicio date,
fecha_corte date,
dias_habiles smallint,
dias_gracia smallint,
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".prdtable from "public";
create index "inform70".ix233_1 on "inform70".prdtable (ano);
create index "inform70".ix233_2 on "inform70".prdtable (mes);
{ TABLE "inform70".msgtable row size = 94 number of columns = 6 index size = 0 }
create table "inform70".msgtable
(
cod_msg smallint,
desc_msg char(60),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".msgtable from "public";
{ TABLE "inform70".vetb00025 row size = 52 number of columns = 13 index size = 46
}
create table "inform70".vetb00025
(
ventas char(1),
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
tipo_cliente smallint,
sec_cliente smallint,
precio decimal(8,3),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00025 from "public";
create index "inform70".precios on "inform70".vetb00025 (cod_n,cod_grupo,cod_tipo,
cod_sec,sec_cliente);
create index "inform70".idxv_1 on "inform70".vetb00025 (ventas);
create index "inform70".idxv_2 on "inform70".vetb00025 (tipo_cliente);
create index "inform70".idxv_3 on "inform70".vetb00025 (sec_cliente);
{ TABLE "inform70".cotb00001 row size = 224 number of columns = 16 index size = 30
}
create table "inform70".cotb00001
(
cod_sp smallint,
cod_sp_sec smallint,
nom_sp char(41),
dir_sp char(60),
ciu_sp char(30),
cod_pais char(3),
tel_sp char(8),
area_sp char(5),
fax_sp char(8),
cont_sp char(30),
term_sp smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00001 from "public";
create index "inform70".ix139_2 on "inform70".cotb00001 (cod_sp);
create index "inform70".cod_sp1 on "inform70".cotb00001 (cod_sp,cod_sp_sec);
create index "inform70".ix170_2 on "inform70".cotb00001 (cod_sp_sec);
{ TABLE "inform70".vetb00002 row size = 113 number of columns = 28 index size = 138
}
create table "inform70".vetb00002
(
cod_cia smallint,
factura integer,
fecha_factura date,
ventas char(1),
zona char(3),
orden smallint,
fecha_orden date,
conduce integer,
fecha_conduce date,
tipo_cliente smallint,
sec_cliente smallint,
cod_vend smallint,
sec_vend smallint,
cond_pago smallint,
porc_itbi decimal(5,2),
porc_desc decimal(8,2),
prima_us decimal(6,2),
sub_total decimal(10,2),
monto_desc decimal(10,2),
monto_itbi decimal(10,2),
neto decimal(10,2),
fecha_embarque date,
status_impresion char(1),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00002 from "public";
create index "inform70".ix433_3 on "inform70".vetb00002 (fecha_factura);
create index "inform70".ix433_10 on "inform70".vetb00002 (tipo_cliente);
create index "inform70".ix433_11 on "inform70".vetb00002 (sec_cliente);
create index "inform70".cia on "inform70".vetb00002 (cod_cia);
create index "inform70".fact on "inform70".vetb00002 (factura);
create cluster index "inform70".vetb02_1 on "inform70".vetb00002 (factura,cod_cia,
ventas,sec_vend);
create index "inform70".vetb02_2 on "inform70".vetb00002 (factura,ventas,prima_us,
status_t);
create index "inform70".vetb02_4 on "inform70".vetb00002 (factura,cod_cia,ventas,
sec_vend,fecha_factura,status_t,sec_cliente);
create index "inform70".tipo_venta on "inform70".vetb00002 (ventas);
create index "inform70".ix398_13 on "inform70".vetb00002 (sec_vend);
{ TABLE "inform70".intb00005 row size = 88 number of columns = 11 index size = 9
}
create table "inform70".intb00005
(
cod_mov smallint not null constraint "inform70".n127_19,
descrip_mov char(40),
status_mov char(1),
cuenta_1 char(4),
cuenta_2 char(4),
cuenta_3 char(4),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".intb00005 from "public";
create unique index "inform70".ix166_1 on "inform70".intb00005 (cod_mov);
{ TABLE "inform70".cotb00005 row size = 104 number of columns = 8 index size = 0
}
create table "inform70".cotb00005
(
cod_nab char(11),
descrip_esp char(30),
descrip_ing char(30),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00005 from "public";
{ TABLE "inform70".intb00008 row size = 55 number of columns = 13 index size = 54
}
create table "inform70".intb00008
(
cod_n smallint not null constraint "inform70".n129_20,
cod_grupo smallint not null constraint "inform70".n129_21,
cod_tipo smallint not null constraint "inform70".n129_22,
cod_sec smallint not null constraint "inform70".n129_23,
cod_sp smallint not null constraint "inform70".n129_24,
cod_sp_sec smallint not null constraint "inform70".n129_25,
precio decimal(10,2),
fecha_act date,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".intb00008 from "public";
create index "inform70".ix108_1 on "inform70".intb00008 (cod_n);
create index "inform70".ix108_2 on "inform70".intb00008 (cod_grupo);
create index "inform70".ix108_3 on "inform70".intb00008 (cod_tipo);
create index "inform70".ix108_4 on "inform70".intb00008 (cod_sec);
create index "inform70".ix133_5 on "inform70".intb00008 (cod_sp);
create index "inform70".ix169_6 on "inform70".intb00008 (cod_sp_sec);
{ TABLE "inform70".intb00007 row size = 56 number of columns = 7 index size = 10
}
create table "inform70".intb00007
(
codigo_unidad char(3) not null constraint "inform70".n130_26,
descripcion char(20),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".intb00007 from "public";
create unique index "inform70".in_codigo_unidad on "inform70".intb00007 (codigo_unidad);
{ TABLE "inform70".intb00003 row size = 50 number of columns = 14 index size = 43
}
create table "inform70".intb00003
(
cod_n smallint not null constraint "inform70".n131_27,
cod_grupo smallint not null constraint "inform70".n131_28,
cod_tipo smallint not null constraint "inform70".n131_29,
cod_sec smallint not null constraint "inform70".n131_30,
cod_n_s smallint,
cod_grupo_s smallint,
cod_tipo_s smallint,
cod_sec_s smallint,
cod_uso_s char(1),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".intb00003 from "public";
create index "inform70".ix117_1 on "inform70".intb00003 (cod_n);
create index "inform70".ix117_2 on "inform70".intb00003 (cod_grupo);
create index "inform70".ix117_3 on "inform70".intb00003 (cod_tipo);
create index "inform70".ix117_4 on "inform70".intb00003 (cod_sec);
create index "inform70".ix126_9 on "inform70".intb00003 (cod_uso_s);
{ TABLE "inform70".vetb00014 row size = 66 number of columns = 13 index size = 18
}
create table "inform70".vetb00014
(
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
peso_bruto decimal(10,5),
peso_neto decimal(10,5),
dim_caja decimal(10,5),
cantidad integer,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00014 from "public";
create index "inform70".factor on "inform70".vetb00014 (cod_n,cod_grupo,cod_tipo,
cod_sec);
{ TABLE "inform70".intb00002 row size = 79 number of columns = 17 index size = 54
}
create table "inform70".intb00002
(
cod_n smallint not null constraint "inform70".n133_31,
cod_grupo smallint not null constraint "inform70".n133_32,
cod_tipo smallint not null constraint "inform70".n133_33,
cod_sec smallint not null constraint "inform70".n133_34,
pto_reorden decimal(10,2) not null constraint "inform70".n133_35,
existencia decimal(10,2) not null constraint "inform70".n133_36,
cod_nab char(11),
base decimal(10,2),
bodega smallint,
categoria char(1),
dia_llegada smallint,
gravamen decimal(5,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".intb00002 from "public";
create index "inform70".ix200_1 on "inform70".intb00002 (cod_n);
create index "inform70".ix200_2 on "inform70".intb00002 (cod_grupo);
create index "inform70".ix200_3 on "inform70".intb00002 (cod_tipo);
create index "inform70".ix200_4 on "inform70".intb00002 (cod_sec);
create unique index "inform70".in_cod_n1 on "inform70".intb00002 (cod_n,cod_grupo,
cod_tipo,cod_sec);
{ TABLE "inform70".cotb00002 row size = 45 number of columns = 11 index size = 18
}
create table "inform70".cotb00002
(
cod_sp smallint,
cod_sp_sec smallint,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00002 from "public";
create index "inform70".ix153_1 on "inform70".cotb00002 (cod_sp);
create index "inform70".ix153_2 on "inform70".cotb00002 (cod_sp_sec);
{ TABLE "inform70".intb00004 row size = 50 number of columns = 14 index size = 43
}
create table "inform70".intb00004
(
cod_n smallint not null constraint "inform70".n135_37,
cod_grupo smallint not null constraint "inform70".n135_38,
cod_tipo smallint not null constraint "inform70".n135_39,
cod_sec smallint not null constraint "inform70".n135_40,
cod_n_e smallint,
cod_grupo_e smallint,
cod_tipo_e smallint,
cod_sec_e smallint,
cod_uso_e char(1),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".intb00004 from "public";
create index "inform70".ix106_1 on "inform70".intb00004 (cod_n);
create index "inform70".ix106_2 on "inform70".intb00004 (cod_grupo);
create index "inform70".ix106_3 on "inform70".intb00004 (cod_tipo);
create index "inform70".ix106_4 on "inform70".intb00004 (cod_sec);
create index "inform70".ix127_9 on "inform70".intb00004 (cod_uso_e);
{ TABLE "inform70".vetb00005 row size = 121 number of columns = 12 index size = 0
}
create table "inform70".vetb00005
(
tipo_cliente smallint,
sec_cliente smallint,
calle char(30),
casa_num char(10),
barrio char(20),
urbanizacion char(20),
secuencia_visita integer,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00005 from "public";
{ TABLE "inform70".vetb00013 row size = 91 number of columns = 17 index size = 0
}
create table "inform70".vetb00013
(
tipo_desc smallint,
descrip char(30),
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
dias_validos smallint,
porc_desc decimal(5,2),
valor_desc decimal(8,3),
cantidad_1 smallint,
cantidad_2 smallint,
cajas_bonif smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00013 from "public";
{ TABLE "inform70".vetb00004 row size = 161 number of columns = 18 index size = 40
}
create table "inform70".vetb00004
(
tipo_cliente smallint,
sec_cliente smallint,
nombre char(30),
cod_zona smallint,
cod_provincia smallint,
telefono char(8),
fax char(8),
telex char(8),
patente char(10),
limite_credito decimal(10,2),
zona_postal char(10),
num_rnc char(10),
nombre_patente char(30),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00004 from "public";
create index "inform70".ix324_2 on "inform70".vetb00004 (sec_cliente);
create index "inform70".ix306_1 on "inform70".vetb00004 (tipo_cliente);
create index "inform70".ix306_5 on "inform70".vetb00004 (cod_provincia);
create index "inform70".idx306_1 on "inform70".vetb00004 (tipo_cliente,sec_cliente,
status_t);
{ TABLE "inform70".vetb00003 row size = 65 number of columns = 15 index size = 91
}
create table "inform70".vetb00003
(
cod_cia smallint,
factura integer,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cantidad integer,
cantidad_2 integer,
bonificacion integer,
precio decimal(8,3),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00003 from "public";
create index "inform70".ix392_2 on "inform70".vetb00003 (factura);
create index "inform70".codigo on "inform70".vetb00003 (cod_n,cod_grupo,cod_tipo,
cod_sec);
create index "inform70".idx_21 on "inform70".vetb00003 (cod_n,cod_grupo,cod_tipo,
cod_sec,factura);
create cluster index "inform70".vetb03_1 on "inform70".vetb00003 (cod_n,cod_grupo,
cod_tipo,cod_sec,status_t,factura);
create index "inform70".vetb3_1 on "inform70".vetb00003 (cod_n,cod_grupo);
{ TABLE "inform70".intb00013 row size = 72 number of columns = 13 index size = 90
}
create table "inform70".intb00013
(
mes_ini char(10),
mes_fin char(10),
ano char(4),
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
costo_st decimal(12,4),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".intb00013 from "public";
create index "inform70".ix206_4 on "inform70".intb00013 (cod_n);
create index "inform70".ix206_5 on "inform70".intb00013 (cod_grupo);
create index "inform70".ix206_6 on "inform70".intb00013 (cod_tipo);
create index "inform70".ix206_7 on "inform70".intb00013 (cod_sec);
create unique index "inform70".costo on "inform70".intb00013 (mes_ini,mes_fin,
ano,cod_n,cod_grupo,cod_tipo,cod_sec);
{ TABLE "inform70".vetb00012 row size = 67 number of columns = 8 index size = 0 }
create table "inform70".vetb00012
(
cond_pago smallint,
descrip char(30),
dias smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00012 from "public";
{ TABLE "inform70".vetb00001 row size = 39 number of columns = 7 index size = 0 }
create table "inform70".vetb00001
(
cod_cia smallint,
ult_factura integer,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00001 from "public";
{ TABLE "inform70".vetb00006 row size = 169 number of columns = 18 index size = 18
}
create table "inform70".vetb00006
(
tipo_cliente_s smallint,
sec_cliente_s smallint,
fecha_solicitud_s date,
condicion_venta_s smallint,
solicitante_s char(30),
cedula_s integer,
serie_s smallint,
calle_s char(30),
casa_num_s char(10),
barrio_s char(20),
urbanizacion_s char(20),
cod_provincia_s smallint,
telefono_s char(8),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00006 from "public";
create index "inform70".ix329_1 on "inform70".vetb00006 (tipo_cliente_s);
create index "inform70".ix329_2 on "inform70".vetb00006 (sec_cliente_s);
{ TABLE "inform70".vetb00007 row size = 39 number of columns = 8 index size = 0 }
create table "inform70".vetb00007
(
tipo_cliente smallint,
sec_cliente smallint,
tipo_desc smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00007 from "public";
{ TABLE "inform70".vetb00008 row size = 65 number of columns = 7 index size = 0 }
create table "inform70".vetb00008
(
cod_zona smallint,
descrip char(30),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00008 from "public";
{ TABLE "inform70".vetb00009 row size = 37 number of columns = 7 index size = 0 }
create table "inform70".vetb00009
(
cod_zona smallint,
cod_provincia smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00009 from "public";
{ TABLE "inform70".vetb00010 row size = 41 number of columns = 9 index size = 0 }
create table "inform70".vetb00010
(
cod_vend smallint,
sec_vend smallint,
cod_zona smallint,
cod_provincia smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00010 from "public";
{ TABLE "inform70".vetb00011 row size = 55 number of columns = 13 index size = 27
}
create table "inform70".vetb00011
(
cod_vend smallint,
sec_vend smallint,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
porc_ventas decimal(8,4),
porc_cobros decimal(8,4),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00011 from "public";
create cluster index "inform70".vetb11_1 on "inform70".vetb00011 (cod_n,cod_grupo,
cod_tipo,cod_sec);
create index "inform70".comision on "inform70".vetb00011 (sec_vend);
{ TABLE "inform70".vetb00015 row size = 165 number of columns = 17 index size = 0
}
create table "inform70".vetb00015
(
cod_transp smallint,
sec_transp smallint,
nombre char(30),
cedula integer,
serie smallint,
calle char(30),
casa_num char(10),
barrio char(20),
urbanizacion char(20),
cod_zona smallint,
cod_provincia smallint,
telefono char(8),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00015 from "public";
{ TABLE "inform70".vetb00016 row size = 55 number of columns = 14 index size = 21
}
create table "inform70".vetb00016
(
ano char(4) not null constraint "inform70".n150_41,
mes smallint,
zona smallint,
ventas char(1),
cod_n smallint not null constraint "inform70".n150_42,
cod_grupo smallint not null constraint "inform70".n150_43,
cod_tipo smallint not null constraint "inform70".n150_44,
cod_sec smallint not null constraint "inform70".n150_45,
porciento decimal(7,3),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00016 from "public";
create index "inform70".ix397_9 on "inform70".vetb00016 (ano);
create index "inform70".ix397_8 on "inform70".vetb00016 (zona);
{ TABLE "inform70".vetb00017 row size = 57 number of columns = 14 index size = 81
}
create table "inform70".vetb00017
(
ano smallint,
ventas char(1),
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
mes smallint,
cantidad integer,
valor decimal(12,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00017 from "public";
create index "inform70".ix355_2 on "inform70".vetb00017 (cod_n);
create index "inform70".ix355_3 on "inform70".vetb00017 (cod_grupo);
create index "inform70".ix355_4 on "inform70".vetb00017 (cod_tipo);
create index "inform70".ix355_5 on "inform70".vetb00017 (cod_sec);
create index "inform70".ix355_7 on "inform70".vetb00017 (mes);
create index "inform70".ix357_1 on "inform70".vetb00017 (ano);
create cluster index "inform70".vetb17_1 on "inform70".vetb00017 (ventas,cod_n,
cod_grupo,cod_tipo,cod_sec,status_t,ano,mes);
{ TABLE "inform70".vetb00018 row size = 39 number of columns = 8 index size = 9 }
create table "inform70".vetb00018
(
anos smallint,
fecha_in smallint,
fecha_fi smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00018 from "public";
create index "inform70".ix356_1 on "inform70".vetb00018 (anos);
{ TABLE "inform70".vetb00019 row size = 57 number of columns = 12 index size = 0
}
create table "inform70".vetb00019
(
ano char(4),
mes_ini char(2),
mes_fin char(2),
prima decimal(7,3),
itbi decimal(7,3),
porciento decimal(8,2),
disponible char(1),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00019 from "public";
{ TABLE "inform70".vetb00020 row size = 65 number of columns = 7 index size = 9 }
create table "inform70".vetb00020
(
cod_provincia smallint,
nombre_provincia char(30),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00020 from "public";
create index "inform70".ix352_1 on "inform70".vetb00020 (cod_provincia);
{ TABLE "inform70".vetb00021 row size = 58 number of columns = 15 index size = 72
}
create table "inform70".vetb00021
(
ano char(4) not null constraint "inform70".n155_46,
ventas char(1) not null constraint "inform70".n155_47,
zona char(3) not null constraint "inform70".n155_48,
provincia smallint,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
porciento decimal(7,3),
mes smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00021 from "public";
create index "inform70".ix396_1 on "inform70".vetb00021 (ano);
create index "inform70".ix396_2 on "inform70".vetb00021 (ventas);
create index "inform70".ix396_3 on "inform70".vetb00021 (zona);
create index "inform70".ix396_4 on "inform70".vetb00021 (provincia);
create unique index "inform70".provincia on "inform70".vetb00021 (ano,ventas,zona,
provincia,mes,cod_grupo,cod_tipo,cod_sec);
{ TABLE "inform70".vetb00022 row size = 54 number of columns = 13 index size = 21
}
create table "inform70".vetb00022
(
ano char(4) not null constraint "inform70".n156_49,
mes smallint,
sec_vend smallint not null constraint "inform70".n156_50,
cod_n smallint not null constraint "inform70".n156_51,
cod_grupo smallint not null constraint "inform70".n156_52,
cod_tipo smallint not null constraint "inform70".n156_53,
cod_sec smallint not null constraint "inform70".n156_54,
porciento decimal(7,3),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00022 from "public";
create index "inform70".ix397_1 on "inform70".vetb00022 (ano);
create index "inform70".ix397_6 on "inform70".vetb00022 (sec_vend);
{ TABLE "inform70".vetb00023 row size = 72 number of columns = 9 index size = 9 }
create table "inform70".vetb00023
(
cod_tarifa smallint,
descrip char(30),
cod_provincia smallint,
tarifa_pago decimal(7,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00023 from "public";
create index "inform70".ix354_1 on "inform70".vetb00023 (cod_tarifa);
{ TABLE "inform70".vetb00024 row size = 117 number of columns = 16 index size = 0
}
create table "inform70".vetb00024
(
fecha_ini_sem date,
fecha_fin_sem date,
cod_vend smallint,
sec_vend smallint,
tipo_cliente smallint,
sec_cliente smallint,
fecha_visita date,
hora_visita datetime hour to minute,
compra char(1),
persona_contacto char(30),
observacion char(30),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00024 from "public";
{ TABLE "inform70".vetb00026 row size = 50 number of columns = 9 index size = 12
}
create table "inform70".vetb00026
(
factura integer,
cod_porc smallint,
porc decimal(7,3),
valor decimal(8,3),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00026 from "public";
create index "inform70".ix421_1 on "inform70".vetb00026 (factura);
{ TABLE "inform70".vetb00027 row size = 87 number of columns = 16 index size = 0
}
create table "inform70".vetb00027
(
tipo_desc smallint,
descrip char(30),
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
porc_desc decimal(5,2),
cantidad_1 smallint,
cantidad_2 smallint,
cajas_bonif smallint,
fecha_cambio date,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00027 from "public";
{ TABLE "inform70".vetb00028 row size = 41 number of columns = 9 index size = 33
}
create table "inform70".vetb00028
(
cod_vend smallint,
sec_vend smallint,
tipo_cliente smallint,
sec_cliente smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00028 from "public";
create index "inform70".cli_vend on "inform70".vetb00028 (sec_vend,tipo_cliente,
sec_cliente);
create index "inform70".ix382_2 on "inform70".vetb00028 (sec_vend);
create index "inform70".ix382_4 on "inform70".vetb00028 (sec_cliente);
{ TABLE "inform70".vetb00029 row size = 59 number of columns = 14 index size = 0
}
create table "inform70".vetb00029
(
ano smallint,
ventas char(1),
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
mes char(4),
cantidad integer,
valor decimal(12,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00029 from "public";
{ TABLE "inform70".vetb00030 row size = 44 number of columns = 10 index size = 0
}
create table "inform70".vetb00030
(
factura integer,
cod_transp smallint,
sec_transp smallint,
cod_tarifa smallint,
pagada char(1),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00030 from "public";
{ TABLE "inform70".vetb00031 row size = 74 number of columns = 15 index size = 12
}
create table "inform70".vetb00031
(
fecha date,
factura integer,
fech_factura date,
tipo_cliente smallint,
sec_cliente smallint,
cod_vend smallint,
sec_vend smallint,
monto decimal(12,2) not null constraint "inform70".n164_55,
debito decimal(12,2),
credito decimal(12,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00031 from "public";
create index "inform70".ix962_1 on "inform70".vetb00031 (factura);
{ TABLE "usainf02".vetb00032 row size = 57 number of columns = 14 index size = 0
}
create table "usainf02".vetb00032
(
fecha date,
tipo_cliente smallint,
sec_cliente smallint,
pedido_no integer,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cantidad integer,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "usainf02".vetb00032 from "public";
{ TABLE "inform70".vetb00033 row size = 49 number of columns = 8 index size = 24
}
create table "inform70".vetb00033
(
num_emp integer,
sec_cliente integer,
cuenta_no char(8),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00033 from "public";
create index "inform70".ix1522_1 on "inform70".vetb00033 (num_emp);
create index "inform70".ix1522_2 on "inform70".vetb00033 (sec_cliente);
{ TABLE "inform70".vetb00034 row size = 113 number of columns = 28 index size = 33
}
create table "inform70".vetb00034
(
cod_cia smallint,
factura integer,
fecha_factura date,
ventas char(1),
zona char(3),
orden smallint,
fecha_orden date,
conduce integer,
fecha_conduce date,
tipo_cliente smallint,
sec_cliente smallint,
cod_vend smallint,
sec_vend smallint,
cond_pago smallint,
porc_itbi decimal(5,2),
porc_desc decimal(8,2),
prima_us decimal(6,2),
sub_total decimal(10,2),
monto_desc decimal(10,2),
monto_itbi decimal(10,2),
neto decimal(10,2),
fecha_embarque date,
status_impresion char(1),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00034 from "public";
create index "inform70".ix481_2 on "inform70".vetb00034 (factura);
create index "inform70".anterior1 on "inform70".vetb00034 (fecha_factura);
create index "inform70".anterior2 on "inform70".vetb00034 (sec_vend);
{ TABLE "inform70".vetb00035 row size = 65 number of columns = 15 index size = 12
}
create table "inform70".vetb00035
(
cod_cia smallint,
factura integer,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cantidad integer,
cantidad_2 integer,
bonificacion integer,
precio decimal(8,3),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00035 from "public";
create index "inform70".ix482_2 on "inform70".vetb00035 (factura);
{ TABLE "inform70".vetb00036 row size = 53 number of columns = 12 index size = 0
}
create table "inform70".vetb00036
(
num_doc smallint not null constraint "inform70".n169_56,
fecha date,
referencia integer,
cod_transp smallint,
sec_transp smallint,
bultos integer,
cod_tarifa smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00036 from "public";
{ TABLE "inform70".vetb00037 row size = 432 number of columns = 19 index size = 0
}
create table "inform70".vetb00037
(
tipo_cliente smallint,
sec_cliente smallint,
capital_aut decimal(12,2),
capitaal_pag char(20),
nombre_cony char(30),
nombre_par char(30),
calle_par char(20),
barrio_par char(20),
ciudad_par char(20),
telefono_par char(8),
observacion1 char(60),
observacion2 char(60),
observacion3 char(60),
observacion4 char(60),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00037 from "public";
{ TABLE "inform70".vetb00038 row size = 107 number of columns = 13 index size = 0
}
create table "inform70".vetb00038
(
tipo_cliente smallint,
sec_cliente smallint,
nombre_comp char(30),
telefono char(8),
mercancia char(20),
ano char(4),
tipo_cta char(1),
monto_desp decimal(12,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00038 from "public";
{ TABLE "inform70".vetb00039 row size = 114 number of columns = 12 index size = 0
}
create table "inform70".vetb00039
(
tipo_cliente smallint,
sec_cliente smallint,
nombre_banco char(30),
ano char(4),
cuenta_cte char(18),
cuenta_pres char(18),
monto_credito decimal(12,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00039 from "public";
{ TABLE "inform70".vetb00041 row size = 33 number of columns = 7 index size = 0 }
create table "inform70".vetb00041
(
tipo_cliente smallint,
sec_cliente smallint,
fecha date,
sec_vend smallint,
balance decimal(12,2),
us_crea char(9),
fech_crea datetime year to minute
);
revoke all on "inform70".vetb00041 from "public";
{ TABLE "inform70".vetb77777 row size = 37 number of columns = 7 index size = 0 }
create table "inform70".vetb77777
(
cod_cia smallint,
ult_factura smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb77777 from "public";
{ TABLE "inform70".vetb88888 row size = 113 number of columns = 28 index size = 0
}
create table "inform70".vetb88888
(
cod_cia smallint,
factura integer,
fecha_factura date,
ventas char(1),
zona char(3),
orden smallint,
fecha_orden date,
conduce integer,
fecha_conduce date,
tipo_cliente smallint,
sec_cliente smallint,
cod_vend smallint,
sec_vend smallint,
cond_pago smallint,
porc_itbi decimal(5,2),
porc_desc decimal(8,2),
prima_us decimal(6,2),
sub_total decimal(10,2),
monto_desc decimal(10,2),
monto_itbi decimal(10,2),
neto decimal(10,2),
fecha_embarque date,
status_impresion char(1),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb88888 from "public";
{ TABLE "inform70".vetb99999 row size = 61 number of columns = 14 index size = 0
}
create table "inform70".vetb99999
(
cod_cia smallint,
factura integer,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cantidad integer,
bonificacion integer,
precio decimal(8,3),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb99999 from "public";
{ TABLE "inform70".vetb00040 row size = 97 number of columns = 11 index size = 12
}
create table "inform70".vetb00040
(
tipo_cliente smallint,
sec_cliente smallint,
tipo_negocio char(15),
tipo_cte char(15),
frecuencia_visita char(15),
tipo_pago char(15),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute,
unique (tipo_cliente,sec_cliente) constraint "inform70".u557_2
);
revoke all on "inform70".vetb00040 from "public";
{ TABLE "inform70".codigos_esbien row size = 104 number of columns = 12 index size
= 0 }
create table "inform70".codigos_esbien
(
cod_n smallint not null constraint "inform70".n178_58,
cod_grupo smallint not null constraint "inform70".n178_59,
cod_tipo smallint not null constraint "inform70".n178_60,
cod_sec smallint not null constraint "inform70".n178_61,
descrip_esp char(30) not null constraint "inform70".n178_62,
descrip_ing char(30),
unidad_med char(3),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".codigos_esbien from "public";
{ TABLE "inform70".codigos_nobien row size = 56 number of columns = 13 index size
= 0 }
create table "inform70".codigos_nobien
(
cod_n smallint not null constraint "inform70".n179_63,
cod_grupo smallint not null constraint "inform70".n179_64,
cod_tipo smallint not null constraint "inform70".n179_65,
cod_sec smallint not null constraint "inform70".n179_66,
existencia decimal(10,2),
exist_min decimal(10,2),
dia_llegada smallint,
categoria char(1),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".codigos_nobien from "public";
{ TABLE "inform70".cotb00003 row size = 85 number of columns = 7 index size = 0 }
create table "inform70".cotb00003
(
cod_furg smallint,
descrip_furg char(50),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00003 from "public";
{ TABLE "inform70".cotb00004 row size = 51 number of columns = 12 index size = 18
}
create table "inform70".cotb00004
(
cod_embarque smallint,
cod_furg smallint,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cantidad decimal(10,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00004 from "public";
create index "inform70".ix223_1 on "inform70".cotb00004 (cod_embarque);
create index "inform70".ix223_2 on "inform70".cotb00004 (cod_furg);
{ TABLE "inform70".cotb00006 row size = 81 number of columns = 12 index size = 12
}
create table "inform70".cotb00006
(
num_req serial not null constraint "inform70".n182_67,
fech_req date,
departamento smallint,
cod_emp_sec smallint,
fech_ent date,
uso char(30),
prioridad smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00006 from "public";
create unique index "inform70".ix693_1 on "inform70".cotb00006 (num_req);
{ TABLE "inform70".cotb00007 row size = 53 number of columns = 9 index size = 0 }
create table "inform70".cotb00007
(
num_req integer,
num_pr char(10),
tipo char(2),
num_oc integer,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00007 from "public";
{ TABLE "inform70".cotb00008 row size = 63 number of columns = 15 index size = 12
}
create table "inform70".cotb00008
(
num_req integer,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cantidad decimal(10,2),
cod_sp smallint,
cod_sp_sec smallint,
precio decimal(11,3),
procesada char(1),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00008 from "public";
create index "inform70".numero on "inform70".cotb00008 (num_req);
{ TABLE "inform70".cotb00009 row size = 70 number of columns = 13 index size = 0
}
create table "inform70".cotb00009
(
fecha_rep date,
tipo char(2),
num_oc integer,
planilla integer,
exenta decimal(12,2),
nota_credito integer,
itbi_nc decimal(8,2),
valor_credito decimal(12,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00009 from "public";
{ TABLE "inform70".cotb00011 row size = 111 number of columns = 18 index size = 21
}
create table "inform70".cotb00011
(
num_pr char(10),
cod_sp smallint,
cod_sp_sec smallint,
cod_pais char(3),
cod_pt char(4),
fecha date,
flete decimal(10,2),
decl_cons decimal(10,2),
otros_imp decimal(10,2),
term_sp smallint,
descrip_term char(30),
via char(2),
procesada char(1),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00011 from "public";
create index "inform70".ix210_1 on "inform70".cotb00011 (num_pr);
{ TABLE "inform70".cotb00012 row size = 69 number of columns = 14 index size = 0
}
create table "inform70".cotb00012
(
num_pr char(10),
tipo char(2),
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cantidad decimal(10,2),
costo_mp decimal(10,2),
fech_emb date,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00012 from "public";
{ TABLE "inform70".cotb00013 row size = 65 number of columns = 13 index size = 0
}
create table "inform70".cotb00013
(
num_pr char(10),
tipo char(2),
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cantidad decimal(10,2),
costo_mp decimal(10,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00013 from "public";
{ TABLE "inform70".cotb00016 row size = 58 number of columns = 15 index size = 0
}
create table "inform70".cotb00016
(
num_oc integer,
sol_pi char(1),
fech_spi date,
apr_pi char(1),
sol_pg char(1),
fech_spg date,
apr_cc char(1),
fech_acc date,
apr_tb char(1),
fech_atb date,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00016 from "public";
{ TABLE "inform70".cotb00017 row size = 81 number of columns = 13 index size = 57
}
create table "inform70".cotb00017
(
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
procedencia char(30),
cod_pt char(4),
via_t char(2),
seguro decimal(5,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00017 from "public";
create index "inform70".ix361_1 on "inform70".cotb00017 (cod_n);
create index "inform70".ix361_2 on "inform70".cotb00017 (cod_grupo);
create index "inform70".ix361_3 on "inform70".cotb00017 (cod_tipo);
create index "inform70".ix361_4 on "inform70".cotb00017 (cod_sec);
create index "inform70".ix361_6 on "inform70".cotb00017 (cod_pt);
create index "inform70".ix361_7 on "inform70".cotb00017 (via_t);
{ TABLE "inform70".cotb00018 row size = 96 number of columns = 7 index size = 10
}
create table "inform70".cotb00018
(
cod_pais char(3),
nom_pais char(60),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00018 from "public";
create index "inform70".ix220_1 on "inform70".cotb00018 (cod_pais);
{ TABLE "inform70".cotb00019 row size = 102 number of columns = 10 index size = 12
}
create table "inform70".cotb00019
(
cod_pt char(4),
nom_pt char(30),
cod_pais char(3),
ciudad char(30),
duracion smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00019 from "public";
create index "inform70".ix218_1 on "inform70".cotb00019 (cod_pt);
{ TABLE "inform70".cotb00020 row size = 43 number of columns = 9 index size = 36
}
create table "inform70".cotb00020
(
fecha_del date,
fecha_al date,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
tipo char(15),
dia_reord char(2),
mes_reord char(10)
);
revoke all on "inform70".cotb00020 from "public";
create index "inform70".ix461_3 on "inform70".cotb00020 (cod_n);
create index "inform70".ix461_4 on "inform70".cotb00020 (cod_grupo);
create index "inform70".ix461_5 on "inform70".cotb00020 (cod_tipo);
create index "inform70".ix461_6 on "inform70".cotb00020 (cod_sec);
{ TABLE "inform70".cotb00021 row size = 42 number of columns = 10 index size = 0
}
create table "inform70".cotb00021
(
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
categoria char(1),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00021 from "public";
{ TABLE "inform70".cotb00022 row size = 82 number of columns = 8 index size = 12
}
create table "inform70".cotb00022
(
cod_ca char(4),
nom_ca char(30),
poliza char(15),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00022 from "public";
create index "inform70".ix222_1 on "inform70".cotb00022 (cod_ca);
{ TABLE "inform70".cotb00023 row size = 64 number of columns = 7 index size = 0 }
create table "inform70".cotb00023
(
categoria char(1),
descripcion char(30),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00023 from "public";
{ TABLE "inform70".cotb00024 row size = 95 number of columns = 8 index size = 0 }
create table "inform70".cotb00024
(
term_sp smallint,
descrip_term char(30),
descrip_ting char(30),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00024 from "public";
{ TABLE "inform70".cotb00025 row size = 75 number of columns = 17 index size = 27
}
create table "inform70".cotb00025
(
num_oc integer,
tipo char(2),
num_req integer not null constraint "inform70".n198_68,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
fech_emb date,
fech_ent date,
fecha_a date,
cantidad decimal(10,2),
cantidad_r decimal(10,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00025 from "public";
create index "inform70".clave25 on "inform70".cotb00025 (num_oc,tipo,cod_n,cod_grupo,
cod_tipo,cod_sec);
{ TABLE "inform70".cotb00026 row size = 59 number of columns = 13 index size = 24
}
create table "inform70".cotb00026
(
rango_plan char(4),
fecha_ini date,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
fecha_fin date,
cantidad decimal(10,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00026 from "public";
create index "inform70".ix232_1 on "inform70".cotb00026 (rango_plan);
create index "inform70".ix232_2 on "inform70".cotb00026 (fecha_ini);
{ TABLE "inform70".cotb00027 row size = 85 number of columns = 7 index size = 0 }
create table "inform70".cotb00027
(
cod_embarque smallint not null constraint "inform70".n200_69,
descrip_emb char(50),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00027 from "public";
{ TABLE "inform70".cotb00028 row size = 2 number of columns = 1 index size = 0 }
create table "inform70".cotb00028
(
dia smallint
);
revoke all on "inform70".cotb00028 from "public";
{ TABLE "inform70".cotb00029 row size = 253 number of columns = 13 index size = 0
}
create table "inform70".cotb00029
(
num_oc integer,
tipo char(2),
cod_sp smallint,
cod_sp_sec smallint,
ship_to char(60),
n_a_b char(30),
c_i_d char(60),
nota char(60),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00029 from "public";
{ TABLE "inform70".cotb00030 row size = 37 number of columns = 6 index size = 12
}
create table "inform70".cotb00030
(
num_oc integer,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00030 from "public";
create index "inform70".ix432_1 on "inform70".cotb00030 (num_oc);
{ TABLE "inform70".cotb00031 row size = 78 number of columns = 9 index size = 0 }
create table "inform70".cotb00031
(
cod_mon integer,
descrip_mon char(30),
simbolo char(4),
tasa_cambio decimal(12,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00031 from "public";
{ TABLE "inform70".cotb00032 row size = 80 number of columns = 16 index size = 57
}
create table "inform70".cotb00032
(
num_oc integer,
num_req integer,
tipo char(2),
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
num_parte char(12),
cantidad decimal(10,2),
precio decimal(11,3),
cod_mon integer,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00032 from "public";
create index "inform70".clave32 on "inform70".cotb00032 (num_oc,tipo,num_req,cod_n,
cod_grupo,cod_tipo,cod_sec);
create cluster index "inform70".cotb32_1 on "inform70".cotb00032 (num_oc,cod_n,
cod_grupo,cod_tipo,cod_sec);
{ TABLE "inform70".cotb00033 row size = 130 number of columns = 22 index size = 39
}
create table "inform70".cotb00033
(
num_oc integer,
tipo char(2),
fech_oc date,
num_pr char(10),
cod_sp smallint,
cod_sp_sec smallint,
term_sp smallint,
via char(2),
enviada char(1),
fech_enviada date,
pago char(1),
fech_pago date,
cierre char(1),
cod_pt char(4),
c_flete decimal(12,2),
otros_g decimal(12,2),
detalle char(40),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00033 from "public";
create index "inform70".h_sup1 on "inform70".cotb00033 (cod_sp,cod_sp_sec);
create index "inform70".h_fec1 on "inform70".cotb00033 (fech_oc);
create unique index "inform70".h_ord1 on "inform70".cotb00033 (num_oc,tipo);
{ TABLE "inform70".cotb00034 row size = 80 number of columns = 16 index size = 66
}
create table "inform70".cotb00034
(
num_oc integer,
num_req integer,
tipo char(2),
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
num_parte char(12),
cantidad decimal(10,2),
precio decimal(11,3),
cod_mon integer,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00034 from "public";
create index "inform70".h_ord2 on "inform70".cotb00034 (num_oc,tipo);
create index "inform70".h_cod2 on "inform70".cotb00034 (cod_n,cod_grupo,cod_tipo,
cod_sec);
create unique index "inform70".h_n_cod on "inform70".cotb00034 (num_oc,tipo,num_req,
cod_n,cod_grupo,cod_tipo,cod_sec);
{ TABLE "inform70".cotb00035 row size = 75 number of columns = 17 index size = 0
}
create table "inform70".cotb00035
(
num_oc integer,
tipo char(2),
num_req integer not null constraint "inform70".n208_70,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
fech_emb date,
fech_ent date,
fecha_a date,
cantidad decimal(10,2),
cantidad_r decimal(10,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00035 from "public";
{ TABLE "usainf01".cotb00038 row size = 77 number of columns = 16 index size = 102
}
create table "usainf01".cotb00038
(
num_doc integer,
cod_mov smallint,
fecha date,
num_oc integer,
cod_emb char(8),
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cantidad_o decimal(12,2),
cantidad decimal(12,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "usainf01".cotb00038 from "public";
create index "inform70".ix687_4 on "usainf01".cotb00038 (num_oc);
create index "inform70".ix687_6 on "usainf01".cotb00038 (cod_n);
create index "inform70".ix687_7 on "usainf01".cotb00038 (cod_grupo);
create index "inform70".ix687_8 on "usainf01".cotb00038 (cod_tipo);
create index "inform70".ix687_9 on "usainf01".cotb00038 (cod_sec);
create index "inform70".compuesto on "usainf01".cotb00038 (cod_n,cod_grupo,cod_tipo,
cod_sec);
create index "inform70".embarque on "usainf01".cotb00038 (num_oc,cod_emb,cod_n,
cod_grupo,cod_tipo,cod_sec);
{ TABLE "usainf01".cotb00039 row size = 101 number of columns = 14 index size = 0
}
create table "usainf01".cotb00039
(
num_oc integer,
tipo char(2),
cod_emb integer,
num_fact char(15),
num_pr char(15),
fletes decimal(12,2),
impuesto decimal(12,2),
acarreo decimal(12,2),
fech_sol_pa date,
fecha_pago date,
us_cra char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "usainf01".cotb00039 from "public";
{ TABLE "usainf01".cotb00040 row size = 112 number of columns = 8 index size = 0
}
create table "usainf01".cotb00040
(
no_linea smallint,
cod_emb integer,
num_oc integer,
detalle char(70),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "usainf01".cotb00040 from "public";
{ TABLE "usainf01".cotb00041 row size = 50 number of columns = 7 index size = 0 }
create table "usainf01".cotb00041
(
cod_st smallint,
descripcion char(20),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime minute to minute
);
revoke all on "usainf01".cotb00041 from "public";
{ TABLE "inform70".cotb00114 row size = 130 number of columns = 22 index size = 94
}
create table "inform70".cotb00114
(
num_oc integer,
tipo char(2),
fech_oc date,
num_pr char(10),
cod_sp smallint,
cod_sp_sec smallint,
term_sp smallint,
via char(2),
enviada char(1),
fech_enviada date,
pago char(1),
fech_pago date,
cierre char(1),
cod_pt char(4),
c_flete decimal(12,2),
otros_g decimal(12,2),
detalle char(40),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00114 from "public";
create index "inform70".fecha_o on "inform70".cotb00114 (fech_oc);
create index "inform70".orden on "inform70".cotb00114 (num_oc,tipo);
create index "inform70".indice on "inform70".cotb00114 (fech_oc,status_t,num_oc,
tipo,cod_sp,cod_sp_sec);
create index "inform70".suple on "inform70".cotb00114 (cod_sp,cod_sp_sec);
create index "inform70".tipo_s on "inform70".cotb00114 (tipo,cod_sp,cod_sp_sec);
create unique index "inform70".numero_o on "inform70".cotb00114 (num_oc);
{ TABLE "inform70".cotb0014 row size = 130 number of columns = 22 index size = 0
}
create table "inform70".cotb0014
(
num_oc integer,
tipo char(2),
fech_oc date,
num_pr char(10),
cod_sp smallint,
cod_sp_sec smallint,
term_sp smallint,
via char(2),
enviada char(1),
fech_enviada date,
pago char(1),
fech_pago date,
cierre char(1),
cod_pt char(4),
c_flete decimal(12,2),
otros_g decimal(12,2),
detalle char(40),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb0014 from "public";
{ TABLE "inform70".adtb00001 row size = 65 number of columns = 7 index size = 9 }
create table "inform70".adtb00001
(
departamento smallint,
nom_dpto char(30),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00001 from "public";
create index "inform70".ix104_1 on "inform70".adtb00001 (departamento);
{ TABLE "inform70".adtb00002 row size = 67 number of columns = 8 index size = 0 }
create table "inform70".adtb00002
(
cod_seccion char(2),
departamento smallint,
nom_seccion char(30),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00002 from "public";
{ TABLE "inform70".adtb00003 row size = 232 number of columns = 32 index size = 27
}
create table "inform70".adtb00003
(
num_emp smallint,
departamento smallint,
nivel_emp smallint,
cod_puesto smallint,
nom1_emp char(15),
nom2_emp char(15),
apell1_emp char(15),
apell2_emp char(15),
calle char(30),
casa_num char(10),
barrio char(20),
urbanizacion char(20),
telefono char(8),
fech_nac date,
cod_nac smallint,
estado_civil char(1),
tipo_sangre char(3),
cedula integer,
serie smallint,
licencia char(9),
sueldo_ac decimal(10,2),
nomina char(1),
fech_efec date,
paga_seg char(1),
cod_seg1 smallint,
cod_seg2 smallint,
cod_seg3 smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00003 from "public";
create index "inform70".ix303_3 on "inform70".adtb00003 (departamento);
create index "inform70".ix497_3 on "inform70".adtb00003 (nivel_emp);
create index "inform70".ix497_4 on "inform70".adtb00003 (cod_puesto);
{ TABLE "inform70".adtb00004 row size = 199 number of columns = 12 index size = 0
}
create table "inform70".adtb00004
(
cod_puesto smallint,
nom_puesto char(30),
funciones char(60),
funcion1 char(60),
nivel_sal smallint,
salario_min decimal(10,2),
salario_max decimal(10,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00004 from "public";
{ TABLE "inform70".adtb00005 row size = 65 number of columns = 7 index size = 0 }
create table "inform70".adtb00005
(
cod_educa smallint,
nom_educa char(30),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00005 from "public";
{ TABLE "inform70".adtb00006 row size = 65 number of columns = 7 index size = 9 }
create table "inform70".adtb00006
(
cod_pericia smallint,
nom_pericia char(30),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00006 from "public";
create index "inform70".ix567_1 on "inform70".adtb00006 (cod_pericia);
{ TABLE "inform70".adtb00007 row size = 65 number of columns = 7 index size = 0 }
create table "inform70".adtb00007
(
cod_nac smallint,
nom_nac char(30),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00007 from "public";
{ TABLE "inform70".adtb00008 row size = 65 number of columns = 7 index size = 0 }
create table "inform70".adtb00008
(
cod_requi smallint,
requisito char(30),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00008 from "public";
{ TABLE "inform70".adtb00009 row size = 87 number of columns = 8 index size = 0 }
create table "inform70".adtb00009
(
cod_mto smallint,
sec_mto smallint,
desc_mto char(50),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00009 from "public";
{ TABLE "inform70".adtb00010 row size = 65 number of columns = 7 index size = 0 }
create table "inform70".adtb00010
(
cod_prof smallint,
nom_prof char(30),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00010 from "public";
{ TABLE "inform70".adtb00011 row size = 124 number of columns = 31 index size = 0
}
create table "inform70".adtb00011
(
num_doc smallint,
fecha date,
fech_req date,
depart smallint,
tipo_req smallint,
razon_vac char(30),
cod_puesto_r smallint,
edad_min smallint,
salario_sem decimal(10,2),
salario_men decimal(10,2),
experiencia smallint,
cod_educa smallint,
cod_pericia smallint,
status_per char(1),
num_emp smallint,
departamento smallint,
nivel_emp smallint,
cod_puesto smallint,
num1_emp smallint,
departamento1 smallint,
nivel1_emp smallint,
cod1_puesto smallint,
num2_emp smallint,
departamento2 smallint,
nivel2_emp smallint,
cod2_puesto smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00011 from "public";
{ TABLE "inform70".adtb00012 row size = 288 number of columns = 34 index size = 9
}
create table "inform70".adtb00012
(
cod_sol smallint,
fecha date,
nom1_sol char(15),
nom2_sol char(15),
apell1_sol char(15),
apell2_sol char(15),
calle char(30),
casa_num char(10),
barrio char(20),
urbanizacion char(20),
telefono char(8),
cod_provincia smallint,
fech_nac date,
cod_nac smallint,
estado_civil char(1),
estatura char(4),
peso smallint,
cedula integer,
serie smallint,
licencia char(9),
tipo_sangre char(3),
idioma char(10),
h_idioma char(1),
l_idioma char(1),
e_idioma char(1),
otros_idioma char(50),
cod_puesto smallint,
cod_prof smallint,
sexo char(1),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00012 from "public";
create index "inform70".ix555_1 on "inform70".adtb00012 (cod_sol);
{ TABLE "inform70".adtb00013 row size = 94 number of columns = 12 index size = 21
}
create table "inform70".adtb00013
(
cod_sol smallint,
cod_par smallint,
sec_par smallint,
nombre char(30),
cedula char(20),
sexo char(1),
fecha_nac date,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00013 from "public";
create index "inform70".ad13_1 on "inform70".adtb00013 (cod_sol);
create index "inform70".ad13_2 on "inform70".adtb00013 (cod_par,sec_par);
{ TABLE "inform70".adtb00014 row size = 185 number of columns = 13 index size = 9
}
create table "inform70".adtb00014
(
cod_sol smallint,
nom_ref char(60),
anos_rel smallint,
telefono char(8),
calle char(30),
casa_num char(10),
barrio char(20),
urbanizacion char(20),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00014 from "public";
create index "inform70".ix486_1 on "inform70".adtb00014 (cod_sol);
{ TABLE "inform70".adtb00015 row size = 151 number of columns = 14 index size = 9
}
create table "inform70".adtb00015
(
cod_sol smallint,
nom_inst char(30),
calle char(30),
casa_num char(10),
barrio char(20),
urbanizacion char(20),
cod_educa smallint,
anos smallint,
ano_term smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00015 from "public";
create index "inform70".ix513_1 on "inform70".adtb00015 (cod_sol);
{ TABLE "inform70".adtb00016 row size = 217 number of columns = 16 index size = 0
}
create table "inform70".adtb00016
(
cod_sol smallint,
nom_empr char(30),
calle char(30),
casa_num char(10),
barrio char(20),
urbanizacion char(20),
cod_puesto smallint,
sueldo decimal(10,2),
ano_ini smallint,
ano_fin smallint,
desc_retiro char(60),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00016 from "public";
{ TABLE "inform70".adtb00017 row size = 69 number of columns = 17 index size = 21
}
create table "inform70".adtb00017
(
num_trx integer,
cod_sol smallint,
num_emp smallint,
departamento smallint,
nivel_emp smallint,
cod_puesto smallint,
fech_efec date,
salario decimal(10,2),
cod_mto smallint,
sec_mto smallint,
nivel_sal smallint,
liquidacion decimal(10,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00017 from "public";
create index "inform70".ix526_1 on "inform70".adtb00017 (cod_sol);
create index "inform70".ix535_1 on "inform70".adtb00017 (num_trx);
{ TABLE "inform70".adtb00018 row size = 136 number of columns = 27 index size = 9
}
create table "inform70".adtb00018
(
fecha date,
cod_sol smallint,
num_emp smallint,
departamento smallint,
nivel_emp smallint,
cod_puesto smallint,
num3_emp smallint,
departamento3 smallint,
nivel3_emp smallint,
cod3_puesto smallint,
recomendacion smallint,
otros_com char(60),
num1_emp smallint,
departamento1 smallint,
nivel1_emp smallint,
cod1_puesto smallint,
num2_emp smallint,
departamento2 smallint,
nivel2_emp smallint,
cod2_puesto smallint,
cod_requi smallint,
ind_requi char(1),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00018 from "public";
create index "inform70".ix523_2 on "inform70".adtb00018 (cod_sol);
{ TABLE "inform70".adtb00019 row size = 51 number of columns = 11 index size = 9
}
create table "inform70".adtb00019
(
cod_sol smallint,
fech_efec date,
sueldo decimal(10,2),
cod_mto smallint,
sec_mto smallint,
periodo smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00019 from "public";
create index "inform70".ix491_1 on "inform70".adtb00019 (cod_sol);
{ TABLE "inform70".adtb00020 row size = 172 number of columns = 32 index size = 57
}
create table "inform70".adtb00020
(
num_trx integer,
cod_sol smallint,
fecha date,
fech_efec date,
num_emp smallint,
departamento smallint,
nivel_emp smallint,
cod_puesto smallint,
sueldo_ac decimal(10,2),
nomina char(1),
estado_civil char(1),
tipo_sangre char(3),
cod_mto smallint,
sec_mto char(20),
observacion char(60),
num1_emp smallint,
departamento1 smallint,
nivel1_emp smallint,
cod1_puesto smallint,
num2_emp smallint,
departamento2 smallint,
nivel2_emp smallint,
cod2_puesto smallint,
num3_emp smallint,
departamento3 smallint,
nivel3_emp smallint,
cod3_puesto smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00020 from "public";
create index "inform70".ix492_4 on "inform70".adtb00020 (departamento);
create index "inform70".ix492_5 on "inform70".adtb00020 (nivel_emp);
create index "inform70".ix492_6 on "inform70".adtb00020 (cod_puesto);
create index "inform70".ix527_1 on "inform70".adtb00020 (cod_sol);
create index "inform70".ix527_4 on "inform70".adtb00020 (num_emp);
create index "inform70".ix530_1 on "inform70".adtb00020 (num_trx);
{ TABLE "inform70".adtb00021 row size = 94 number of columns = 12 index size = 21
}
create table "inform70".adtb00021
(
num_emp smallint,
cod_par smallint,
sec_par smallint,
nombre char(30),
cedula char(20),
sexo char(1),
fecha_nac date,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00021 from "public";
create index "inform70".ad21_1 on "inform70".adtb00021 (num_emp);
create index "inform70".ad21_2 on "inform70".adtb00021 (cod_par,sec_par);
{ TABLE "inform70".adtb00022 row size = 163 number of columns = 27 index size = 36
}
create table "inform70".adtb00022
(
fecha date,
num_emp smallint,
departamento smallint,
nivel_emp smallint,
cod_puesto smallint,
cod_prof smallint,
evento smallint,
nom_evento char(80),
fech_evento date,
costo_evento decimal(10,2),
num1_emp smallint,
departamento1 smallint,
nivel1_emp smallint,
cod1_puesto smallint,
num2_emp smallint,
departamento2 smallint,
nivel2_emp smallint,
cod2_puesto smallint,
num3_emp smallint,
departamento3 smallint,
nivel3_emp smallint,
cod3_puesto smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00022 from "public";
create index "inform70".ix494_3 on "inform70".adtb00022 (departamento);
create index "inform70".ix494_4 on "inform70".adtb00022 (nivel_emp);
create index "inform70".ix494_5 on "inform70".adtb00022 (cod_puesto);
create index "inform70".ix506_2 on "inform70".adtb00022 (num_emp);
{ TABLE "inform70".adtb00023 row size = 51 number of columns = 12 index size = 12
}
create table "inform70".adtb00023
(
fecha date,
num_emp smallint,
departamento smallint,
nivel_emp smallint,
cod_puesto smallint,
hora_ent datetime hour to minute,
hora_sal datetime hour to minute,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00023 from "public";
create index "inform70".ix533_1 on "inform70".adtb00023 (fecha);
{ TABLE "inform70".adtb00024 row size = 65 number of columns = 7 index size = 0 }
create table "inform70".adtb00024
(
nivel_emp smallint,
desc_nivel char(30),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00024 from "public";
{ TABLE "inform70".adtb00025 row size = 46 number of columns = 7 index size = 0 }
create table "inform70".adtb00025
(
cod_par smallint,
desc_par char(11),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00025 from "public";
{ TABLE "inform70".adtb00026 row size = 183 number of columns = 21 index size = 36
}
create table "inform70".adtb00026
(
amon_num smallint,
fecha date,
num_emp smallint,
departamento smallint,
nivel_emp smallint,
cod_puesto smallint,
violacion char(60),
violacion1 char(60),
num1_emp smallint,
departamento1 smallint,
nivel1_emp smallint,
cod1_puesto smallint,
num2_emp smallint,
departamento2 smallint,
nivel2_emp smallint,
cod2_puesto smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00026 from "public";
create index "inform70".ix496_4 on "inform70".adtb00026 (departamento);
create index "inform70".ix496_5 on "inform70".adtb00026 (nivel_emp);
create index "inform70".ix496_6 on "inform70".adtb00026 (cod_puesto);
create index "inform70".ix507_3 on "inform70".adtb00026 (num_emp);
{ TABLE "inform70".adtb00027 row size = 57 number of columns = 13 index size = 36
}
create table "inform70".adtb00027
(
num_emp smallint,
departamento smallint,
nivel_emp smallint,
cod_puesto smallint,
fecha_sal date,
fecha_ent date,
dias_tomados integer,
dias_vac integer,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00027 from "public";
create index "inform70".ix531_1 on "inform70".adtb00027 (num_emp);
create index "inform70".ix531_2 on "inform70".adtb00027 (departamento);
create index "inform70".ix531_3 on "inform70".adtb00027 (nivel_emp);
create index "inform70".ix531_4 on "inform70".adtb00027 (cod_puesto);
{ TABLE "inform70".adtb00028 row size = 39 number of columns = 7 index size = 12
}
create table "inform70".adtb00028
(
num_trx integer,
clave char(2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00028 from "public";
create index "inform70".ix566_1 on "inform70".adtb00028 (num_trx);
{ TABLE "inform70".adtb00029 row size = 45 number of columns = 9 index size = 9 }
create table "inform70".adtb00029
(
departamento smallint,
estado_a char(4),
estado_m char(4),
depto_ant smallint,
estatus_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00029 from "public";
create index "inform70".ix859_1 on "inform70".adtb00029 (departamento);
{ TABLE "inform70".adtb00030 row size = 3 number of columns = 2 index size = 0 }
create table "inform70".adtb00030
(
num_emp smallint,
sexo char(1)
);
revoke all on "inform70".adtb00030 from "public";
{ TABLE "inform70".adtb00031 row size = 52 number of columns = 11 index size = 0
}
create table "inform70".adtb00031
(
fecha date,
num_emp smallint,
departamento smallint,
nivel_emp smallint,
cod_puesto smallint,
monto decimal(12,2),
status_t char(1),
us_cra char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00031 from "public";
{ TABLE "inform70".adtb00032 row size = 53 number of columns = 11 index size = 42
}
create table "inform70".adtb00032
(
num_trx integer,
num_emp integer,
cod_mov smallint,
sec_mov smallint,
fecha date,
num_dia integer,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00032 from "public";
create index "inform70".ix1542_1 on "inform70".adtb00032 (num_trx);
create index "inform70".ix1542_2 on "inform70".adtb00032 (num_emp);
create index "inform70".ix1542_3 on "inform70".adtb00032 (cod_mov);
create index "inform70".ix1542_4 on "inform70".adtb00032 (sec_mov);
{ TABLE "inform70".adtb00033 row size = 66 number of columns = 8 index size = 0 }
create table "inform70".adtb00033
(
dpto char(1),
departamento smallint,
nom_dpto char(30),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00033 from "public";
{ TABLE "inform70".adtb00034 row size = 94 number of columns = 12 index size = 21
}
create table "inform70".adtb00034
(
num_emp smallint,
cod_par smallint,
sec_par smallint,
nombre char(30),
cedula char(20),
sexo char(1),
fecha_nac date,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00034 from "public";
create index "inform70".ad34_1 on "inform70".adtb00034 (num_emp);
create index "inform70".ad34_2 on "inform70".adtb00034 (cod_par,sec_par);
{ TABLE "inform70".adtb00035 row size = 581 number of columns = 35 index size = 0
}
create table "inform70".adtb00035
(
num_emp smallint,
departamento smallint,
nivel_emp smallint,
cod_puesto smallint,
nom1_emp char(15),
nom2_emp char(15),
apell1_emp char(15),
apell2_emp char(15),
telefono char(8),
calle char(30),
casa_num char(10),
barrio char(20),
urbanizacion char(20),
estado_civil char(1),
licencia char(9),
nom_padre char(60),
nom_madre char(60),
nom_conyuge char(60),
cedula_c integer,
serie_c smallint,
fech_nac_co date,
abuelo_p char(30),
abuela_p char(30),
abuelo_m char(30),
abuela_m char(30),
nom_hijo char(60),
sexo_hijo char(1),
fech_nac_h date,
edad smallint,
descripcion char(5),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00035 from "public";
{ TABLE "inform70".adtb00036 row size = 115 number of columns = 10 index size = 9
}
create table "inform70".adtb00036
(
num_emp smallint,
nom1_emp char(20),
nom2_emp char(20),
apell1_emp char(20),
apell2_emp char(20),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00036 from "public";
create unique index "inform70".ix506_1 on "inform70".adtb00036 (num_emp);
{ TABLE "inform70".adtb00037 row size = 53 number of columns = 10 index size = 36
}
create table "inform70".adtb00037
(
departamento smallint,
estado_q char(4),
estado_m char(4),
depto_ant smallint,
cuenta_no char(8),
estatus_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00037 from "public";
create index "inform70".departa on "inform70".adtb00037 (departamento);
create unique index "inform70".estado_q on "inform70".adtb00037 (departamento,
estado_m,cuenta_no);
{ TABLE "inform70".adtb00137 row size = 53 number of columns = 10 index size = 0
}
create table "inform70".adtb00137
(
departamento smallint,
estado_q char(4),
estado_m char(4),
depto_ant smallint,
cuenta_no char(8),
estatus_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".adtb00137 from "public";
{ TABLE "inform70".cctb00001 row size = 118 number of columns = 23 index size = 300
}
create table "inform70".cctb00001
(
cuenta_no char(8),
cod_cia smallint,
tipo_doc char(2),
num_doc integer,
tipo_cliente smallint,
sec_cliente smallint,
cod_emp smallint,
cod_emp_sec smallint,
fecha_orig date,
fecha_ven date,
aplica_a integer,
banco smallint,
num_cheque char(12),
valor decimal(12,2) not null constraint "inform70".n253_71,
valor_efectivo decimal(12,2),
valor_cheque decimal(12,2),
costo decimal(12,2),
monto_desc decimal(12,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cctb00001 from "public";
create cluster index "inform70".busca2 on "inform70".cctb00001 (tipo_cliente,sec_cliente,
num_doc,tipo_doc,aplica_a);
create index "inform70".busca4 on "inform70".cctb00001 (cod_cia,num_doc,fecha_orig);
create index "inform70".idx306_2 on "inform70".cctb00001 (fecha_orig,tipo_cliente,
sec_cliente,status_t,tipo_doc);
create index "inform70".busca3 on "inform70".cctb00001 (fecha_orig,tipo_cliente,
sec_cliente,cod_emp_sec,status_t,tipo_doc);
create index "inform70".cli_emp on "inform70".cctb00001 (cod_emp_sec,tipo_cliente,
sec_cliente);
create index "inform70".vendedor on "inform70".cctb00001 (cod_emp_sec,tipo_cliente,
sec_cliente,tipo_doc,num_doc,status_t);
create index "inform70".n_credito on "inform70".cctb00001 (sec_cliente,aplica_a,
tipo_doc);
create index "inform70".aplicacion on "inform70".cctb00001 (aplica_a);
create index "inform70".ccbusqueda on "inform70".cctb00001 (num_doc,tipo_doc);
create index "inform70".ccrp33 on "inform70".cctb00001 (cod_emp_sec,num_doc);
create index "inform70".busca5 on "inform70".cctb00001 (tipo_cliente,sec_cliente,
status_t);
create index "inform70".comision1 on "inform70".cctb00001 (cod_emp_sec,fecha_orig,
tipo_doc,valor_cheque);
create index "inform70".comision35 on "inform70".cctb00001 (cod_emp_sec);
create index "inform70".elimina on "inform70".cctb00001 (tipo_doc,num_cheque);
create index "inform70".depositos on "inform70".cctb00001 (banco,cuenta_no,tipo_doc,
status_t);
{ TABLE "inform70".cctb00002 row size = 49 number of columns = 10 index size = 9
}
create table "inform70".cctb00002
(
fecha date,
cod_vend smallint,
sec_vend smallint,
sec_de integer,
sec_a integer,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cctb00002 from "public";
create index "inform70".ix443_2 on "inform70".cctb00002 (sec_vend);
{ TABLE "inform70".cctb00003 row size = 43 number of columns = 9 index size = 18
}
create table "inform70".cctb00003
(
cod_vend smallint,
sec_vend smallint,
ult_recibo integer,
tipo_doc char(2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cctb00003 from "public";
create index "inform70".ix444_1 on "inform70".cctb00003 (cod_vend);
create index "inform70".ix444_2 on "inform70".cctb00003 (sec_vend);
{ TABLE "inform70".cctb00004 row size = 130 number of columns = 26 index size = 210
}
create table "inform70".cctb00004
(
cuenta_no char(8),
cod_cia smallint,
tipo_doc char(2),
num_doc integer,
tipo_cliente smallint,
sec_cliente smallint,
cod_emp smallint,
cod_emp_sec smallint,
fecha_orig date,
fecha_ven date,
aplica_a integer,
banco smallint,
num_cheque char(12),
valor decimal(12,2) not null constraint "inform70".n256_72,
valor_efectivo decimal(12,2),
valor_cheque decimal(12,2),
costo decimal(12,2),
monto_desc decimal(12,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute,
sec_de integer,
sec_a integer,
ult_sec integer
);
revoke all on "inform70".cctb00004 from "public";
create cluster index "inform70".busca21 on "inform70".cctb00004 (tipo_cliente,
sec_cliente,num_doc,tipo_doc,aplica_a);
create index "inform70".busca41 on "inform70".cctb00004 (cod_cia,num_doc,fecha_orig);
create index "inform70".idx306_21 on "inform70".cctb00004 (fecha_orig,tipo_cliente,
sec_cliente,status_t,tipo_doc);
create index "inform70".busca31 on "inform70".cctb00004 (fecha_orig,tipo_cliente,
sec_cliente,cod_emp_sec,status_t,tipo_doc);
create index "inform70".cli_emp1 on "inform70".cctb00004 (cod_emp_sec,tipo_cliente,
sec_cliente);
create index "inform70".vendedor1 on "inform70".cctb00004 (cod_emp_sec,tipo_cliente,
sec_cliente,tipo_doc,num_doc,status_t);
create index "inform70".n_credito1 on "inform70".cctb00004 (sec_cliente,aplica_a,
tipo_doc);
create index "inform70".aplicacion1 on "inform70".cctb00004 (aplica_a);
create index "inform70".ccbusqueda1 on "inform70".cctb00004 (num_doc,tipo_doc);
create index "inform70".ccrp331 on "inform70".cctb00004 (cod_emp_sec,num_doc);
create index "inform70".busca51 on "inform70".cctb00004 (tipo_cliente,sec_cliente,
status_t);
{ TABLE "inform70".cctb00005 row size = 8 number of columns = 4 index size = 18 }
create table "inform70".cctb00005
(
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint
);
revoke all on "inform70".cctb00005 from "public";
create index "inform70".codigos on "inform70".cctb00005 (cod_n,cod_grupo,cod_tipo,
cod_sec);
{ TABLE "inform70".cctb00006 row size = 89 number of columns = 11 index size = 0
}
create table "inform70".cctb00006
(
sec_vend smallint,
nombre char(15),
apellido char(14),
comision_venta decimal(12,2),
comision_adicional decimal(12,2),
comision_cobros decimal(12,2),
comision_ck decimal(12,2),
comision_dev decimal(12,2),
neto decimal(12,2),
us_crea char(9),
fech_crea datetime year to minute
);
revoke all on "inform70".cctb00006 from "public";
{ TABLE "inform70".cctb00007 row size = 238 number of columns = 16 index size = 0
}
create table "inform70".cctb00007
(
fecha date,
nombre char(30),
codigo char(7),
rnc char(10),
zona_p char(10),
direc char(80),
barrio char(20),
ciudad char(20),
telefono char(8),
limite decimal(12,2),
t30 decimal(12,2),
t60 decimal(12,2),
t90 decimal(12,2),
t120 decimal(12,2),
t149 decimal(12,2),
t180 decimal(12,2)
);
revoke all on "inform70".cctb00007 from "public";
{ TABLE "inform70".cctbh0001 row size = 118 number of columns = 23 index size = 27
}
create table "inform70".cctbh0001
(
cuenta_no char(8),
cod_cia smallint,
tipo_doc char(2),
num_doc integer,
tipo_cliente smallint,
sec_cliente smallint,
cod_emp smallint,
cod_emp_sec smallint,
fecha_orig date,
fecha_ven date,
aplica_a integer,
banco smallint,
num_cheque char(12),
valor decimal(12,2) not null constraint "inform70".n260_73,
valor_efectivo decimal(12,2),
valor_cheque decimal(12,2),
costo decimal(12,2),
monto_desc decimal(12,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cctbh0001 from "public";
create cluster index "inform70".busca on "inform70".cctbh0001 (tipo_cliente,sec_cliente,
fecha_orig,num_doc,tipo_doc);
{ TABLE "inform70".cttb00001 row size = 86 number of columns = 9 index size = 12
}
create table "inform70".cttb00001
(
cod_prod integer,
descripcion char(30),
unidad_med char(4),
nomenclatura char(15),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cttb00001 from "public";
create index "inform70".ix539_1 on "inform70".cttb00001 (cod_prod);
{ TABLE "inform70".cttb00002 row size = 38 number of columns = 7 index size = 0 }
create table "inform70".cttb00002
(
ano smallint,
venta char(1),
nomenclatura char(10),
mes smallint,
costo decimal(12,4),
us_crea char(9),
fech_crea datetime year to minute
);
revoke all on "inform70".cttb00002 from "public";
{ TABLE "inform70".cttb00003 row size = 106 number of columns = 17 index size = 45
}
create table "inform70".cttb00003
(
num_doc integer,
fecha date,
departamento smallint,
emp_no smallint,
cod_mq smallint,
detalle char(30),
h_directa decimal(8,2),
h_indirecta decimal(8,2),
e_directa decimal(8,2),
e_indirecta decimal(8,2),
cod_prod smallint,
cantidad decimal(12,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cttb00003 from "public";
create index "inform70".ix1416_1 on "inform70".cttb00003 (fecha);
create index "inform70".prod1 on "inform70".cttb00003 (departamento,fecha);
create index "inform70".ctidx1 on "inform70".cttb00003 (departamento,cod_prod,
fecha);
{ TABLE "inform70".cttb00006 row size = 52 number of columns = 11 index size = 48
}
create table "inform70".cttb00006
(
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cod_prod integer,
cantidad decimal(12,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cttb00006 from "public";
create index "inform70".ix646_1 on "inform70".cttb00006 (cod_n);
create index "inform70".ix646_2 on "inform70".cttb00006 (cod_grupo);
create index "inform70".ix646_3 on "inform70".cttb00006 (cod_tipo);
create index "inform70".ix646_4 on "inform70".cttb00006 (cod_sec);
create index "inform70".ix646_5 on "inform70".cttb00006 (cod_prod);
{ TABLE "inform70".cttb00007 row size = 56 number of columns = 7 index size = 10
}
create table "inform70".cttb00007
(
codigo_unidad char(3) not null constraint "inform70".n265_74,
descripcion char(20),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cttb00007 from "public";
create index "inform70".ix547_1 on "inform70".cttb00007 (codigo_unidad);
{ TABLE "inform70".cttb00008 row size = 73 number of columns = 12 index size = 9
}
create table "inform70".cttb00008
(
ano smallint,
departamento smallint,
cod_prod integer,
fact_hombre decimal(13,8),
valor_labor decimal(13,8),
hora_hombre decimal(13,8),
valor_real decimal(13,8),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cttb00008 from "public";
create index "inform70".ix584_2 on "inform70".cttb00008 (departamento);
{ TABLE "inform70".cttb00010 row size = 36 number of columns = 5 index size = 0 }
create table "inform70".cttb00010
(
ult_num integer,
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cttb00010 from "public";
{ TABLE "inform70".cttb00011 row size = 51 number of columns = 11 index size = 36
}
create table "inform70".cttb00011
(
cod_prod integer,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cantidad decimal(10,4),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cttb00011 from "public";
create index "inform70".ct11 on "inform70".cttb00011 (cod_n,cod_grupo,cod_tipo,
cod_sec,cod_prod);
create index "inform70".ct11_1 on "inform70".cttb00011 (cod_prod);
{ TABLE "inform70".cttb00013 row size = 68 number of columns = 15 index size = 39
}
create table "inform70".cttb00013
(
fecha_lq date,
fecha date,
tipo_lq char(1),
num_oc integer,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cantidad decimal(12,2),
costo_lq decimal(12,4),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cttb00013 from "public";
create index "inform70".ix630_1 on "inform70".cttb00013 (cod_n);
create index "inform70".ix633_1 on "inform70".cttb00013 (num_oc);
create cluster index "inform70".cttb13_1 on "inform70".cttb00013 (cod_n,cod_grupo,
cod_tipo,cod_sec);
{ TABLE "inform70".cttb00014 row size = 52 number of columns = 9 index size = 33
}
create table "inform70".cttb00014
(
cod_prod integer,
ano char(4),
mes smallint,
cantidad decimal(15,5),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cttb00014 from "public";
create index "inform70".ix640_1 on "inform70".cttb00014 (cod_prod);
create index "inform70".ct14 on "inform70".cttb00014 (cod_prod,mes,ano);
{ TABLE "inform70".cttb00015 row size = 58 number of columns = 12 index size = 39
}
create table "inform70".cttb00015
(
cod_n integer,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
mes smallint,
ano char(4),
cantidad decimal(15,5),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cttb00015 from "public";
create index "inform70".ix641_1 on "inform70".cttb00015 (cod_n);
create index "inform70".ix641_2 on "inform70".cttb00015 (cod_grupo);
create index "inform70".ix641_3 on "inform70".cttb00015 (cod_tipo);
create index "inform70".ix641_4 on "inform70".cttb00015 (cod_sec);
{ TABLE "inform70".cttb00021 row size = 53 number of columns = 8 index size = 0 }
create table "inform70".cttb00021
(
ventas char(1),
mes smallint,
pila char(10),
material decimal(12,3),
labor decimal(12,3),
gasto decimal(12,3),
us_crea char(9),
fech_crea datetime year to minute
);
revoke all on "inform70".cttb00021 from "public";
{ TABLE "inform70".cttb00022 row size = 49 number of columns = 11 index size = 9
}
create table "inform70".cttb00022
(
cod_prod smallint,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cant_prop decimal(10,8),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cttb00022 from "public";
create index "inform70".ix862_2 on "inform70".cttb00022 (cod_prod);
{ TABLE "inform70".cttb00023 row size = 55 number of columns = 11 index size = 0
}
create table "inform70".cttb00023
(
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
costo_imp decimal(12,4),
costo_s_imp decimal(12,4),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cttb00023 from "public";
{ TABLE "inform70".cttb00026 row size = 54 number of columns = 10 index size = 27
}
create table "inform70".cttb00026
(
mes_ini integer,
mes_fin integer,
ano char(4),
cod_prod smallint,
costo_st decimal(12,4),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cttb00026 from "public";
create cluster index "inform70".costo_prod on "inform70".cttb00026 (cod_prod,mes_ini,
mes_fin,ano);
{ TABLE "inform70".cttb00027 row size = 37 number of columns = 6 index size = 0 }
create table "inform70".cttb00027
(
ventas char(1),
mes smallint,
pila char(10),
primo decimal(12,3),
us_crea char(9),
fech_crea datetime year to minute
);
revoke all on "inform70".cttb00027 from "public";
{ TABLE "inform70".cttb00028 row size = 73 number of columns = 12 index size = 0
}
create table "inform70".cttb00028
(
ano smallint,
departamento smallint,
cod_prod integer,
fact_hombre decimal(13,8),
valor_labor decimal(13,8),
hora_hombre decimal(13,8),
valor_real decimal(13,8),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cttb00028 from "public";
{ TABLE "inform70".cttb00029 row size = 51 number of columns = 9 index size = 0 }
create table "inform70".cttb00029
(
cod_prod integer,
ano char(4),
departamento smallint,
gasto_ind decimal(12,5),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cttb00029 from "public";
{ TABLE "inform70".cttb00031 row size = 106 number of columns = 17 index size = 12
}
create table "inform70".cttb00031
(
num_doc integer,
fecha date,
departamento smallint,
emp_no smallint,
cod_mq smallint,
detalle char(30),
h_directa decimal(8,2),
h_indirecta decimal(8,2),
e_directa decimal(8,2),
e_indirecta decimal(8,2),
cod_prod smallint,
cantidad decimal(12,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cttb00031 from "public";
create index "inform70".ix1816_1 on "inform70".cttb00031 (fecha);
{ TABLE "inform70".cttb00032 row size = 144 number of columns = 29 index size = 0
}
create table "inform70".cttb00032
(
ano smallint,
mes smallint not null constraint "inform70".n280_75,
tipo_lq char(1),
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cod_sp smallint,
cod_sp_sec smallint,
reporte_ent integer,
num_oc integer,
tipo char(1),
fob decimal(12,2),
flete decimal(12,2),
cost_flete decimal(12,2),
seguro decimal(12,2),
impuesto_c decimal(12,2),
gasto_ad decimal(12,2),
prima_d decimal(12,2),
cost_planta decimal(12,2),
unid_rec decimal(12,2),
cost_uni decimal(12,4),
precio_std decimal(12,4),
cost_std decimal(12,3),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cttb00032 from "public";
{ TABLE "inform70".cttb00033 row size = 40 number of columns = 5 index size = 0 }
create table "inform70".cttb00033
(
cuenta_m char(8),
cuenta_l char(8),
cuenta_g char(8),
us_crea char(9),
fech_crea datetime year to minute
);
revoke all on "inform70".cttb00033 from "public";
{ TABLE "inform70".cttb00034 row size = 49 number of columns = 9 index size = 22
}
create table "inform70".cttb00034
(
fecha date,
cod_prod smallint,
costo_lab decimal(8,4),
costo_ga decimal(8,4),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cttb00034 from "public";
create index "inform70".ctrp03 on "inform70".cttb00034 (cod_prod);
create index "inform70".ctrp03_1 on "inform70".cttb00034 (fecha,status_t);
{ TABLE "inform70".cttb00035 row size = 65 number of columns = 14 index size = 0
}
create table "inform70".cttb00035
(
ventas smallint,
fecha_lq date,
num_oc integer,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cantidad decimal(12,2),
costo_lq decimal(12,4),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cttb00035 from "public";
{ TABLE "inform70".cttb00036 row size = 65 number of columns = 14 index size = 27
}
create table "inform70".cttb00036
(
ventas smallint,
fecha_lq date,
num_oc integer,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cantidad decimal(12,2),
costo_lq decimal(12,4),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cttb00036 from "public";
create index "inform70".costos on "inform70".cttb00036 (fecha_lq,ventas,cod_n,
cod_grupo,cod_tipo,cod_sec);
{ TABLE "inform70".cttb00037 row size = 46 number of columns = 8 index size = 9 }
create table "inform70".cttb00037
(
cod_prod smallint,
fecha date,
precio decimal(12,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cttb00037 from "public";
create index "inform70".ix532_1 on "inform70".cttb00037 (cod_prod);
{ TABLE "usainf02".cttb00038 row size = 56 number of columns = 10 index size = 21
}
create table "usainf02".cttb00038
(
ventas char(1) not null constraint "inform70".n286_76,
nomenclatura char(10) not null constraint "inform70".n286_77,
ano smallint not null constraint "inform70".n286_78,
mes smallint not null constraint "inform70".n286_79,
costo_st decimal(12,7) not null constraint "inform70".n286_80,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "usainf02".cttb00038 from "public";
create index "inform70".ix507_2 on "usainf02".cttb00038 (nomenclatura);
{ TABLE "inform70".cttb00039 row size = 27 number of columns = 5 index size = 0 }
create table "inform70".cttb00039
(
ano smallint,
mes smallint,
valor decimal(12,2),
us_crea char(9),
fech_crea datetime year to minute
);
revoke all on "inform70".cttb00039 from "public";
{ TABLE "inform70".cttb00040 row size = 32 number of columns = 8 index size = 12
}
create table "inform70".cttb00040
(
ano smallint,
mes smallint not null constraint "inform70".n288_81,
tipo_lq char(1),
num_oc integer,
tipo char(2),
impuesto_c decimal(12,2),
gasto_ad decimal(12,2),
prima_d decimal(12,2)
);
revoke all on "inform70".cttb00040 from "public";
create index "inform70".ix571_4 on "inform70".cttb00040 (num_oc);
{ TABLE "inform70".cttb00041 row size = 51 number of columns = 11 index size = 0
}
create table "inform70".cttb00041
(
cod_prod integer,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cantidad decimal(10,4),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cttb00041 from "public";
{ TABLE "inform70".print row size = 220 number of columns = 11 index size = 0 }
create table "inform70".print
(
nombre_prt char(20),
referencia char(20),
negrita_on char(20),
negrita_off char(20),
doble_on char(20),
doble_off char(20),
doce char(20),
normal char(20),
comprime_on char(20),
comprime_off char(20),
ubicacion char(20)
);
revoke all on "inform70".print from "public";
{ TABLE "inform70".printer_uso row size = 29 number of columns = 2 index size = 0
}
create table "inform70".printer_uso
(
nombre_prt char(20),
usuario char(9)
);
revoke all on "inform70".printer_uso from "public";
{ TABLE "inform70".printers row size = 220 number of columns = 11 index size = 0
}
create table "inform70".printers
(
nombre_prt char(20),
referencia char(20),
negrita_on char(20),
negrita_off char(20),
doble_on char(20),
doble_off char(20),
doce char(20),
normal char(20),
comprime_on char(20),
comprime_off char(20),
ubicacion char(20)
);
revoke all on "inform70".printers from "public";
{ TABLE "inform70".prtb00001 row size = 13 number of columns = 4 index size = 0 }
create table "inform70".prtb00001
(
ano char(4),
mes char(2),
tasa decimal(8,2),
concepto smallint
);
revoke all on "inform70".prtb00001 from "public";
{ TABLE "inform70".prtb00002 row size = 49 number of columns = 10 index size = 9
}
create table "inform70".prtb00002
(
num_semana smallint,
ano char(4),
mes smallint,
semana_del date,
semana_al date,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".prtb00002 from "public";
create index "inform70".ix1523_1 on "inform70".prtb00002 (num_semana);
{ TABLE "inform70".prtb00003 row size = 51 number of columns = 11 index size = 55
}
create table "inform70".prtb00003
(
num_semana smallint,
departamento smallint,
num_emp smallint,
fecha date,
hn_ind decimal(5,2),
he_ind decimal(5,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".prtb00003 from "public";
create index "inform70".ix1524_1 on "inform70".prtb00003 (num_semana);
create index "inform70".prtb3 on "inform70".prtb00003 (num_semana,departamento,
num_emp,status_t);
create index "inform70".prtb31 on "inform70".prtb00003 (departamento,num_emp);
create index "inform70".prod2 on "inform70".prtb00003 (departamento,num_emp,fecha);
{ TABLE "inform70".prtb00004 row size = 37 number of columns = 6 index size = 0 }
create table "inform70".prtb00004
(
tipo char(3),
departamento smallint,
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".prtb00004 from "public";
{ TABLE "inform70".prtb00005 row size = 75 number of columns = 7 index size = 9 }
create table "inform70".prtb00005
(
codigo smallint,
descripcion char(40),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".prtb00005 from "public";
create index "inform70".ix1564_1 on "inform70".prtb00005 (codigo);
{ TABLE "inform70".prtb00006 row size = 52 number of columns = 11 index size = 12
}
create table "inform70".prtb00006
(
cod_prod integer,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
fact_conv decimal(12,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".prtb00006 from "public";
create index "inform70".ix1633_1 on "inform70".prtb00006 (cod_prod);
{ TABLE "inform70".intb00009 row size = 32 number of columns = 2 index size = 9 }
create table "inform70".intb00009
(
cod_bodega smallint,
descripcion char(30)
);
revoke all on "inform70".intb00009 from "public";
create unique index "inform70".ix172_1 on "inform70".intb00009 (cod_bodega);
{ TABLE "inform70".cotb00015 row size = 68 number of columns = 15 index size = 90
}
create table "inform70".cotb00015
(
num_oc integer,
num_req integer,
tipo char(2),
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cantidad decimal(10,2),
precio decimal(11,3),
cod_mon integer,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00015 from "public";
create index "inform70".clave15 on "inform70".cotb00015 (num_oc,tipo,num_req,cod_n,
cod_grupo,cod_tipo,cod_sec);
create cluster index "inform70".cotb15_1 on "inform70".cotb00015 (num_oc,cod_n,
cod_grupo,cod_tipo,cod_sec);
create index "inform70".cotb15 on "inform70".cotb00015 (num_oc,tipo);
create index "inform70".cotb15_2 on "inform70".cotb00015 (cod_n,cod_grupo,cod_tipo,
cod_sec);
{ TABLE "inform70".cotb00036 row size = 55 number of columns = 7 index size = 9 }
create table "inform70".cotb00036
(
priori_req smallint not null constraint "inform70".n302_84,
desc_priori char(20) not null constraint "inform70".n302_85,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00036 from "public";
create unique index "inform70".ix459_1 on "inform70".cotb00036 (priori_req);
{ TABLE "inform70".cotb00037 row size = 68 number of columns = 16 index size = 33
}
create table "inform70".cotb00037
(
num_oc integer,
tipo char(2),
cod_emb integer,
cod_st smallint,
fecha_salida date,
fecha_confirm date,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cantidad decimal(12,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00037 from "public";
create unique index "inform70".cotb37 on "inform70".cotb00037 (num_oc,tipo,cod_emb,
cod_n,cod_grupo,cod_tipo,cod_sec);
{ TABLE "inform70".istb00003 row size = 101 number of columns = 25 index size = 0
}
create table "inform70".istb00003
(
num_doc integer not null constraint "inform70".n304_86,
fecha date,
fact_no char(10),
conduce_no char(10),
orden_compra integer,
tipo char(2),
cod_sp smallint,
cod_sp_sec smallint,
cod_mov smallint not null constraint "inform70".n304_87,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cantidad_1 decimal(10,2),
cantidad_2 decimal(10,2),
depto_de smallint,
depto_a smallint,
cond_recep char(1),
uso_tiempo char(1),
bodega smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".istb00003 from "public";
{ TABLE "inform70".istb00005 row size = 88 number of columns = 11 index size = 0
}
create table "inform70".istb00005
(
cod_mov smallint not null constraint "inform70".n305_88,
descrip_mov char(40),
status_mov char(1),
cuenta_1 char(4),
cuenta_2 char(4),
cuenta_3 char(4),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".istb00005 from "public";
{ TABLE "inform70".istb00006 row size = 101 number of columns = 25 index size = 34
}
create table "inform70".istb00006
(
num_doc integer not null constraint "inform70".n306_89,
fecha date,
fact_no char(10),
conduce_no char(10),
orden_compra integer,
tipo char(2),
cod_sp smallint,
cod_sp_sec smallint,
cod_mov smallint not null constraint "inform70".n306_90,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cantidad_1 decimal(10,2),
cantidad_2 decimal(10,2),
depto_de smallint,
depto_a smallint,
cond_recep char(1),
uso_tiempo char(1),
bodega smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".istb00006 from "public";
create cluster index "inform70".istb06_1 on "inform70".istb00006 (cod_n,cod_grupo,
cod_tipo,cod_sec,fecha,orden_compra,status_t,cod_mov);
{ TABLE "inform70".istb00007 row size = 39 number of columns = 7 index size = 0 }
create table "inform70".istb00007
(
num_salida integer not null constraint "inform70".n307_91,
cod_mov smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".istb00007 from "public";
{ TABLE "inform70".istb00008 row size = 20 number of columns = 4 index size = 0 }
create table "inform70".istb00008
(
cod_form smallint,
cod_mov smallint,
us_crea char(9),
fech_crea datetime year to minute
);
revoke all on "inform70".istb00008 from "public";
{ TABLE "inform70".istb00009 row size = 32 number of columns = 2 index size = 0 }
create table "inform70".istb00009
(
cod_bodega smallint,
descripcion char(30)
);
revoke all on "inform70".istb00009 from "public";
{ TABLE "inform70".istb00011 row size = 59 number of columns = 12 index size = 0
}
create table "inform70".istb00011
(
fecha date,
bodega smallint,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cantidad decimal(10,2),
balance decimal(12,2),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".istb00011 from "public";
{ TABLE "inform70".istb00013 row size = 72 number of columns = 13 index size = 0
}
create table "inform70".istb00013
(
mes_ini char(10),
mes_fin char(10),
ano char(4),
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
costo_st decimal(12,4),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".istb00013 from "public";
{ TABLE "inform70".istb00002 row size = 56 number of columns = 13 index size = 18
}
create table "inform70".istb00002
(
cod_n smallint not null constraint "inform70".n312_92,
cod_grupo smallint not null constraint "inform70".n312_93,
cod_tipo smallint not null constraint "inform70".n312_94,
cod_sec smallint not null constraint "inform70".n312_95,
pto_reorden decimal(10,2),
existencia decimal(10,2),
bodega smallint,
categoria char(1),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".istb00002 from "public";
create unique index "inform70".suministro on "inform70".istb00002 (cod_n,cod_grupo,
cod_tipo,cod_sec);
{ TABLE "inform70".iptb00004 row size = 58 number of columns = 14 index size = 37
}
create table "inform70".iptb00004
(
ventas char(1),
mes_ini char(2),
mes_fin char(2),
ano char(4),
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
costo_st decimal(12,7),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".iptb00004 from "public";
create index "inform70".ix364_1 on "inform70".iptb00004 (mes_ini);
create index "inform70".ix364_2 on "inform70".iptb00004 (mes_fin);
create index "inform70".ix364_3 on "inform70".iptb00004 (ano);
create index "inform70".ix436_1 on "inform70".iptb00004 (ventas);
{ TABLE "inform70".cotb00014 row size = 130 number of columns = 22 index size = 112
}
create table "inform70".cotb00014
(
num_oc serial not null constraint "inform70".n314_96,
tipo char(2),
fech_oc date,
num_pr char(10),
cod_sp smallint,
cod_sp_sec smallint,
term_sp smallint,
via char(2),
enviada char(1),
fech_enviada date,
pago char(1),
fech_pago date,
cierre char(1),
cod_pt char(4),
c_flete decimal(12,2),
otros_g decimal(12,2),
detalle char(40),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cotb00014 from "public";
create index "inform70".ix250_3 on "inform70".cotb00014 (fech_oc);
create index "inform70".clave on "inform70".cotb00014 (num_oc,tipo);
create cluster index "inform70".cotb14_1 on "inform70".cotb00014 (fech_oc,status_t,
num_oc,tipo,cod_sp,cod_sp_sec);
create index "inform70".suplidor on "inform70".cotb00014 (cod_sp,cod_sp_sec);
create index "inform70".tipo_sp on "inform70".cotb00014 (tipo,cod_sp,cod_sp_sec);
create unique index "inform70".ix702_1 on "inform70".cotb00014 (num_oc);
create index "inform70".ix703_5 on "inform70".cotb00014 (cod_sp);
create index "inform70".ix703_6 on "inform70".cotb00014 (cod_sp_sec);
{ TABLE "inform70".vetb00042 row size = 77 number of columns = 12 index size = 63
}
create table "inform70".vetb00042
(
factura integer,
cod_mov smallint,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
serie char(30),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00042 from "public";
create unique index "inform70".series on "inform70".vetb00042 (cod_n,cod_grupo,
cod_tipo,cod_sec,serie);
{ TABLE "inform70".iptb00014 row size = 55 number of columns = 11 index size = 18
}
create table "inform70".iptb00014
(
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
precio_min decimal(12,2),
precio_lista decimal(12,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".iptb00014 from "public";
create unique index "inform70".minimo on "inform70".iptb00014 (cod_n,cod_grupo,
cod_tipo,cod_sec);
{ TABLE "inform70".cgtb00001 row size = 164 number of columns = 17 index size = 64
}
create table "inform70".cgtb00001
(
cuenta_no char(8),
descripcion char(50),
descrip_ing char(50),
analitico char(1),
cata char(1),
depto char(1),
nivel smallint,
ref char(1),
origen char(1),
estado_a char(4),
estado_m char(4),
aplica_a char(8),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cgtb00001 from "public";
create index "inform70".ix815_1 on "inform70".cgtb00001 (cuenta_no);
create cluster index "inform70".cgtb01_1 on "inform70".cgtb00001 (status_t,cuenta_no);
create index "inform70".ix1291_7 on "inform70".cgtb00001 (nivel);
create index "inform70".ix1291_12 on "inform70".cgtb00001 (aplica_a);
{ TABLE "inform70".cgtb00002 row size = 43 number of columns = 7 index size = 0 }
create table "inform70".cgtb00002
(
cuenta_no char(8),
departamento smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cgtb00002 from "public";
{ TABLE "inform70".cgtb00003 row size = 68 number of columns = 8 index size = 0 }
create table "inform70".cgtb00003
(
tipo smallint,
clave char(3),
descripcion char(30),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cgtb00003 from "public";
{ TABLE "inform70".cgtb00004 row size = 203 number of columns = 18 index size = 213
}
create table "inform70".cgtb00004
(
fecha date,
tipo smallint,
ref char(14),
cuenta_no char(8),
departamento smallint,
num_doc char(12),
cod_aux smallint,
cod_sec smallint,
detalles char(30),
detalle_1 char(40),
detalle_2 char(40),
debito decimal(12,2),
credito decimal(12,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cgtb00004 from "public";
create index "inform70".idx_4 on "inform70".cgtb00004 (ref);
create index "inform70".idx_41 on "inform70".cgtb00004 (cuenta_no);
create index "inform70".idx_42 on "inform70".cgtb00004 (status_t);
create index "inform70".idx_43 on "inform70".cgtb00004 (fecha);
create cluster index "inform70".cgtb04_1 on "inform70".cgtb00004 (cuenta_no,status_t,
fecha,cod_sec,num_doc);
create index "inform70".auxiliar on "inform70".cgtb00004 (cod_aux,cod_sec,status_t);
create index "inform70".auxiliari1 on "inform70".cgtb00004 (cod_aux,cod_sec,num_doc,
status_t);
create index "inform70".idx20 on "inform70".cgtb00004 (fecha,ref);
create index "inform70".cgtb4_dep on "inform70".cgtb00004 (departamento);
create index "inform70".depto on "inform70".cgtb00004 (departamento,fecha);
{ TABLE "inform70".cgtb00005 row size = 94 number of columns = 13 index size = 85
}
create table "inform70".cgtb00005
(
cuenta_no char(8),
cheque_no integer,
num_emp smallint,
fecha date,
portador char(30),
tasa decimal(8,2),
monto decimal(12,2),
status_impresion char(1),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cgtb00005 from "public";
create index "inform70".ix840_1 on "inform70".cgtb00005 (cuenta_no);
create index "inform70".ix921_2 on "inform70".cgtb00005 (cheque_no);
create index "inform70".cgtb05_5 on "inform70".cgtb00005 (cuenta_no,status_t,fecha,
cheque_no);
create index "inform70".idx_44 on "inform70".cgtb00005 (cuenta_no,cheque_no);
{ TABLE "inform70".cgtb00006 row size = 58 number of columns = 10 index size = 0
}
create table "inform70".cgtb00006
(
numero serial not null constraint "inform70".n322_97,
fecha date,
documento char(8),
tipo smallint,
monto decimal(12,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cgtb00006 from "public";
{ TABLE "inform70".cgtb00007 row size = 169 number of columns = 22 index size = 0
}
create table "inform70".cgtb00007
(
fecha date,
numero integer,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
descripcion char(30),
unidad char(3),
monto decimal(12,2),
valor decimal(12,2),
cuenta_no char(8),
departamento_ctrl smallint,
departamento_req smallint,
preparado_por char(20),
recibido_por char(20),
autorizado_por char(20),
status_volante char(1),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cgtb00007 from "public";
{ TABLE "inform70".cgtb00008 row size = 39 number of columns = 7 index size = 0 }
create table "inform70".cgtb00008
(
numero integer,
departamento smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cgtb00008 from "public";
{ TABLE "inform70".cgtb00009 row size = 43 number of columns = 7 index size = 0 }
create table "inform70".cgtb00009
(
cod_mov smallint,
cuenta_no char(8),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cgtb00009 from "public";
{ TABLE "inform70".cgtb00010 row size = 43 number of columns = 7 index size = 0 }
create table "inform70".cgtb00010
(
cod_mov smallint,
cuenta_no char(8),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cgtb00010 from "public";
{ TABLE "inform70".cgtb00011 row size = 104 number of columns = 8 index size = 9
}
create table "inform70".cgtb00011
(
entrada_no smallint,
descripcion char(60),
prog_4gl char(9),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cgtb00011 from "public";
create index "inform70".ix748_1 on "inform70".cgtb00011 (entrada_no);
{ TABLE "inform70".cgtb00012 row size = 163 number of columns = 12 index size = 0
}
create table "inform70".cgtb00012
(
cheque_no integer,
cuenta_no char(8),
nombre_bco char(40),
direccion char(50),
cuenta_bank char(14),
codigo_1 char(7),
codigo_2 char(7),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cgtb00012 from "public";
{ TABLE "inform70".cgtb00013 row size = 48 number of columns = 6 index size = 0 }
create table "inform70".cgtb00013
(
cuenta_no char(8),
cuenta_eq char(8),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cgtb00013 from "public";
{ TABLE "inform70".cgtb00014 row size = 41 number of columns = 6 index size = 0 }
create table "inform70".cgtb00014
(
cuenta_no char(8),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cgtb00014 from "public";
{ TABLE "inform70".cgtb00015 row size = 82 number of columns = 11 index size = 0
}
create table "inform70".cgtb00015
(
entrada_no char(6),
detalle char(30),
secuencia smallint,
cuenta_no char(8),
departamento smallint,
origen char(1),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cgtb00015 from "public";
{ TABLE "inform70".cgtb00016 row size = 37 number of columns = 6 index size = 0 }
create table "inform70".cgtb00016
(
cuenta_no char(8),
estado_a char(4),
estado_m char(4),
balance_ant decimal(12,2),
actividad decimal(12,2),
balance_act decimal(12,2)
);
revoke all on "inform70".cgtb00016 from "public";
{ TABLE "inform70".cgtb00017 row size = 104 number of columns = 16 index size = 33
}
create table "inform70".cgtb00017
(
tipo char(2),
num_oc integer,
fecha date,
liquidada char(12),
cerrada char(12),
pagada char(12),
rep_entrada integer,
factura char(12),
prima_us decimal(8,2),
cod_sp smallint,
cod_sp_sec smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cgtb00017 from "public";
create index "inform70".ix1259_2 on "inform70".cgtb00017 (num_oc);
create index "inform70".ix1259_5 on "inform70".cgtb00017 (rep_entrada);
create index "inform70".ix1263_1 on "inform70".cgtb00017 (tipo);
{ TABLE "inform70".cgtb00018 row size = 70 number of columns = 15 index size = 33
}
create table "inform70".cgtb00018
(
tipo char(2),
num_oc integer,
rep_entrada integer,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cantidad_oc decimal(12,2),
fob decimal(10,2),
costo_flete decimal(10,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cgtb00018 from "public";
create index "inform70".ix1260_1 on "inform70".cgtb00018 (tipo);
create index "inform70".ix1260_2 on "inform70".cgtb00018 (num_oc);
create index "inform70".ix1262_3 on "inform70".cgtb00018 (rep_entrada);
{ TABLE "inform70".cgtb00019 row size = 205 number of columns = 19 index size = 0
}
create table "inform70".cgtb00019
(
secuencia smallint,
fecha date,
tipo smallint,
ref char(14),
cuenta_no char(8),
departamento smallint,
num_doc char(12),
cod_aux smallint,
cod_sec smallint,
detalles char(30),
detalle_1 char(40),
detalle_2 char(40),
debito decimal(12,2),
credito decimal(12,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cgtb00019 from "public";
{ TABLE "inform70".cgtb00020 row size = 18 number of columns = 2 index size = 0 }
create table "inform70".cgtb00020
(
secuencia integer,
ref char(14)
);
revoke all on "inform70".cgtb00020 from "public";
{ TABLE "inform70".cgtb00021 row size = 55 number of columns = 8 index size = 63
}
create table "inform70".cgtb00021
(
cuenta_no char(8),
cheque_no integer,
factura char(10),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cgtb00021 from "public";
create index "inform70".cgtb21_1 on "inform70".cgtb00021 (cuenta_no,cheque_no,
factura);
create index "inform70".cgtb21_2 on "inform70".cgtb00021 (cuenta_no,cheque_no);
{ TABLE "inform70".cgtb00022 row size = 60 number of columns = 10 index size = 0
}
create table "inform70".cgtb00022
(
referencia char(4),
departamento smallint,
cuenta_no char(8),
estado_m char(4),
balance_ant decimal(12,2),
actividad decimal(12,2),
balance decimal(12,2),
tasa decimal(8,2),
us_crea char(9),
fech_crea datetime year to minute
);
revoke all on "inform70".cgtb00022 from "public";
{ TABLE "inform70".cgtb00030 row size = 31 number of columns = 3 index size = 0 }
create table "inform70".cgtb00030
(
id_n smallint,
usuario char(9),
ocupacion char(20)
);
revoke all on "inform70".cgtb00030 from "public";
{ TABLE "inform70".cgtb00031 row size = 101 number of columns = 7 index size = 18
}
create table "inform70".cgtb00031
(
cod_cro char(8),
beneficiario char(60),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cgtb00031 from "public";
create unique index "inform70".cronologico on "inform70".cgtb00031 (cod_cro);
{ TABLE "inform70".cgtb00032 row size = 186 number of columns = 14 index size = 0
}
create table "inform70".cgtb00032
(
cheque_no integer not null constraint "inform70".n341_98,
banco char(8) not null constraint "inform70".n341_99,
fecha date,
cod_cro char(8) not null constraint "inform70".n341_100,
recibido_por char(60) not null constraint "inform70".n341_101,
cedula char(20) not null constraint "inform70".n341_102,
direccion char(40),
fecha_ent date not null constraint "inform70".n341_103,
hora_ent char(5) not null constraint "inform70".n341_104,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cgtb00032 from "public";
{ TABLE "inform70".cgtb00033 row size = 253 number of columns = 16 index size = 0
}
create table "inform70".cgtb00033
(
cheque_no integer not null constraint "inform70".n342_105,
banco char(8) not null constraint "inform70".n342_106,
fecha date,
monto decimal(12,2),
portador char(60),
cod_cro char(8) not null constraint "inform70".n342_107,
recibido_por char(60) not null constraint "inform70".n342_108,
cedula char(20) not null constraint "inform70".n342_109,
direccion char(40),
fecha_ent date not null constraint "inform70".n342_110,
hora_ent char(5) not null constraint "inform70".n342_111,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cgtb00033 from "public";
{ TABLE "inform70".cgtb00055 row size = 94 number of columns = 13 index size = 0
}
create table "inform70".cgtb00055
(
cuenta_no char(8),
cheque_no integer,
num_emp smallint,
fecha date,
portador char(30),
tasa decimal(8,2),
monto decimal(12,2),
status_impresion char(1),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cgtb00055 from "public";
{ TABLE "inform70".cptb00001 row size = 120 number of columns = 17 index size = 159
}
create table "inform70".cptb00001
(
tipo_doc char(2),
num_doc char(10),
cod_sp smallint,
cod_sp_sec smallint,
fecha_orig date,
fecha_proc date,
orden_no integer,
tipo char(2),
aplica_a char(10),
cta_ctble char(10),
valor decimal(12,2) not null constraint "inform70".n344_112,
detalle char(30),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cptb00001 from "public";
create index "inform70".cp_1 on "inform70".cptb00001 (cod_sp,cod_sp_sec,tipo_doc,
num_doc);
create index "inform70".cp_2 on "inform70".cptb00001 (cod_sp,cod_sp_sec,tipo_doc,
aplica_a);
create index "inform70".cp_5 on "inform70".cptb00001 (cod_sp,cod_sp_sec);
create index "inform70".cp_6 on "inform70".cptb00001 (cod_sp);
create index "inform70".cp_7 on "inform70".cptb00001 (cod_sp_sec);
create index "inform70".cp_8 on "inform70".cptb00001 (tipo);
create index "inform70".cp_9 on "inform70".cptb00001 (num_doc);
create index "inform70".cp_10 on "inform70".cptb00001 (fecha_orig);
create index "inform70".cptb_1 on "inform70".cptb00001 (num_doc,cod_sp,cod_sp_sec);
{ TABLE "inform70".cptb00002 row size = 66 number of columns = 11 index size = 36
}
create table "inform70".cptb00002
(
cod_sp smallint,
cod_sp_sec smallint,
cuenta_no char(8),
num_doc char(10),
fecha date,
valor decimal(12,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cptb00002 from "public";
create index "inform70".ix618_1 on "inform70".cptb00002 (cod_sp);
create index "inform70".ix618_2 on "inform70".cptb00002 (cod_sp_sec);
create index "inform70".ix618_3 on "inform70".cptb00002 (cuenta_no);
{ TABLE "inform70".cptb00003 row size = 121 number of columns = 17 index size = 153
}
create table "inform70".cptb00003
(
fecha date,
cod_sp smallint,
cod_sp_sec smallint,
factura char(10),
cuenta_no char(8),
departamento smallint,
num_doc char(12),
cod_aux smallint,
cod_sec smallint,
detalles char(30),
debito decimal(12,2),
credito decimal(12,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cptb00003 from "public";
create index "inform70".ix399_4 on "inform70".cptb00003 (cuenta_no);
create index "inform70".ix399_5 on "inform70".cptb00003 (departamento);
create index "inform70".ix399_6 on "inform70".cptb00003 (num_doc);
create index "inform70".ix399_7 on "inform70".cptb00003 (cod_aux);
create index "inform70".ix399_8 on "inform70".cptb00003 (cod_sec);
create index "inform70".contab on "inform70".cptb00003 (cod_sp,cod_sp_sec,factura,
cuenta_no);
create index "inform70".cprp11 on "inform70".cptb00003 (cod_sp,cod_sp_sec,factura,
cuenta_no,fecha);
{ TABLE "inform70".cptb00005 row size = 121 number of columns = 17 index size = 0
}
create table "inform70".cptb00005
(
fecha date,
cod_sp smallint,
cod_sp_sec smallint,
factura char(10),
cuenta_no char(8),
departamento smallint,
num_doc char(12),
cod_aux smallint,
cod_sec smallint,
detalles char(30),
debito decimal(12,2),
credito decimal(12,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cptb00005 from "public";
{ TABLE "inform70".cptb00006 row size = 120 number of columns = 17 index size = 0
}
create table "inform70".cptb00006
(
tipo_doc char(2),
num_doc char(10),
cod_sp smallint,
cod_sp_sec smallint,
fecha_orig date,
fecha_proc date,
orden_no integer,
tipo char(2),
aplica_a char(10),
cta_ctble char(10),
valor decimal(12,2) not null constraint "inform70".n348_113,
detalle char(30),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cptb00006 from "public";
{ TABLE "inform70".tetb00001 row size = 71 number of columns = 11 index size = 12
}
create table "inform70".tetb00001
(
num_doc serial not null constraint "inform70".n349_114,
cuenta_no char(8),
cta_banco char(13),
procedencia smallint,
fecha date,
monto decimal(12,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".tetb00001 from "public";
create unique index "inform70".ix1278_1 on "inform70".tetb00001 (num_doc);
{ TABLE "inform70".tetb00002 row size = 65 number of columns = 7 index size = 9 }
create table "inform70".tetb00002
(
procedencia smallint not null constraint "inform70".n350_115,
descripcion char(30),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".tetb00002 from "public";
create unique index "inform70".ix367_1 on "inform70".tetb00002 (procedencia);
{ TABLE "inform70".tetb00003 row size = 67 number of columns = 8 index size = 0 }
create table "inform70".tetb00003
(
codigo smallint,
descripcion char(30),
tipo char(2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".tetb00003 from "public";
{ TABLE "inform70".tetb00004 row size = 51 number of columns = 9 index size = 0 }
create table "inform70".tetb00004
(
codigo integer,
ano integer,
mes smallint,
valor decimal(14,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".tetb00004 from "public";
{ TABLE "inform70".tetb00005 row size = 51 number of columns = 9 index size = 0 }
create table "inform70".tetb00005
(
codigo integer,
ano integer,
mes smallint,
valor_real decimal(14,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".tetb00005 from "public";
{ TABLE "inform70".tetb00006 row size = 49 number of columns = 8 index size = 12
}
create table "inform70".tetb00006
(
cheque_no integer,
banco char(8),
codigo integer,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".tetb00006 from "public";
create index "inform70".ix495_1 on "inform70".tetb00006 (cheque_no);
{ TABLE "inform70".tetb00007 row size = 51 number of columns = 8 index size = 0 }
create table "inform70".tetb00007
(
ano integer,
valor decimal(12,2),
valor1 decimal(12,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".tetb00007 from "public";
{ TABLE "sysinfo".bancos row size = 62 number of columns = 3 index size = 0 }
create table "sysinfo".bancos
(
cod_banco smallint,
nombre_bc char(30),
localidad char(30)
);
revoke all on "sysinfo".bancos from "public";
{ TABLE "inform70".cgtb00023 row size = 52 number of columns = 9 index size = 42
}
create table "inform70".cgtb00023
(
cuenta_no char(8) not null constraint "inform70".n357_116,
presupuesto decimal(12,2) not null constraint "inform70".n357_117,
ano smallint not null constraint "inform70".n357_118,
mes smallint not null constraint "inform70".n357_119,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cgtb00023 from "public";
create index "inform70".ix376_1 on "inform70".cgtb00023 (cuenta_no);
create unique index "inform70".presupuesto on "inform70".cgtb00023 (cuenta_no,
ano,mes);
{ TABLE "inform70".chequeo row size = 23 number of columns = 3 index size = 0 }
create table "inform70".chequeo
(
dpto char(1),
departamento smallint,
nom_dpto char(20)
);
revoke all on "inform70".chequeo from "public";
{ TABLE "inform70".iptb00019 row size = 76 number of columns = 7 index size = 0 }
create table "inform70".iptb00019
(
marca smallint,
nombre_marca char(30),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(20),
fech_mod datetime year to minute
);
revoke all on "inform70".iptb00019 from "public";
{ TABLE "inform70".vetb00044 row size = 43 number of columns = 9 index size = 9 }
create table "inform70".vetb00044
(
ano smallint not null constraint "inform70".n360_120,
mes smallint,
marca smallint,
cantidad integer,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00044 from "public";
create index "inform70".ix380_1 on "inform70".vetb00044 (ano);
{ TABLE "inform70".vetb00045 row size = 51 number of columns = 13 index size = 0
}
create table "inform70".vetb00045
(
ano smallint not null constraint "inform70".n361_121,
mes smallint not null constraint "inform70".n361_122,
sec_vend smallint not null constraint "inform70".n361_123,
cod_n smallint not null constraint "inform70".n361_124,
cod_grupo smallint not null constraint "inform70".n361_125,
cod_tipo smallint not null constraint "inform70".n361_126,
cod_sec smallint not null constraint "inform70".n361_127,
cantidad integer,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".vetb00045 from "public";
{ TABLE "inform70".vetbparcial row size = 15 number of columns = 3 index size = 0
}
create table "inform70".vetbparcial
(
factura integer,
valor decimal(12,2),
fecha_ven date
);
revoke all on "inform70".vetbparcial from "public";
{ TABLE "inform70".cctb00111 row size = 134 number of columns = 23 index size = 0
}
create table "inform70".cctb00111
(
cuenta_no char(8),
cod_cia smallint,
tipo_doc char(2),
num_doc char(12),
tipo_cliente smallint,
sec_cliente smallint,
cod_emp smallint,
cod_emp_sec smallint,
fecha_orig date,
fecha_ven date,
aplica_a char(12),
banco smallint,
num_cheque char(12),
valor decimal(12,2) not null constraint "inform70".n363_128,
valor_efectivo decimal(12,2),
valor_cheque decimal(12,2),
costo decimal(12,2),
monto_desc decimal(12,2),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".cctb00111 from "public";
{ TABLE "inform70".companias row size = 218 number of columns = 12 index size = 13
}
create table "inform70".companias
(
cod_comp char(5) not null constraint "inform70".cod_cia,
nombre char(40),
rnc char(30),
direccion char(40),
telefono char(15),
fax char(15),
administrador char(40),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".companias from "public";
create index "inform70".ix100_1 on "inform70".companias (cod_comp);
{ TABLE "inform70".iptb00002 row size = 123 number of columns = 17 index size = 27
}
create table "inform70".iptb00002
(
cod_cia smallint,
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
descrip_esp char(30) not null constraint "inform70".n367_130,
descrip_ing char(30),
unidad_med char(4),
bodega smallint,
exist_max decimal(10,2) not null constraint "inform70".n300_83,
exist_min decimal(10,2),
dia_llegada smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".iptb00002 from "public";
create index "inform70".ip_codigo on "inform70".iptb00002 (cod_n,cod_grupo,cod_tipo,
cod_sec);
create index "inform70".idx_40 on "inform70".iptb00002 (cod_sec);
{ TABLE "inform70".iptb00020 row size = 52 number of columns = 7 index size = 12
}
create table "inform70".iptb00020
(
cod_n integer not null constraint "inform70".n372_133,
producto char(15),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".iptb00020 from "public";
create index "inform70".ix372_1 on "inform70".iptb00020 (cod_n);
{ TABLE "inform70".iptb00021 row size = 57 number of columns = 7 index size = 12
}
create table "inform70".iptb00021
(
cod_cia integer not null constraint "inform70".n373_134,
nombre_cia char(20),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".iptb00021 from "public";
create index "inform70".ix373_1 on "inform70".iptb00021 (cod_cia);
{ TABLE "inform70".iptb00006 row size = 174 number of columns = 29 index size = 97
}
create table "inform70".iptb00006
(
cod_cia smallint,
num_doc integer not null constraint "inform70".n103_7,
fecha date,
fact_no char(10),
conduce_no char(10),
tipo char(2),
orden_compra integer,
cod_sp smallint,
cod_sp_sec smallint,
cod_transp smallint,
sec_transp smallint,
placa char(10),
cod_tarifa smallint,
cod_mov smallint,
detalle char(60),
cod_n smallint,
cod_grupo smallint,
cod_tipo smallint,
cod_sec smallint,
cantidad_1 integer,
cantidad_2 decimal(12,2),
cond_recep char(1),
uso_tiempo char(1),
bodega smallint,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".iptb00006 from "public";
create index "inform70".ix369_1 on "inform70".iptb00006 (cod_cia);
create index "inform70".ix369_2 on "inform70".iptb00006 (num_doc);
create index "inform70".ix369_3 on "inform70".iptb00006 (fecha);
create index "inform70".ix440_13 on "inform70".iptb00006 (cod_mov);
create index "inform70".ix769_4 on "inform70".iptb00006 (fact_no);
create cluster index "inform70".iptb06_1 on "inform70".iptb00006 (cod_n,cod_grupo,
cod_tipo,cod_sec,fecha,orden_compra,status_t,cod_mov);
{ TABLE "inform70".actb00001 row size = 113 number of columns = 14 index size = 22
}
create table "inform70".actb00001
(
codigo smallint,
descripcion char(40),
cuenta_no char(8),
cta_depr char(8),
cta_gasto char(8),
departamento smallint,
fech_compra date,
duracion integer,
fech_elim date,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".actb00001 from "public";
create index "inform70".ix732_1 on "inform70".actb00001 (codigo);
create cluster index "inform70".actb01_1 on "inform70".actb00001 (codigo,status_t,
departamento);
{ TABLE "inform70".actb00002 row size = 67 number of columns = 9 index size = 10
}
create table "inform70".actb00002
(
cod_mov smallint not null constraint "usainf01".n101_1,
descrip char(30) not null constraint "usainf01".n101_2,
tipo_mov char(1),
uso char(1),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".actb00002 from "public";
create cluster index "inform70".actb02_1 on "inform70".actb00002 (cod_mov,status_t);
{ TABLE "inform70".actb00004 row size = 107 number of columns = 12 index size = 37
}
create table "inform70".actb00004
(
codigo integer,
num_doc char(10),
fecha date,
cod_mov integer,
tasa_cambio decimal(7,2),
monto decimal(12,2),
observacion char(40),
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute
);
revoke all on "inform70".actb00004 from "public";
create index "inform70".ix1271_1 on "inform70".actb00004 (codigo);
create cluster index "inform70".actb04_1 on "inform70".actb00004 (codigo,status_t,
fecha,cod_mov);
{ TABLE "inform70".actb00005 row size = 105 number of columns = 15 index size = 22
}
create table "inform70".actb00005
(
codigo smallint,
descripcion char(30),
cuenta_no char(8),
cta_depr char(8),
cta_gasto char(8),
departamento smallint,
fech_compra date,
duracion integer,
fech_elim date,
status_t char(1),
us_crea char(9),
fech_crea datetime year to minute,
us_mod char(9),
fech_mod datetime year to minute,
codigo_n smallint
);
revoke all on "inform70".actb00005 from "public";
create index "inform70".ix732_5 on "inform70".actb00005 (codigo);
create cluster index "inform70".actb05_1 on "inform70".actb00005 (codigo,status_t,
departamento);
grant all on "inform70".intb00001 to "public" as "inform70";
grant all on "inform70".iptb00003 to "public" as "inform70";
grant all on "inform70".iptb00005 to "public" as "inform70";
grant all on "inform70".iptb00007 to "public" as "inform70";
grant all on "inform70".iptb00008 to "public" as "inform70";
grant all on "inform70".iptb00009 to "public" as "inform70";
grant all on "inform70".iptb00010 to "public" as "inform70";
grant all on "inform70".iptb00011 to "public" as "inform70";
grant all on "inform70".iptb00012 to "public" as "inform70";
grant all on "inform70".iptb00013 to "public" as "inform70";
grant all on "inform70".iptb00015 to "public" as "inform70";
grant all on "inform70".iptb00016 to "public" as "inform70";
grant all on "inform70".iptb00017 to "public" as "inform70";
grant all on "inform70".iptb00018 to "public" as "inform70";
grant all on "inform70".iptb00116 to "public" as "inform70";
grant all on "inform70".seg0000 to "public" as "inform70";
grant all on "inform70".seg0001 to "public" as "inform70";
grant all on "inform70".seg0002 to "public" as "inform70";
grant all on "inform70".seg0003 to "public" as "inform70";
grant all on "inform70".seg0004 to "public" as "inform70";
grant all on "inform70".mestable to "public" as "inform70";
grant all on "inform70".prdtable to "public" as "inform70";
grant all on "inform70".msgtable to "public" as "inform70";
grant all on "inform70".vetb00025 to "public" as "inform70";
grant all on "inform70".cotb00001 to "public" as "inform70";
grant all on "inform70".vetb00002 to "public" as "inform70";
grant all on "inform70".intb00005 to "public" as "inform70";
grant all on "inform70".cotb00005 to "public" as "inform70";
grant all on "inform70".intb00008 to "public" as "inform70";
grant all on "inform70".intb00007 to "public" as "inform70";
grant all on "inform70".intb00003 to "public" as "inform70";
grant all on "inform70".vetb00014 to "public" as "inform70";
grant all on "inform70".intb00002 to "public" as "inform70";
grant all on "inform70".cotb00002 to "public" as "inform70";
grant all on "inform70".intb00004 to "public" as "inform70";
grant all on "inform70".vetb00005 to "public" as "inform70";
grant all on "inform70".vetb00013 to "public" as "inform70";
grant all on "inform70".vetb00004 to "public" as "inform70";
grant all on "inform70".vetb00003 to "public" as "inform70";
grant all on "inform70".intb00013 to "public" as "inform70";
grant all on "inform70".vetb00012 to "public" as "inform70";
grant all on "inform70".vetb00001 to "public" as "inform70";
grant all on "inform70".vetb00006 to "public" as "inform70";
grant all on "inform70".vetb00007 to "public" as "inform70";
grant all on "inform70".vetb00008 to "public" as "inform70";
grant all on "inform70".vetb00009 to "public" as "inform70";
grant all on "inform70".vetb00010 to "public" as "inform70";
grant all on "inform70".vetb00011 to "public" as "inform70";
grant all on "inform70".vetb00015 to "public" as "inform70";
grant all on "inform70".vetb00016 to "public" as "inform70";
grant all on "inform70".vetb00017 to "public" as "inform70";
grant all on "inform70".vetb00018 to "public" as "inform70";
grant all on "inform70".vetb00019 to "public" as "inform70";
grant all on "inform70".vetb00020 to "public" as "inform70";
grant all on "inform70".vetb00021 to "public" as "inform70";
grant all on "inform70".vetb00022 to "public" as "inform70";
grant all on "inform70".vetb00023 to "public" as "inform70";
grant all on "inform70".vetb00024 to "public" as "inform70";
grant all on "inform70".vetb00026 to "public" as "inform70";
grant all on "inform70".vetb00027 to "public" as "inform70";
grant all on "inform70".vetb00028 to "public" as "inform70";
grant all on "inform70".vetb00029 to "public" as "inform70";
grant all on "inform70".vetb00030 to "public" as "inform70";
grant all on "inform70".vetb00031 to "public" as "inform70";
grant select on "usainf02".vetb00032 to "public" as "usainf02";
grant update on "usainf02".vetb00032 to "public" as "usainf02";
grant insert on "usainf02".vetb00032 to "public" as "usainf02";
grant delete on "usainf02".vetb00032 to "public" as "usainf02";
grant index on "usainf02".vetb00032 to "public" as "usainf02";
grant all on "inform70".vetb00033 to "public" as "inform70";
grant all on "inform70".vetb00034 to "public" as "inform70";
grant all on "inform70".vetb00035 to "public" as "inform70";
grant all on "inform70".vetb00036 to "public" as "inform70";
grant all on "inform70".vetb00037 to "public" as "inform70";
grant all on "inform70".vetb00038 to "public" as "inform70";
grant all on "inform70".vetb00039 to "public" as "inform70";
grant all on "inform70".vetb00041 to "public" as "inform70";
grant all on "inform70".vetb77777 to "public" as "inform70";
grant all on "inform70".vetb88888 to "public" as "inform70";
grant all on "inform70".vetb99999 to "public" as "inform70";
grant all on "inform70".vetb00040 to "public" as "inform70";
grant all on "inform70".codigos_esbien to "public" as "inform70";
grant all on "inform70".codigos_nobien to "public" as "inform70";
grant all on "inform70".cotb00003 to "public" as "inform70";
grant all on "inform70".cotb00004 to "public" as "inform70";
grant all on "inform70".cotb00006 to "public" as "inform70";
grant all on "inform70".cotb00007 to "public" as "inform70";
grant all on "inform70".cotb00008 to "public" as "inform70";
grant all on "inform70".cotb00009 to "public" as "inform70";
grant all on "inform70".cotb00011 to "public" as "inform70";
grant all on "inform70".cotb00012 to "public" as "inform70";
grant all on "inform70".cotb00013 to "public" as "inform70";
grant all on "inform70".cotb00016 to "public" as "inform70";
grant all on "inform70".cotb00017 to "public" as "inform70";
grant all on "inform70".cotb00018 to "public" as "inform70";
grant all on "inform70".cotb00019 to "public" as "inform70";
grant all on "inform70".cotb00020 to "public" as "inform70";
grant all on "inform70".cotb00021 to "public" as "inform70";
grant all on "inform70".cotb00022 to "public" as "inform70";
grant all on "inform70".cotb00023 to "public" as "inform70";
grant all on "inform70".cotb00024 to "public" as "inform70";
grant all on "inform70".cotb00025 to "public" as "inform70";
grant all on "inform70".cotb00026 to "public" as "inform70";
grant all on "inform70".cotb00027 to "public" as "inform70";
grant all on "inform70".cotb00028 to "public" as "inform70";
grant all on "inform70".cotb00029 to "public" as "inform70";
grant all on "inform70".cotb00030 to "public" as "inform70";
grant all on "inform70".cotb00031 to "public" as "inform70";
grant all on "inform70".cotb00032 to "public" as "inform70";
grant all on "inform70".cotb00033 to "public" as "inform70";
grant all on "inform70".cotb00034 to "public" as "inform70";
grant all on "inform70".cotb00035 to "public" as "inform70";
grant select on "usainf01".cotb00038 to "public" as "usainf01";
grant update on "usainf01".cotb00038 to "public" as "usainf01";
grant insert on "usainf01".cotb00038 to "public" as "usainf01";
grant delete on "usainf01".cotb00038 to "public" as "usainf01";
grant index on "usainf01".cotb00038 to "public" as "usainf01";
grant select on "usainf01".cotb00039 to "public" as "usainf01";
grant update on "usainf01".cotb00039 to "public" as "usainf01";
grant insert on "usainf01".cotb00039 to "public" as "usainf01";
grant delete on "usainf01".cotb00039 to "public" as "usainf01";
grant index on "usainf01".cotb00039 to "public" as "usainf01";
grant select on "usainf01".cotb00040 to "public" as "usainf01";
grant update on "usainf01".cotb00040 to "public" as "usainf01";
grant insert on "usainf01".cotb00040 to "public" as "usainf01";
grant delete on "usainf01".cotb00040 to "public" as "usainf01";
grant index on "usainf01".cotb00040 to "public" as "usainf01";
grant select on "usainf01".cotb00041 to "public" as "usainf01";
grant update on "usainf01".cotb00041 to "public" as "usainf01";
grant insert on "usainf01".cotb00041 to "public" as "usainf01";
grant delete on "usainf01".cotb00041 to "public" as "usainf01";
grant index on "usainf01".cotb00041 to "public" as "usainf01";
grant all on "inform70".adtb00001 to "public" as "inform70";
grant all on "inform70".adtb00003 to "public" as "inform70";
grant all on "inform70".adtb00029 to "public" as "inform70";
grant all on "inform70".cctb00001 to "public" as "inform70";
grant all on "inform70".cctb00002 to "public" as "inform70";
grant all on "inform70".cctb00003 to "public" as "inform70";
grant select on "usainf02".cttb00038 to "public" as "usainf02";
grant update on "usainf02".cttb00038 to "public" as "usainf02";
grant insert on "usainf02".cttb00038 to "public" as "usainf02";
grant delete on "usainf02".cttb00038 to "public" as "usainf02";
grant index on "usainf02".cttb00038 to "public" as "usainf02";
grant all on "inform70".intb00009 to "public" as "inform70";
grant all on "inform70".cotb00015 to "public" as "inform70";
grant select on "inform70".cotb00036 to "public" as "inform70";
grant update on "inform70".cotb00036 to "public" as "inform70";
grant insert on "inform70".cotb00036 to "public" as "inform70";
grant delete on "inform70".cotb00036 to "public" as "inform70";
grant index on "inform70".cotb00036 to "public" as "inform70";
grant select on "inform70".cotb00037 to "public" as "inform70";
grant update on "inform70".cotb00037 to "public" as "inform70";
grant insert on "inform70".cotb00037 to "public" as "inform70";
grant delete on "inform70".cotb00037 to "public" as "inform70";
grant index on "inform70".cotb00037 to "public" as "inform70";
grant select on "inform70".istb00003 to "public" as "inform70";
grant update on "inform70".istb00003 to "public" as "inform70";
grant insert on "inform70".istb00003 to "public" as "inform70";
grant delete on "inform70".istb00003 to "public" as "inform70";
grant index on "inform70".istb00003 to "public" as "inform70";
grant select on "inform70".istb00005 to "public" as "inform70";
grant update on "inform70".istb00005 to "public" as "inform70";
grant insert on "inform70".istb00005 to "public" as "inform70";
grant delete on "inform70".istb00005 to "public" as "inform70";
grant index on "inform70".istb00005 to "public" as "inform70";
grant select on "inform70".istb00006 to "public" as "inform70";
grant update on "inform70".istb00006 to "public" as "inform70";
grant insert on "inform70".istb00006 to "public" as "inform70";
grant delete on "inform70".istb00006 to "public" as "inform70";
grant index on "inform70".istb00006 to "public" as "inform70";
grant select on "inform70".istb00007 to "public" as "inform70";
grant update on "inform70".istb00007 to "public" as "inform70";
grant insert on "inform70".istb00007 to "public" as "inform70";
grant delete on "inform70".istb00007 to "public" as "inform70";
grant index on "inform70".istb00007 to "public" as "inform70";
grant select on "inform70".istb00008 to "public" as "inform70";
grant update on "inform70".istb00008 to "public" as "inform70";
grant insert on "inform70".istb00008 to "public" as "inform70";
grant delete on "inform70".istb00008 to "public" as "inform70";
grant index on "inform70".istb00008 to "public" as "inform70";
grant select on "inform70".istb00009 to "public" as "inform70";
grant update on "inform70".istb00009 to "public" as "inform70";
grant insert on "inform70".istb00009 to "public" as "inform70";
grant delete on "inform70".istb00009 to "public" as "inform70";
grant index on "inform70".istb00009 to "public" as "inform70";
grant select on "inform70".istb00011 to "public" as "inform70";
grant update on "inform70".istb00011 to "public" as "inform70";
grant insert on "inform70".istb00011 to "public" as "inform70";
grant delete on "inform70".istb00011 to "public" as "inform70";
grant index on "inform70".istb00011 to "public" as "inform70";
grant select on "inform70".istb00013 to "public" as "inform70";
grant update on "inform70".istb00013 to "public" as "inform70";
grant insert on "inform70".istb00013 to "public" as "inform70";
grant delete on "inform70".istb00013 to "public" as "inform70";
grant index on "inform70".istb00013 to "public" as "inform70";
grant select on "inform70".istb00002 to "public" as "inform70";
grant update on "inform70".istb00002 to "public" as "inform70";
grant insert on "inform70".istb00002 to "public" as "inform70";
grant delete on "inform70".istb00002 to "public" as "inform70";
grant index on "inform70".istb00002 to "public" as "inform70";
grant all on "inform70".iptb00004 to "public" as "inform70";
grant all on "inform70".cotb00014 to "public" as "inform70";
grant all on "inform70".vetb00042 to "public" as "inform70";
grant all on "inform70".iptb00014 to "public" as "inform70";
grant all on "inform70".cgtb00001 to "public" as "inform70";
grant all on "inform70".cgtb00002 to "public" as "inform70";
grant all on "inform70".cgtb00003 to "public" as "inform70";
grant all on "inform70".cgtb00004 to "public" as "inform70";
grant all on "inform70".cgtb00005 to "public" as "inform70";
grant all on "inform70".cgtb00006 to "public" as "inform70";
grant all on "inform70".cgtb00007 to "public" as "inform70";
grant all on "inform70".cgtb00008 to "public" as "inform70";
grant all on "inform70".cgtb00009 to "public" as "inform70";
grant all on "inform70".cgtb00010 to "public" as "inform70";
grant all on "inform70".cgtb00011 to "public" as "inform70";
grant all on "inform70".cgtb00012 to "public" as "inform70";
grant all on "inform70".cgtb00013 to "public" as "inform70";
grant all on "inform70".cgtb00014 to "public" as "inform70";
grant all on "inform70".cgtb00015 to "public" as "inform70";
grant all on "inform70".cgtb00016 to "public" as "inform70";
grant all on "inform70".cgtb00017 to "public" as "inform70";
grant all on "inform70".cgtb00018 to "public" as "inform70";
grant all on "inform70".cgtb00019 to "public" as "inform70";
grant all on "inform70".cgtb00020 to "public" as "inform70";
grant all on "inform70".cgtb00021 to "public" as "inform70";
grant all on "inform70".cgtb00022 to "public" as "inform70";
grant all on "inform70".cgtb00030 to "public" as "inform70";
grant all on "inform70".cgtb00031 to "public" as "inform70";
grant all on "inform70".cgtb00032 to "public" as "inform70";
grant all on "inform70".cgtb00033 to "public" as "inform70";
grant all on "inform70".cgtb00055 to "public" as "inform70";
grant all on "inform70".cptb00001 to "public" as "inform70";
grant all on "inform70".cptb00002 to "public" as "inform70";
grant all on "inform70".cptb00003 to "public" as "inform70";
grant all on "inform70".cptb00005 to "public" as "inform70";
grant all on "inform70".cptb00006 to "public" as "inform70";
grant all on "inform70".tetb00001 to "public" as "inform70";
grant all on "inform70".tetb00002 to "public" as "inform70";
grant all on "inform70".tetb00003 to "public" as "inform70";
grant all on "inform70".tetb00004 to "public" as "inform70";
grant all on "inform70".tetb00005 to "public" as "inform70";
grant all on "inform70".tetb00006 to "public" as "inform70";
grant all on "inform70".tetb00007 to "public" as "inform70";
grant select on "sysinfo".bancos to "public" as "sysinfo";
grant update on "sysinfo".bancos to "public" as "sysinfo";
grant insert on "sysinfo".bancos to "public" as "sysinfo";
grant delete on "sysinfo".bancos to "public" as "sysinfo";
grant index on "sysinfo".bancos to "public" as "sysinfo";
grant select on "inform70".cgtb00023 to "public" as "inform70";
grant update on "inform70".cgtb00023 to "public" as "inform70";
grant insert on "inform70".cgtb00023 to "public" as "inform70";
grant delete on "inform70".cgtb00023 to "public" as "inform70";
grant index on "inform70".cgtb00023 to "public" as "inform70";
grant select on "inform70".chequeo to "public" as "inform70";
grant update on "inform70".chequeo to "public" as "inform70";
grant insert on "inform70".chequeo to "public" as "inform70";
grant delete on "inform70".chequeo to "public" as "inform70";
grant index on "inform70".chequeo to "public" as "inform70";
grant select on "inform70".iptb00019 to "public" as "inform70";
grant update on "inform70".iptb00019 to "public" as "inform70";
grant insert on "inform70".iptb00019 to "public" as "inform70";
grant delete on "inform70".iptb00019 to "public" as "inform70";
grant index on "inform70".iptb00019 to "public" as "inform70";
grant select on "inform70".vetb00044 to "public" as "inform70";
grant update on "inform70".vetb00044 to "public" as "inform70";
grant insert on "inform70".vetb00044 to "public" as "inform70";
grant delete on "inform70".vetb00044 to "public" as "inform70";
grant index on "inform70".vetb00044 to "public" as "inform70";
grant select on "inform70".vetb00045 to "public" as "inform70";
grant update on "inform70".vetb00045 to "public" as "inform70";
grant insert on "inform70".vetb00045 to "public" as "inform70";
grant delete on "inform70".vetb00045 to "public" as "inform70";
grant index on "inform70".vetb00045 to "public" as "inform70";
grant select on "inform70".vetbparcial to "public" as "inform70";
grant update on "inform70".vetbparcial to "public" as "inform70";
grant insert on "inform70".vetbparcial to "public" as "inform70";
grant delete on "inform70".vetbparcial to "public" as "inform70";
grant index on "inform70".vetbparcial to "public" as "inform70";
grant select on "inform70".cctb00111 to "public" as "inform70";
grant update on "inform70".cctb00111 to "public" as "inform70";
grant insert on "inform70".cctb00111 to "public" as "inform70";
grant delete on "inform70".cctb00111 to "public" as "inform70";
grant index on "inform70".cctb00111 to "public" as "inform70";
grant all on "inform70".companias to "public" as "inform70";
grant all on "inform70".iptb00002 to "public" as "inform70";
grant select on "inform70".iptb00020 to "public" as "inform70";
grant update on "inform70".iptb00020 to "public" as "inform70";
grant insert on "inform70".iptb00020 to "public" as "inform70";
grant delete on "inform70".iptb00020 to "public" as "inform70";
grant index on "inform70".iptb00020 to "public" as "inform70";
grant select on "inform70".iptb00021 to "public" as "inform70";
grant update on "inform70".iptb00021 to "public" as "inform70";
grant insert on "inform70".iptb00021 to "public" as "inform70";
grant delete on "inform70".iptb00021 to "public" as "inform70";
grant index on "inform70".iptb00021 to "public" as "inform70";
grant all on "inform70".iptb00006 to "public" as "inform70";
create view "ussg003".suplidor (cod_sp,cod_sp_sec,nom_sp,aplica_a,valor) as
select x0.cod_sp ,x0.cod_sp_sec ,x1.nom_sp ,x0.aplica_a ,sum(x0.valor
) from "inform70".cptb00001 x0 ,"inform70".cotb00001 x1 where ((((x0.cod_sp
= x1.cod_sp ) AND (x0.cod_sp_sec = x1.cod_sp_sec ) ) AND
(x0.status_t IS NULL ) ) AND (x0.tipo_doc != 'CP' ) ) group
by x0.cod_sp ,x0.cod_sp_sec ,x1.nom_sp ,x0.aplica_a having
(sum(x0.valor ) != 0.00 ) ;
create view "ussg003".cpprrp0062 (cod_sp,cod_sp_sec,nom_sp,tipo_doc,num_doc,fecha_proc,aplica_a,valor) as
select x0.cod_sp ,x0.cod_sp_sec ,x1.nom_sp ,x0.tipo_doc ,x0.num_doc
,x0.fecha_orig ,x0.aplica_a ,x0.valor from "inform70".cptb00001 x0
,"ussg003".suplidor x1 where (((((x1.cod_sp = x0.cod_sp ) AND (x1.cod_sp_sec
= x0.cod_sp_sec ) ) AND (x0.aplica_a = x1.aplica_a ) ) AND
(x0.status_t IS NULL ) ) AND (x0.tipo_doc != 'CP' ) ) ;