11542 lines
376 KiB
SQL
11542 lines
376 KiB
SQL
grant dba to "informix";
|
|
grant connect to "usgve01";
|
|
grant connect to "usama01";
|
|
grant connect to "usape01";
|
|
grant connect to "usave01";
|
|
grant connect to "uscca01";
|
|
grant connect to "usccc01";
|
|
grant connect to "uscco01";
|
|
grant connect to "usccg01";
|
|
grant resource to "usccx01";
|
|
grant connect to "useal01";
|
|
grant connect to "usecc01";
|
|
grant connect to "useco01";
|
|
grant resource to "usecp01";
|
|
grant connect to "usepr01";
|
|
grant connect to "usese01";
|
|
grant connect to "usetr01";
|
|
grant connect to "usgfi01";
|
|
grant connect to "usgg001";
|
|
grant connect to "usgma01";
|
|
grant connect to "usgpl01";
|
|
grant connect to "usrec01";
|
|
grant connect to "ussfi01";
|
|
grant connect to "ussma01";
|
|
grant connect to "usspe01";
|
|
grant connect to "usspl01";
|
|
grant connect to "ussupl01";
|
|
grant connect to "ussve01";
|
|
grant connect to "ustes01";
|
|
grant connect to "usapl01";
|
|
grant connect to "usdocto";
|
|
grant connect to "usdocto1";
|
|
grant connect to "forms";
|
|
grant connect to "auditor";
|
|
grant connect to "price";
|
|
grant dba to "usedi01";
|
|
grant connect to "usven01";
|
|
grant connect to "usven02";
|
|
grant connect to "usven03";
|
|
grant connect to "usven04";
|
|
grant connect to "usven05";
|
|
grant connect to "usven06";
|
|
grant connect to "usven07";
|
|
grant connect to "usven08";
|
|
grant dba to "usainf01";
|
|
grant dba to "usainf02";
|
|
grant connect to "usspla01";
|
|
grant connect to "usgpe01";
|
|
grant connect to "ussgg01";
|
|
grant connect to "usgcca01";
|
|
grant connect to "ussuv01";
|
|
grant connect to "usccx02";
|
|
grant connect to "usame01";
|
|
grant connect to "usagad01";
|
|
grant dba to "usaint01";
|
|
|
|
|
|
|
|
{ TABLE "informix".actb00002 row size = 67 number of columns = 9 index size = 10
|
|
}
|
|
create table "informix".actb00002
|
|
(
|
|
cod_mov smallint not null constraint "informix".n101_1,
|
|
descrip char(30) not null constraint "informix".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 "informix".actb00002 from "public";
|
|
|
|
create cluster index "informix".actb02_1 on "informix".actb00002
|
|
(cod_mov,status_t);
|
|
{ TABLE "informix".actb00004 row size = 107 number of columns = 12 index size = 37
|
|
}
|
|
create table "informix".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 "informix".actb00004 from "public";
|
|
|
|
create index "informix".ix1271_1 on "informix".actb00004 (codigo);
|
|
|
|
create cluster index "informix".actb04_1 on "informix".actb00004
|
|
(codigo,status_t,fecha,cod_mov);
|
|
{ TABLE "informix".adtb00001 row size = 65 number of columns = 7 index size = 9 }
|
|
create table "informix".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 "informix".adtb00001 from "public";
|
|
|
|
create index "informix".ix104_1 on "informix".adtb00001 (departamento);
|
|
|
|
{ TABLE "informix".adtb00002 row size = 67 number of columns = 8 index size = 0 }
|
|
create table "informix".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 "informix".adtb00002 from "public";
|
|
|
|
{ TABLE "informix".adtb00003 row size = 232 number of columns = 32 index size = 36
|
|
}
|
|
create table "informix".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 "informix".adtb00003 from "public";
|
|
|
|
create index "informix".ix303_3 on "informix".adtb00003 (departamento);
|
|
|
|
create index "informix".ix497_3 on "informix".adtb00003 (nivel_emp);
|
|
|
|
create index "informix".ix497_4 on "informix".adtb00003 (cod_puesto);
|
|
|
|
create unique index "informix".ficha on "informix".adtb00003 (num_emp);
|
|
|
|
{ TABLE "informix".adtb00004 row size = 199 number of columns = 12 index size = 0
|
|
}
|
|
create table "informix".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 "informix".adtb00004 from "public";
|
|
|
|
{ TABLE "informix".adtb00005 row size = 65 number of columns = 7 index size = 0 }
|
|
create table "informix".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 "informix".adtb00005 from "public";
|
|
|
|
{ TABLE "informix".adtb00006 row size = 65 number of columns = 7 index size = 9 }
|
|
create table "informix".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 "informix".adtb00006 from "public";
|
|
|
|
create index "informix".ix567_1 on "informix".adtb00006 (cod_pericia);
|
|
|
|
{ TABLE "informix".adtb00007 row size = 65 number of columns = 7 index size = 0 }
|
|
create table "informix".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 "informix".adtb00007 from "public";
|
|
|
|
{ TABLE "informix".adtb00008 row size = 65 number of columns = 7 index size = 0 }
|
|
create table "informix".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 "informix".adtb00008 from "public";
|
|
|
|
{ TABLE "informix".adtb00009 row size = 87 number of columns = 8 index size = 0 }
|
|
create table "informix".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 "informix".adtb00009 from "public";
|
|
|
|
{ TABLE "informix".adtb00010 row size = 65 number of columns = 7 index size = 0 }
|
|
create table "informix".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 "informix".adtb00010 from "public";
|
|
|
|
{ TABLE "informix".adtb00011 row size = 124 number of columns = 31 index size = 0
|
|
}
|
|
create table "informix".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 "informix".adtb00011 from "public";
|
|
|
|
{ TABLE "informix".adtb00014 row size = 185 number of columns = 13 index size = 9
|
|
}
|
|
create table "informix".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 "informix".adtb00014 from "public";
|
|
|
|
create index "informix".ix486_1 on "informix".adtb00014 (cod_sol);
|
|
|
|
{ TABLE "informix".adtb00015 row size = 151 number of columns = 14 index size = 9
|
|
}
|
|
create table "informix".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 "informix".adtb00015 from "public";
|
|
|
|
create index "informix".ix513_1 on "informix".adtb00015 (cod_sol);
|
|
|
|
{ TABLE "informix".adtb00016 row size = 217 number of columns = 16 index size = 0
|
|
}
|
|
create table "informix".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 "informix".adtb00016 from "public";
|
|
|
|
{ TABLE "informix".adtb00017 row size = 69 number of columns = 17 index size = 21
|
|
}
|
|
create table "informix".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 "informix".adtb00017 from "public";
|
|
|
|
create index "informix".ix526_1 on "informix".adtb00017 (cod_sol);
|
|
|
|
create index "informix".ix535_1 on "informix".adtb00017 (num_trx);
|
|
|
|
{ TABLE "informix".adtb00018 row size = 136 number of columns = 27 index size = 9
|
|
}
|
|
create table "informix".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 "informix".adtb00018 from "public";
|
|
|
|
create index "informix".ix523_2 on "informix".adtb00018 (cod_sol);
|
|
|
|
{ TABLE "informix".adtb00019 row size = 51 number of columns = 11 index size = 9
|
|
}
|
|
create table "informix".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 "informix".adtb00019 from "public";
|
|
|
|
create index "informix".ix491_1 on "informix".adtb00019 (cod_sol);
|
|
|
|
{ TABLE "informix".adtb00020 row size = 172 number of columns = 32 index size = 57
|
|
}
|
|
create table "informix".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 "informix".adtb00020 from "public";
|
|
|
|
create index "informix".ix492_4 on "informix".adtb00020 (departamento);
|
|
|
|
create index "informix".ix492_5 on "informix".adtb00020 (nivel_emp);
|
|
|
|
create index "informix".ix492_6 on "informix".adtb00020 (cod_puesto);
|
|
|
|
create index "informix".ix527_1 on "informix".adtb00020 (cod_sol);
|
|
|
|
create index "informix".ix527_4 on "informix".adtb00020 (num_emp);
|
|
|
|
create index "informix".ix530_1 on "informix".adtb00020 (num_trx);
|
|
|
|
{ TABLE "informix".adtb00022 row size = 163 number of columns = 27 index size = 36
|
|
}
|
|
create table "informix".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 "informix".adtb00022 from "public";
|
|
|
|
create index "informix".ix494_3 on "informix".adtb00022 (departamento);
|
|
|
|
create index "informix".ix494_4 on "informix".adtb00022 (nivel_emp);
|
|
|
|
create index "informix".ix494_5 on "informix".adtb00022 (cod_puesto);
|
|
|
|
create index "informix".ix506_2 on "informix".adtb00022 (num_emp);
|
|
|
|
{ TABLE "informix".adtb00023 row size = 51 number of columns = 12 index size = 12
|
|
}
|
|
create table "informix".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 "informix".adtb00023 from "public";
|
|
|
|
create index "informix".ix533_1 on "informix".adtb00023 (fecha);
|
|
|
|
{ TABLE "informix".adtb00024 row size = 65 number of columns = 7 index size = 0 }
|
|
create table "informix".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 "informix".adtb00024 from "public";
|
|
|
|
{ TABLE "informix".adtb00025 row size = 46 number of columns = 7 index size = 0 }
|
|
create table "informix".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 "informix".adtb00025 from "public";
|
|
|
|
{ TABLE "informix".adtb00026 row size = 183 number of columns = 21 index size = 36
|
|
}
|
|
create table "informix".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 "informix".adtb00026 from "public";
|
|
|
|
create index "informix".ix496_4 on "informix".adtb00026 (departamento);
|
|
|
|
create index "informix".ix496_5 on "informix".adtb00026 (nivel_emp);
|
|
|
|
create index "informix".ix496_6 on "informix".adtb00026 (cod_puesto);
|
|
|
|
create index "informix".ix507_3 on "informix".adtb00026 (num_emp);
|
|
|
|
{ TABLE "informix".adtb00027 row size = 57 number of columns = 13 index size = 36
|
|
}
|
|
create table "informix".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 "informix".adtb00027 from "public";
|
|
|
|
create index "informix".ix531_1 on "informix".adtb00027 (num_emp);
|
|
|
|
create index "informix".ix531_2 on "informix".adtb00027 (departamento);
|
|
|
|
create index "informix".ix531_3 on "informix".adtb00027 (nivel_emp);
|
|
|
|
create index "informix".ix531_4 on "informix".adtb00027 (cod_puesto);
|
|
|
|
{ TABLE "informix".adtb00028 row size = 39 number of columns = 7 index size = 12
|
|
}
|
|
create table "informix".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 "informix".adtb00028 from "public";
|
|
|
|
create index "informix".ix566_1 on "informix".adtb00028 (num_trx);
|
|
|
|
{ TABLE "informix".adtb00029 row size = 51 number of columns = 9 index size = 9 }
|
|
create table "informix".adtb00029
|
|
(
|
|
departamento smallint,
|
|
estado_a char(7),
|
|
estado_m char(7),
|
|
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 "informix".adtb00029 from "public";
|
|
|
|
create index "informix".ix859_1 on "informix".adtb00029 (departamento);
|
|
|
|
{ TABLE "informix".adtb00030 row size = 3 number of columns = 2 index size = 9 }
|
|
create table "informix".adtb00030
|
|
(
|
|
num_emp smallint,
|
|
sexo char(1)
|
|
);
|
|
revoke all on "informix".adtb00030 from "public";
|
|
|
|
create unique index "informix".ix130_1 on "informix".adtb00030
|
|
(num_emp);
|
|
{ TABLE "informix".adtb00031 row size = 52 number of columns = 11 index size = 0
|
|
}
|
|
create table "informix".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 "informix".adtb00031 from "public";
|
|
|
|
{ TABLE "informix".adtb00032 row size = 53 number of columns = 11 index size = 42
|
|
}
|
|
create table "informix".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 "informix".adtb00032 from "public";
|
|
|
|
create index "informix".ix1542_1 on "informix".adtb00032 (num_trx);
|
|
|
|
create index "informix".ix1542_2 on "informix".adtb00032 (num_emp);
|
|
|
|
create index "informix".ix1542_3 on "informix".adtb00032 (cod_mov);
|
|
|
|
create index "informix".ix1542_4 on "informix".adtb00032 (sec_mov);
|
|
|
|
{ TABLE "informix".adtb00033 row size = 66 number of columns = 8 index size = 0 }
|
|
create table "informix".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 "informix".adtb00033 from "public";
|
|
|
|
{ TABLE "informix".bancos row size = 62 number of columns = 3 index size = 0 }
|
|
create table "informix".bancos
|
|
(
|
|
cod_banco smallint,
|
|
nombre_bc char(30),
|
|
localidad char(30)
|
|
);
|
|
revoke all on "informix".bancos from "public";
|
|
|
|
{ TABLE "informix".catb00001 row size = 58 number of columns = 15 index size = 45
|
|
}
|
|
create table "informix".catb00001
|
|
(
|
|
num_formula smallint,
|
|
cod_n_pt smallint,
|
|
cod_grupo_pt smallint,
|
|
cod_tipo_pt smallint,
|
|
cod_sec_pt smallint,
|
|
cod_n_mp smallint,
|
|
cod_grupo_mp smallint,
|
|
cod_tipo_mp smallint,
|
|
cod_sec_mp smallint,
|
|
cantidad decimal(11,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 "informix".catb00001 from "public";
|
|
|
|
create index "informix".ix256_1 on "informix".catb00001 (num_formula);
|
|
|
|
create index "informix".calidad on "informix".catb00001 (cod_n_pt,
|
|
cod_grupo_pt,cod_tipo_pt,cod_sec_pt);
|
|
create index "informix".calidad1 on "informix".catb00001 (cod_n_mp,
|
|
cod_grupo_mp,cod_tipo_mp,cod_sec_mp);
|
|
{ TABLE "informix".catb00002 row size = 40 number of columns = 8 index size = 9 }
|
|
create table "informix".catb00002
|
|
(
|
|
num_formula smallint,
|
|
base_medida integer,
|
|
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 "informix".catb00002 from "public";
|
|
|
|
create index "informix".ix204_1 on "informix".catb00002 (num_formula);
|
|
|
|
{ TABLE "informix".cctb00001 row size = 118 number of columns = 23 index size = 300
|
|
}
|
|
create table "informix".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 "informix".n140_3,
|
|
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 "informix".cctb00001 from "public";
|
|
|
|
create cluster index "informix".busca2 on "informix".cctb00001
|
|
(tipo_cliente,sec_cliente,num_doc,tipo_doc,aplica_a);
|
|
create index "informix".busca4 on "informix".cctb00001 (cod_cia,
|
|
num_doc,fecha_orig);
|
|
create index "informix".idx306_2 on "informix".cctb00001 (fecha_orig,
|
|
tipo_cliente,sec_cliente,status_t,tipo_doc);
|
|
create index "informix".busca3 on "informix".cctb00001 (fecha_orig,
|
|
tipo_cliente,sec_cliente,cod_emp_sec,status_t,tipo_doc);
|
|
create index "informix".cli_emp on "informix".cctb00001 (cod_emp_sec,
|
|
tipo_cliente,sec_cliente);
|
|
create index "informix".vendedor on "informix".cctb00001 (cod_emp_sec,
|
|
tipo_cliente,sec_cliente,tipo_doc,num_doc,status_t);
|
|
create index "informix".n_credito on "informix".cctb00001 (sec_cliente,
|
|
aplica_a,tipo_doc);
|
|
create index "informix".aplicacion on "informix".cctb00001 (aplica_a);
|
|
|
|
create index "informix".ccbusqueda on "informix".cctb00001 (num_doc,
|
|
tipo_doc);
|
|
create index "informix".ccrp33 on "informix".cctb00001 (cod_emp_sec,
|
|
num_doc);
|
|
create index "informix".busca5 on "informix".cctb00001 (tipo_cliente,
|
|
sec_cliente,status_t);
|
|
create index "informix".comision1 on "informix".cctb00001 (cod_emp_sec,
|
|
fecha_orig,tipo_doc,valor_cheque);
|
|
create index "informix".comision35 on "informix".cctb00001 (cod_emp_sec);
|
|
|
|
create index "informix".elimina on "informix".cctb00001 (tipo_doc,
|
|
num_cheque);
|
|
create index "informix".depositos on "informix".cctb00001 (banco,
|
|
cuenta_no,tipo_doc,status_t);
|
|
{ TABLE "informix".cctb00002 row size = 49 number of columns = 10 index size = 51
|
|
}
|
|
create table "informix".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 "informix".cctb00002 from "public";
|
|
|
|
create index "informix".ix443_2 on "informix".cctb00002 (sec_vend);
|
|
|
|
create unique index "informix".sec1 on "informix".cctb00002 (fecha,
|
|
sec_vend,sec_de);
|
|
create unique index "informix".sec2 on "informix".cctb00002 (fecha,
|
|
sec_vend,sec_a);
|
|
{ TABLE "informix".cctb00003 row size = 43 number of columns = 9 index size = 18
|
|
}
|
|
create table "informix".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 "informix".cctb00003 from "public";
|
|
|
|
create index "informix".ix444_1 on "informix".cctb00003 (cod_vend);
|
|
|
|
create index "informix".ix444_2 on "informix".cctb00003 (sec_vend);
|
|
|
|
{ TABLE "informix".cctb00004 row size = 130 number of columns = 26 index size = 210
|
|
}
|
|
create table "informix".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 "informix".n143_4,
|
|
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 "informix".cctb00004 from "public";
|
|
|
|
create cluster index "informix".busca21 on "informix".cctb00004
|
|
(tipo_cliente,sec_cliente,num_doc,tipo_doc,aplica_a);
|
|
create index "informix".busca41 on "informix".cctb00004 (cod_cia,
|
|
num_doc,fecha_orig);
|
|
create index "informix".idx306_21 on "informix".cctb00004 (fecha_orig,
|
|
tipo_cliente,sec_cliente,status_t,tipo_doc);
|
|
create index "informix".busca31 on "informix".cctb00004 (fecha_orig,
|
|
tipo_cliente,sec_cliente,cod_emp_sec,status_t,tipo_doc);
|
|
create index "informix".cli_emp1 on "informix".cctb00004 (cod_emp_sec,
|
|
tipo_cliente,sec_cliente);
|
|
create index "informix".vendedor1 on "informix".cctb00004 (cod_emp_sec,
|
|
tipo_cliente,sec_cliente,tipo_doc,num_doc,status_t);
|
|
create index "informix".n_credito1 on "informix".cctb00004 (sec_cliente,
|
|
aplica_a,tipo_doc);
|
|
create index "informix".aplicacion1 on "informix".cctb00004 (aplica_a);
|
|
|
|
create index "informix".ccbusqueda1 on "informix".cctb00004 (num_doc,
|
|
tipo_doc);
|
|
create index "informix".ccrp331 on "informix".cctb00004 (cod_emp_sec,
|
|
num_doc);
|
|
create index "informix".busca51 on "informix".cctb00004 (tipo_cliente,
|
|
sec_cliente,status_t);
|
|
{ TABLE "informix".cctb00005 row size = 8 number of columns = 4 index size = 18 }
|
|
create table "informix".cctb00005
|
|
(
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint
|
|
);
|
|
revoke all on "informix".cctb00005 from "public";
|
|
|
|
create index "informix".codigos on "informix".cctb00005 (cod_n,
|
|
cod_grupo,cod_tipo,cod_sec);
|
|
{ TABLE "informix".cctbh0001 row size = 118 number of columns = 23 index size = 42
|
|
}
|
|
create table "informix".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 "informix".n145_5,
|
|
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 "informix".cctbh0001 from "public";
|
|
|
|
create cluster index "informix".busca on "informix".cctbh0001
|
|
(tipo_cliente,sec_cliente,fecha_orig,num_doc,tipo_doc);
|
|
create unique index "informix".hist_01 on "informix".cctbh0001
|
|
(num_doc,tipo_doc);
|
|
{ TABLE "informix".cetb00001 row size = 417 number of columns = 16 index size = 12
|
|
}
|
|
create table "informix".cetb00001
|
|
(
|
|
memo_num integer,
|
|
fecha date,
|
|
hora char(8),
|
|
usuario_rec char(9),
|
|
usuario_envia char(9),
|
|
asunto char(50),
|
|
linea_1 char(60),
|
|
linea_2 char(60),
|
|
linea_3 char(60),
|
|
linea_4 char(60),
|
|
linea_5 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 "informix".cetb00001 from "public";
|
|
|
|
create index "informix".ix1491_1 on "informix".cetb00001 (memo_num);
|
|
|
|
{ TABLE "informix".cetb00002 row size = 141 number of columns = 11 index size = 0
|
|
}
|
|
create table "informix".cetb00002
|
|
(
|
|
usuario char(9),
|
|
nivel char(5),
|
|
nombres char(30),
|
|
apellidos char(30),
|
|
cargo char(30),
|
|
ultimo_memo 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 "informix".cetb00002 from "public";
|
|
|
|
{ TABLE "informix".cgtb00001 row size = 164 number of columns = 17 index size = 64
|
|
}
|
|
create table "informix".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 "informix".cgtb00001 from "public";
|
|
|
|
create index "informix".ix815_1 on "informix".cgtb00001 (cuenta_no);
|
|
|
|
create cluster index "informix".cgtb01_1 on "informix".cgtb00001
|
|
(status_t,cuenta_no);
|
|
create index "informix".ix1291_7 on "informix".cgtb00001 (nivel);
|
|
|
|
create index "informix".ix1291_12 on "informix".cgtb00001 (aplica_a);
|
|
|
|
{ TABLE "informix".cgtb00003 row size = 68 number of columns = 8 index size = 0 }
|
|
create table "informix".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 "informix".cgtb00003 from "public";
|
|
|
|
{ TABLE "informix".cgtb00005 row size = 94 number of columns = 13 index size = 85
|
|
}
|
|
create table "informix".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 "informix".cgtb00005 from "public";
|
|
|
|
create index "informix".ix840_1 on "informix".cgtb00005 (cuenta_no);
|
|
|
|
create index "informix".ix921_2 on "informix".cgtb00005 (cheque_no);
|
|
|
|
create index "informix".cgtb05_5 on "informix".cgtb00005 (cuenta_no,
|
|
status_t,fecha,cheque_no);
|
|
create index "informix".idx_44 on "informix".cgtb00005 (cuenta_no,
|
|
cheque_no);
|
|
{ TABLE "informix".cgtb00006 row size = 58 number of columns = 10 index size = 0
|
|
}
|
|
create table "informix".cgtb00006
|
|
(
|
|
numero serial not null constraint "informix".n154_7,
|
|
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 "informix".cgtb00006 from "public";
|
|
|
|
{ TABLE "informix".cgtb00007 row size = 169 number of columns = 22 index size = 0
|
|
}
|
|
create table "informix".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 "informix".cgtb00007 from "public";
|
|
|
|
{ TABLE "informix".cgtb00008 row size = 39 number of columns = 7 index size = 0 }
|
|
create table "informix".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 "informix".cgtb00008 from "public";
|
|
|
|
{ TABLE "informix".cgtb00009 row size = 43 number of columns = 7 index size = 0 }
|
|
create table "informix".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 "informix".cgtb00009 from "public";
|
|
|
|
{ TABLE "informix".cgtb00010 row size = 43 number of columns = 7 index size = 0 }
|
|
create table "informix".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 "informix".cgtb00010 from "public";
|
|
|
|
{ TABLE "informix".cgtb00011 row size = 104 number of columns = 8 index size = 9
|
|
}
|
|
create table "informix".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 "informix".cgtb00011 from "public";
|
|
|
|
create index "informix".ix748_1 on "informix".cgtb00011 (entrada_no);
|
|
|
|
{ TABLE "informix".cgtb00012 row size = 163 number of columns = 12 index size = 0
|
|
}
|
|
create table "informix".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 "informix".cgtb00012 from "public";
|
|
|
|
{ TABLE "informix".cgtb00013 row size = 48 number of columns = 6 index size = 0 }
|
|
create table "informix".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 "informix".cgtb00013 from "public";
|
|
|
|
{ TABLE "informix".cgtb00015 row size = 82 number of columns = 11 index size = 0
|
|
}
|
|
create table "informix".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 "informix".cgtb00015 from "public";
|
|
|
|
{ TABLE "informix".cgtb00016 row size = 37 number of columns = 6 index size = 0 }
|
|
create table "informix".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 "informix".cgtb00016 from "public";
|
|
|
|
{ TABLE "informix".cgtb00017 row size = 110 number of columns = 17 index size = 33
|
|
}
|
|
create table "informix".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,
|
|
com_cambia 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 "informix".cgtb00017 from "public";
|
|
|
|
create index "informix".ix1259_2 on "informix".cgtb00017 (num_oc);
|
|
|
|
create index "informix".ix1259_5 on "informix".cgtb00017 (rep_entrada);
|
|
|
|
create index "informix".ix1263_1 on "informix".cgtb00017 (tipo);
|
|
|
|
{ TABLE "informix".cgtb00018 row size = 70 number of columns = 15 index size = 33
|
|
}
|
|
create table "informix".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 "informix".cgtb00018 from "public";
|
|
|
|
create index "informix".ix1260_1 on "informix".cgtb00018 (tipo);
|
|
|
|
create index "informix".ix1262_3 on "informix".cgtb00018 (rep_entrada);
|
|
|
|
create index "informix".ix1260_2 on "informix".cgtb00018 (num_oc);
|
|
|
|
{ TABLE "informix".cgtb00019 row size = 205 number of columns = 19 index size = 0
|
|
}
|
|
create table "informix".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 "informix".cgtb00019 from "public";
|
|
|
|
{ TABLE "informix".cgtb00020 row size = 18 number of columns = 2 index size = 0 }
|
|
create table "informix".cgtb00020
|
|
(
|
|
secuencia integer,
|
|
ref char(14)
|
|
);
|
|
revoke all on "informix".cgtb00020 from "public";
|
|
|
|
{ TABLE "informix".cgtb00030 row size = 31 number of columns = 3 index size = 0 }
|
|
create table "informix".cgtb00030
|
|
(
|
|
id_n smallint,
|
|
usuario char(9),
|
|
ocupacion char(20)
|
|
);
|
|
revoke all on "informix".cgtb00030 from "public";
|
|
|
|
{ TABLE "informix".chequeo row size = 38 number of columns = 3 index size = 9 }
|
|
create table "informix".chequeo
|
|
(
|
|
dpto char(1),
|
|
departamento smallint,
|
|
nom_dpto char(35)
|
|
);
|
|
revoke all on "informix".chequeo from "public";
|
|
|
|
create index "informix".idx_1 on "informix".chequeo (departamento);
|
|
|
|
{ TABLE "informix".cotb00001 row size = 224 number of columns = 16 index size = 30
|
|
}
|
|
create table "informix".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 "informix".cotb00001 from "public";
|
|
|
|
create index "informix".ix139_2 on "informix".cotb00001 (cod_sp);
|
|
|
|
create index "informix".cod_sp1 on "informix".cotb00001 (cod_sp,
|
|
cod_sp_sec);
|
|
create index "informix".ix170_2 on "informix".cotb00001 (cod_sp_sec);
|
|
|
|
{ TABLE "informix".cotb00002 row size = 45 number of columns = 11 index size = 18
|
|
}
|
|
create table "informix".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 "informix".cotb00002 from "public";
|
|
|
|
create index "informix".ix153_1 on "informix".cotb00002 (cod_sp);
|
|
|
|
create index "informix".ix153_2 on "informix".cotb00002 (cod_sp_sec);
|
|
|
|
{ TABLE "informix".cotb00003 row size = 85 number of columns = 7 index size = 0 }
|
|
create table "informix".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 "informix".cotb00003 from "public";
|
|
|
|
{ TABLE "informix".cotb00004 row size = 51 number of columns = 12 index size = 18
|
|
}
|
|
create table "informix".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 "informix".cotb00004 from "public";
|
|
|
|
create index "informix".ix223_1 on "informix".cotb00004 (cod_embarque);
|
|
|
|
create index "informix".ix223_2 on "informix".cotb00004 (cod_furg);
|
|
|
|
{ TABLE "informix".cotb00005 row size = 104 number of columns = 8 index size = 0
|
|
}
|
|
create table "informix".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 "informix".cotb00005 from "public";
|
|
|
|
{ TABLE "informix".cotb00007 row size = 53 number of columns = 9 index size = 0 }
|
|
create table "informix".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 "informix".cotb00007 from "public";
|
|
|
|
{ TABLE "informix".cotb00011 row size = 111 number of columns = 18 index size = 21
|
|
}
|
|
create table "informix".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 "informix".cotb00011 from "public";
|
|
|
|
create index "informix".ix210_1 on "informix".cotb00011 (num_pr);
|
|
|
|
{ TABLE "informix".cotb00012 row size = 69 number of columns = 14 index size = 0
|
|
}
|
|
create table "informix".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 "informix".cotb00012 from "public";
|
|
|
|
{ TABLE "informix".cotb00013 row size = 65 number of columns = 13 index size = 0
|
|
}
|
|
create table "informix".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 "informix".cotb00013 from "public";
|
|
|
|
{ TABLE "informix".cotb00016 row size = 58 number of columns = 15 index size = 0
|
|
}
|
|
create table "informix".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 "informix".cotb00016 from "public";
|
|
|
|
{ TABLE "informix".cotb00017 row size = 81 number of columns = 13 index size = 57
|
|
}
|
|
create table "informix".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 "informix".cotb00017 from "public";
|
|
|
|
create index "informix".ix361_1 on "informix".cotb00017 (cod_n);
|
|
|
|
create index "informix".ix361_2 on "informix".cotb00017 (cod_grupo);
|
|
|
|
create index "informix".ix361_3 on "informix".cotb00017 (cod_tipo);
|
|
|
|
create index "informix".ix361_4 on "informix".cotb00017 (cod_sec);
|
|
|
|
create index "informix".ix361_6 on "informix".cotb00017 (cod_pt);
|
|
|
|
create index "informix".ix361_7 on "informix".cotb00017 (via_t);
|
|
|
|
{ TABLE "informix".cotb00018 row size = 96 number of columns = 7 index size = 10
|
|
}
|
|
create table "informix".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 "informix".cotb00018 from "public";
|
|
|
|
create index "informix".ix220_1 on "informix".cotb00018 (cod_pais);
|
|
|
|
{ TABLE "informix".cotb00019 row size = 102 number of columns = 10 index size = 12
|
|
}
|
|
create table "informix".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 "informix".cotb00019 from "public";
|
|
|
|
create index "informix".ix218_1 on "informix".cotb00019 (cod_pt);
|
|
|
|
{ TABLE "informix".cotb00020 row size = 43 number of columns = 9 index size = 36
|
|
}
|
|
create table "informix".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 "informix".cotb00020 from "public";
|
|
|
|
create index "informix".ix461_3 on "informix".cotb00020 (cod_n);
|
|
|
|
create index "informix".ix461_4 on "informix".cotb00020 (cod_grupo);
|
|
|
|
create index "informix".ix461_5 on "informix".cotb00020 (cod_tipo);
|
|
|
|
create index "informix".ix461_6 on "informix".cotb00020 (cod_sec);
|
|
|
|
{ TABLE "informix".cotb00022 row size = 82 number of columns = 8 index size = 12
|
|
}
|
|
create table "informix".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 "informix".cotb00022 from "public";
|
|
|
|
create index "informix".ix222_1 on "informix".cotb00022 (cod_ca);
|
|
|
|
{ TABLE "informix".cotb00024 row size = 95 number of columns = 8 index size = 0 }
|
|
create table "informix".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 "informix".cotb00024 from "public";
|
|
|
|
{ TABLE "informix".cotb00025 row size = 75 number of columns = 17 index size = 27
|
|
}
|
|
create table "informix".cotb00025
|
|
(
|
|
num_oc integer,
|
|
tipo char(2),
|
|
num_req integer not null constraint "informix".n190_8,
|
|
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 "informix".cotb00025 from "public";
|
|
|
|
create index "informix".clave25 on "informix".cotb00025 (num_oc,
|
|
tipo,cod_n,cod_grupo,cod_tipo,cod_sec);
|
|
{ TABLE "informix".cotb00026 row size = 59 number of columns = 13 index size = 24
|
|
}
|
|
create table "informix".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 "informix".cotb00026 from "public";
|
|
|
|
create index "informix".ix232_1 on "informix".cotb00026 (rango_plan);
|
|
|
|
create index "informix".ix232_2 on "informix".cotb00026 (fecha_ini);
|
|
|
|
{ TABLE "informix".cotb00027 row size = 85 number of columns = 7 index size = 0 }
|
|
create table "informix".cotb00027
|
|
(
|
|
cod_embarque smallint not null constraint "informix".n192_9,
|
|
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 "informix".cotb00027 from "public";
|
|
|
|
{ TABLE "informix".cotb00028 row size = 2 number of columns = 1 index size = 0 }
|
|
create table "informix".cotb00028
|
|
(
|
|
dia smallint
|
|
);
|
|
revoke all on "informix".cotb00028 from "public";
|
|
|
|
{ TABLE "informix".cotb00029 row size = 253 number of columns = 13 index size = 0
|
|
}
|
|
create table "informix".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 "informix".cotb00029 from "public";
|
|
|
|
{ TABLE "informix".cotb00030 row size = 37 number of columns = 6 index size = 12
|
|
}
|
|
create table "informix".cotb00030
|
|
(
|
|
num_oc integer not null ,
|
|
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 "informix".cotb00030 from "public";
|
|
|
|
create unique index "usainf01".ix184_1 on "informix".cotb00030
|
|
(num_oc);
|
|
{ TABLE "informix".cotb00031 row size = 78 number of columns = 9 index size = 0 }
|
|
create table "informix".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 "informix".cotb00031 from "public";
|
|
|
|
{ TABLE "informix".cotb00032 row size = 80 number of columns = 16 index size = 57
|
|
}
|
|
create table "informix".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 "informix".cotb00032 from "public";
|
|
|
|
create index "informix".clave32 on "informix".cotb00032 (num_oc,
|
|
tipo,num_req,cod_n,cod_grupo,cod_tipo,cod_sec);
|
|
create cluster index "informix".cotb32_1 on "informix".cotb00032
|
|
(num_oc,cod_n,cod_grupo,cod_tipo,cod_sec);
|
|
{ TABLE "informix".cotb00033 row size = 130 number of columns = 22 index size = 39
|
|
}
|
|
create table "informix".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 "informix".cotb00033 from "public";
|
|
|
|
create index "informix".h_sup1 on "informix".cotb00033 (cod_sp,
|
|
cod_sp_sec);
|
|
create index "informix".h_fec1 on "informix".cotb00033 (fech_oc);
|
|
|
|
create unique index "informix".h_ord1 on "informix".cotb00033
|
|
(num_oc,tipo);
|
|
{ TABLE "informix".cotb00034 row size = 80 number of columns = 16 index size = 66
|
|
}
|
|
create table "informix".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 "informix".cotb00034 from "public";
|
|
|
|
create index "informix".h_ord2 on "informix".cotb00034 (num_oc,
|
|
tipo);
|
|
create index "informix".h_cod2 on "informix".cotb00034 (cod_n,
|
|
cod_grupo,cod_tipo,cod_sec);
|
|
create unique index "informix".h_n_cod on "informix".cotb00034
|
|
(num_oc,tipo,num_req,cod_n,cod_grupo,cod_tipo,cod_sec);
|
|
{ TABLE "informix".cotb00035 row size = 75 number of columns = 17 index size = 0
|
|
}
|
|
create table "informix".cotb00035
|
|
(
|
|
num_oc integer,
|
|
tipo char(2),
|
|
num_req integer not null constraint "informix".n200_10,
|
|
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 "informix".cotb00035 from "public";
|
|
|
|
{ TABLE "informix".cptb00002 row size = 66 number of columns = 11 index size = 36
|
|
}
|
|
create table "informix".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 "informix".cptb00002 from "public";
|
|
|
|
create index "informix".ix618_1 on "informix".cptb00002 (cod_sp);
|
|
|
|
create index "informix".ix618_2 on "informix".cptb00002 (cod_sp_sec);
|
|
|
|
create index "informix".ix618_3 on "informix".cptb00002 (cuenta_no);
|
|
|
|
{ TABLE "informix".cptb00003 row size = 121 number of columns = 17 index size = 153
|
|
}
|
|
create table "informix".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 "informix".cptb00003 from "public";
|
|
|
|
create index "informix".ix399_4 on "informix".cptb00003 (cuenta_no);
|
|
|
|
create index "informix".ix399_5 on "informix".cptb00003 (departamento);
|
|
|
|
create index "informix".ix399_6 on "informix".cptb00003 (num_doc);
|
|
|
|
create index "informix".ix399_7 on "informix".cptb00003 (cod_aux);
|
|
|
|
create index "informix".ix399_8 on "informix".cptb00003 (cod_sec);
|
|
|
|
create index "informix".contab on "informix".cptb00003 (cod_sp,
|
|
cod_sp_sec,factura,cuenta_no);
|
|
create index "informix".cprp11 on "informix".cptb00003 (cod_sp,
|
|
cod_sp_sec,factura,cuenta_no,fecha);
|
|
{ TABLE "informix".cptb00005 row size = 121 number of columns = 17 index size = 0
|
|
}
|
|
create table "informix".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 "informix".cptb00005 from "public";
|
|
|
|
{ TABLE "informix".cptb00006 row size = 120 number of columns = 17 index size = 0
|
|
}
|
|
create table "informix".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 "informix".n205_12,
|
|
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 "informix".cptb00006 from "public";
|
|
|
|
{ TABLE "informix".cttb00001 row size = 86 number of columns = 9 index size = 12
|
|
}
|
|
create table "informix".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 "informix".cttb00001 from "public";
|
|
|
|
create index "informix".ix539_1 on "informix".cttb00001 (cod_prod);
|
|
|
|
{ TABLE "informix".cttb00006 row size = 52 number of columns = 11 index size = 48
|
|
}
|
|
create table "informix".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 "informix".cttb00006 from "public";
|
|
|
|
create index "informix".ix646_1 on "informix".cttb00006 (cod_n);
|
|
|
|
create index "informix".ix646_2 on "informix".cttb00006 (cod_grupo);
|
|
|
|
create index "informix".ix646_3 on "informix".cttb00006 (cod_tipo);
|
|
|
|
create index "informix".ix646_4 on "informix".cttb00006 (cod_sec);
|
|
|
|
create index "informix".ix646_5 on "informix".cttb00006 (cod_prod);
|
|
|
|
{ TABLE "informix".cttb00007 row size = 56 number of columns = 7 index size = 10
|
|
}
|
|
create table "informix".cttb00007
|
|
(
|
|
codigo_unidad char(3) not null constraint "informix".n209_13,
|
|
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 "informix".cttb00007 from "public";
|
|
|
|
create index "informix".ix547_1 on "informix".cttb00007 (codigo_unidad);
|
|
|
|
{ TABLE "informix".cttb00008 row size = 73 number of columns = 12 index size = 9
|
|
}
|
|
create table "informix".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 "informix".cttb00008 from "public";
|
|
|
|
create index "informix".ix584_2 on "informix".cttb00008 (departamento);
|
|
|
|
{ TABLE "informix".cttb00010 row size = 36 number of columns = 5 index size = 0 }
|
|
create table "informix".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 "informix".cttb00010 from "public";
|
|
|
|
{ TABLE "informix".cttb00011 row size = 51 number of columns = 11 index size = 36
|
|
}
|
|
create table "informix".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 "informix".cttb00011 from "public";
|
|
|
|
create index "informix".ct11 on "informix".cttb00011 (cod_n,cod_grupo,
|
|
cod_tipo,cod_sec,cod_prod);
|
|
create index "informix".ct11_1 on "informix".cttb00011 (cod_prod);
|
|
|
|
{ TABLE "informix".cttb00013 row size = 68 number of columns = 15 index size = 55
|
|
}
|
|
create table "informix".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 "informix".cttb00013 from "public";
|
|
|
|
create index "informix".ix630_1 on "informix".cttb00013 (cod_n);
|
|
|
|
create index "informix".ix633_1 on "informix".cttb00013 (num_oc);
|
|
|
|
create cluster index "informix".cttb13_1 on "informix".cttb00013
|
|
(cod_n,cod_grupo,cod_tipo,cod_sec);
|
|
create index "informix".cttb13_2 on "informix".cttb00013 (fecha_lq,
|
|
tipo_lq,cod_n);
|
|
{ TABLE "informix".cttb00014 row size = 52 number of columns = 9 index size = 33
|
|
}
|
|
create table "informix".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 "informix".cttb00014 from "public";
|
|
|
|
create index "informix".ix640_1 on "informix".cttb00014 (cod_prod);
|
|
|
|
create index "informix".ct14 on "informix".cttb00014 (cod_prod,
|
|
mes,ano);
|
|
{ TABLE "informix".cttb00015 row size = 58 number of columns = 12 index size = 39
|
|
}
|
|
create table "informix".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 "informix".cttb00015 from "public";
|
|
|
|
create index "informix".ix641_1 on "informix".cttb00015 (cod_n);
|
|
|
|
create index "informix".ix641_2 on "informix".cttb00015 (cod_grupo);
|
|
|
|
create index "informix".ix641_3 on "informix".cttb00015 (cod_tipo);
|
|
|
|
create index "informix".ix641_4 on "informix".cttb00015 (cod_sec);
|
|
|
|
{ TABLE "informix".cttb00021 row size = 53 number of columns = 8 index size = 0 }
|
|
create table "informix".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 "informix".cttb00021 from "public";
|
|
|
|
{ TABLE "informix".cttb00022 row size = 49 number of columns = 11 index size = 9
|
|
}
|
|
create table "informix".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 "informix".cttb00022 from "public";
|
|
|
|
create index "informix".ix862_2 on "informix".cttb00022 (cod_prod);
|
|
|
|
{ TABLE "informix".cttb00023 row size = 55 number of columns = 11 index size = 0
|
|
}
|
|
create table "informix".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 "informix".cttb00023 from "public";
|
|
|
|
{ TABLE "informix".cttb00026 row size = 54 number of columns = 10 index size = 27
|
|
}
|
|
create table "informix".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 "informix".cttb00026 from "public";
|
|
|
|
create cluster index "informix".costo_prod on "informix".cttb00026
|
|
(cod_prod,mes_ini,mes_fin,ano);
|
|
{ TABLE "informix".cttb00027 row size = 37 number of columns = 6 index size = 0 }
|
|
create table "informix".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 "informix".cttb00027 from "public";
|
|
|
|
{ TABLE "informix".cttb00028 row size = 73 number of columns = 12 index size = 0
|
|
}
|
|
create table "informix".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 "informix".cttb00028 from "public";
|
|
|
|
{ TABLE "informix".cttb00029 row size = 51 number of columns = 9 index size = 0 }
|
|
create table "informix".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 "informix".cttb00029 from "public";
|
|
|
|
{ TABLE "informix".cttb00031 row size = 106 number of columns = 17 index size = 12
|
|
}
|
|
create table "informix".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 "informix".cttb00031 from "public";
|
|
|
|
create index "informix".ix1816_1 on "informix".cttb00031 (fecha);
|
|
|
|
{ TABLE "informix".cttb00032 row size = 144 number of columns = 29 index size = 15
|
|
}
|
|
create table "informix".cttb00032
|
|
(
|
|
ano smallint,
|
|
mes smallint not null constraint "informix".n224_14,
|
|
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 "informix".cttb00032 from "public";
|
|
|
|
create index "informix".cttb32_1 on "informix".cttb00032 (ano,
|
|
mes,cod_n);
|
|
{ TABLE "informix".cttb00033 row size = 40 number of columns = 5 index size = 0 }
|
|
create table "informix".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 "informix".cttb00033 from "public";
|
|
|
|
{ TABLE "informix".cttb00034 row size = 49 number of columns = 9 index size = 22
|
|
}
|
|
create table "informix".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 "informix".cttb00034 from "public";
|
|
|
|
create index "informix".ctrp03 on "informix".cttb00034 (cod_prod);
|
|
|
|
create index "informix".ctrp03_1 on "informix".cttb00034 (fecha,
|
|
status_t);
|
|
{ TABLE "informix".cttb00035 row size = 65 number of columns = 14 index size = 0
|
|
}
|
|
create table "informix".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 "informix".cttb00035 from "public";
|
|
|
|
{ TABLE "informix".cttb00036 row size = 65 number of columns = 14 index size = 27
|
|
}
|
|
create table "informix".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 "informix".cttb00036 from "public";
|
|
|
|
create index "informix".costos on "informix".cttb00036 (fecha_lq,
|
|
ventas,cod_n,cod_grupo,cod_tipo,cod_sec);
|
|
{ TABLE "informix".cttb00041 row size = 51 number of columns = 11 index size = 0
|
|
}
|
|
create table "informix".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 "informix".cttb00041 from "public";
|
|
|
|
{ TABLE "informix".dstb00002 row size = 235 number of columns = 11 index size = 19
|
|
}
|
|
create table "informix".dstb00002
|
|
(
|
|
programa char(9),
|
|
numero_act char(9),
|
|
linea_no integer,
|
|
entradas char(60),
|
|
proceso char(60),
|
|
salida 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 "informix".dstb00002 from "public";
|
|
|
|
create index "informix".ix1740_1 on "informix".dstb00002 (programa);
|
|
|
|
{ TABLE "informix".dstb00003 row size = 70 number of columns = 7 index size = 0 }
|
|
create table "informix".dstb00003
|
|
(
|
|
cod_sistema char(2),
|
|
desc_sistema char(35),
|
|
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 "informix".dstb00003 from "public";
|
|
|
|
{ TABLE "informix".dstb00005 row size = 292 number of columns = 15 index size = 0
|
|
}
|
|
create table "informix".dstb00005
|
|
(
|
|
tabla char(9),
|
|
descripcion char(40),
|
|
num_emp1 integer,
|
|
fecha_creacion date,
|
|
numero_act integer,
|
|
campo char(20),
|
|
descrip_campo char(150),
|
|
tipo char(8),
|
|
longitud char(16),
|
|
secuencia 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 "informix".dstb00005 from "public";
|
|
|
|
{ TABLE "informix".dstb00006 row size = 60 number of columns = 8 index size = 39
|
|
}
|
|
create table "informix".dstb00006
|
|
(
|
|
programa char(9),
|
|
numero_act char(9),
|
|
tabla 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 "informix".dstb00006 from "public";
|
|
|
|
create index "informix".dstb06_1 on "informix".dstb00006 (tabla);
|
|
|
|
create index "informix".dstb06_2 on "informix".dstb00006 (programa);
|
|
|
|
{ TABLE "informix".ihtb00002 row size = 49 number of columns = 11 index size = 36
|
|
}
|
|
create table "informix".ihtb00002
|
|
(
|
|
cod_n smallint not null constraint "informix".n241_15,
|
|
cod_grupo smallint not null constraint "informix".n241_16,
|
|
cod_tipo smallint not null constraint "informix".n241_17,
|
|
cod_sec smallint not null constraint "informix".n241_18,
|
|
existencia 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 "informix".ihtb00002 from "public";
|
|
|
|
create index "informix".ix283_1 on "informix".ihtb00002 (cod_n);
|
|
|
|
create index "informix".ix283_2 on "informix".ihtb00002 (cod_grupo);
|
|
|
|
create index "informix".ix283_3 on "informix".ihtb00002 (cod_tipo);
|
|
|
|
create index "informix".ix283_4 on "informix".ihtb00002 (cod_sec);
|
|
|
|
{ TABLE "informix".ihtb00003 row size = 98 number of columns = 23 index size = 0
|
|
}
|
|
create table "informix".ihtb00003
|
|
(
|
|
num_doc integer not null constraint "informix".n242_19,
|
|
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 "informix".n242_20,
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
cantidad_1 decimal(10,2),
|
|
cantidad_2 decimal(10,2),
|
|
sec_de smallint,
|
|
sec_a smallint,
|
|
status_mov 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 "informix".ihtb00003 from "public";
|
|
|
|
{ TABLE "informix".ihtb00005 row size = 88 number of columns = 11 index size = 9
|
|
}
|
|
create table "informix".ihtb00005
|
|
(
|
|
cod_mov smallint not null constraint "informix".n243_21,
|
|
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 "informix".ihtb00005 from "public";
|
|
|
|
create index "informix".ix286_1 on "informix".ihtb00005 (cod_mov);
|
|
|
|
{ TABLE "informix".ihtb00006 row size = 98 number of columns = 23 index size = 103
|
|
}
|
|
create table "informix".ihtb00006
|
|
(
|
|
num_doc integer not null constraint "informix".n244_22,
|
|
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 "informix".n244_23,
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
cantidad_1 decimal(10,2),
|
|
cantidad_2 decimal(10,2),
|
|
sec_de smallint,
|
|
sec_a smallint,
|
|
status_mov 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 "informix".ihtb00006 from "public";
|
|
|
|
create index "informix".ix284_1 on "informix".ihtb00006 (num_doc);
|
|
|
|
create index "informix".ix284_2 on "informix".ihtb00006 (fecha);
|
|
|
|
create index "informix".ix284_9 on "informix".ihtb00006 (cod_n);
|
|
|
|
create index "informix".ix284_10 on "informix".ihtb00006 (cod_grupo);
|
|
|
|
create index "informix".ix284_12 on "informix".ihtb00006 (cod_sec);
|
|
|
|
create index "informix".ix211_8 on "informix".ihtb00006 (cod_mov);
|
|
|
|
create cluster index "informix".ihtb06_1 on "informix".ihtb00006
|
|
(cod_n,cod_grupo,cod_tipo,cod_sec,fecha,orden_compra,status_t,
|
|
cod_mov);
|
|
create index "informix".ix284_11 on "informix".ihtb00006 (cod_tipo);
|
|
|
|
{ TABLE "informix".ihtb00007 row size = 65 number of columns = 7 index size = 0 }
|
|
create table "informix".ihtb00007
|
|
(
|
|
codigo smallint,
|
|
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 "informix".ihtb00007 from "public";
|
|
|
|
{ TABLE "informix".ihtb00008 row size = 41 number of columns = 7 index size = 0 }
|
|
create table "informix".ihtb00008
|
|
(
|
|
num_entrada integer not null constraint "informix".n246_24,
|
|
num_salida integer not null constraint "informix".n246_25,
|
|
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 "informix".ihtb00008 from "public";
|
|
|
|
{ TABLE "informix".intb00001 row size = 164 number of columns = 12 index size = 150
|
|
}
|
|
create table "informix".intb00001
|
|
(
|
|
cod_n smallint not null constraint "informix".n248_26,
|
|
cod_grupo smallint not null constraint "informix".n248_27,
|
|
cod_tipo smallint not null constraint "informix".n248_28,
|
|
cod_sec smallint not null constraint "informix".n248_29,
|
|
descrip_esp char(60) not null ,
|
|
descrip_ing char(60),
|
|
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 "informix".intb00001 from "public";
|
|
|
|
create index "informix".ix162_1 on "informix".intb00001 (cod_n);
|
|
|
|
create index "informix".ix162_2 on "informix".intb00001 (cod_grupo);
|
|
|
|
create index "informix".ix162_3 on "informix".intb00001 (cod_tipo);
|
|
|
|
create index "informix".ix162_4 on "informix".intb00001 (cod_sec);
|
|
|
|
create cluster index "informix".alfa on "informix".intb00001 (descrip_esp);
|
|
|
|
create unique index "informix".in_cod_n on "informix".intb00001
|
|
(cod_n,cod_grupo,cod_tipo,cod_sec);
|
|
{ TABLE "informix".intb00002 row size = 79 number of columns = 17 index size = 54
|
|
}
|
|
create table "informix".intb00002
|
|
(
|
|
cod_n smallint not null constraint "informix".n249_31,
|
|
cod_grupo smallint not null constraint "informix".n249_32,
|
|
cod_tipo smallint not null constraint "informix".n249_33,
|
|
cod_sec smallint not null constraint "informix".n249_34,
|
|
pto_reorden decimal(10,2) not null constraint "informix".n249_35,
|
|
existencia decimal(10,2) not null constraint "informix".n249_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 "informix".intb00002 from "public";
|
|
|
|
create index "informix".ix200_1 on "informix".intb00002 (cod_n);
|
|
|
|
create index "informix".ix200_2 on "informix".intb00002 (cod_grupo);
|
|
|
|
create index "informix".ix200_3 on "informix".intb00002 (cod_tipo);
|
|
|
|
create index "informix".ix200_4 on "informix".intb00002 (cod_sec);
|
|
|
|
create unique index "informix".in_cod_n1 on "informix".intb00002
|
|
(cod_n,cod_grupo,cod_tipo,cod_sec);
|
|
{ TABLE "informix".intb00003 row size = 50 number of columns = 14 index size = 43
|
|
}
|
|
create table "informix".intb00003
|
|
(
|
|
cod_n smallint not null constraint "informix".n250_37,
|
|
cod_grupo smallint not null constraint "informix".n250_38,
|
|
cod_tipo smallint not null constraint "informix".n250_39,
|
|
cod_sec smallint not null constraint "informix".n250_40,
|
|
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 "informix".intb00003 from "public";
|
|
|
|
create index "informix".ix117_1 on "informix".intb00003 (cod_n);
|
|
|
|
create index "informix".ix117_2 on "informix".intb00003 (cod_grupo);
|
|
|
|
create index "informix".ix117_3 on "informix".intb00003 (cod_tipo);
|
|
|
|
create index "informix".ix117_4 on "informix".intb00003 (cod_sec);
|
|
|
|
create index "informix".ix126_9 on "informix".intb00003 (cod_uso_s);
|
|
|
|
{ TABLE "informix".intb00004 row size = 50 number of columns = 14 index size = 34
|
|
}
|
|
create table "informix".intb00004
|
|
(
|
|
cod_n smallint not null constraint "informix".n251_41,
|
|
cod_grupo smallint not null constraint "informix".n251_42,
|
|
cod_tipo smallint not null constraint "informix".n251_43,
|
|
cod_sec smallint not null constraint "informix".n251_44,
|
|
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 "informix".intb00004 from "public";
|
|
|
|
create index "informix".ix106_2 on "informix".intb00004 (cod_grupo);
|
|
|
|
create index "informix".ix106_3 on "informix".intb00004 (cod_tipo);
|
|
|
|
create index "informix".ix106_4 on "informix".intb00004 (cod_sec);
|
|
|
|
create index "informix".ix127_9 on "informix".intb00004 (cod_uso_e);
|
|
|
|
{ TABLE "informix".intb00005 row size = 88 number of columns = 11 index size = 9
|
|
}
|
|
create table "informix".intb00005
|
|
(
|
|
cod_mov smallint not null constraint "informix".n252_45,
|
|
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 "informix".intb00005 from "public";
|
|
|
|
create unique index "informix".ix166_1 on "informix".intb00005
|
|
(cod_mov);
|
|
{ TABLE "informix".intb00007 row size = 56 number of columns = 7 index size = 10
|
|
}
|
|
create table "informix".intb00007
|
|
(
|
|
codigo_unidad char(3) not null constraint "informix".n253_46,
|
|
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 "informix".intb00007 from "public";
|
|
|
|
create unique index "informix".in_codigo_unidad on "informix".intb00007
|
|
(codigo_unidad);
|
|
{ TABLE "informix".intb00009 row size = 32 number of columns = 2 index size = 9 }
|
|
create table "informix".intb00009
|
|
(
|
|
cod_bodega smallint,
|
|
descripcion char(30)
|
|
);
|
|
revoke all on "informix".intb00009 from "public";
|
|
|
|
create unique index "informix".ix172_1 on "informix".intb00009
|
|
(cod_bodega);
|
|
{ TABLE "informix".intb00011 row size = 59 number of columns = 12 index size = 57
|
|
}
|
|
create table "informix".intb00011
|
|
(
|
|
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 "informix".intb00011 from "public";
|
|
|
|
create index "informix".ix255_1 on "informix".intb00011 (fecha);
|
|
|
|
create index "informix".ix255_2 on "informix".intb00011 (bodega);
|
|
|
|
create index "informix".ix255_3 on "informix".intb00011 (cod_n);
|
|
|
|
create index "informix".ix255_4 on "informix".intb00011 (cod_grupo);
|
|
|
|
create index "informix".ix255_5 on "informix".intb00011 (cod_tipo);
|
|
|
|
create index "informix".ix255_6 on "informix".intb00011 (cod_sec);
|
|
|
|
{ TABLE "informix".intb00013 row size = 72 number of columns = 13 index size = 108
|
|
}
|
|
create table "informix".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 "informix".intb00013 from "public";
|
|
|
|
create index "informix".ix206_4 on "informix".intb00013 (cod_n);
|
|
|
|
create index "informix".ix206_5 on "informix".intb00013 (cod_grupo);
|
|
|
|
create index "informix".ix206_6 on "informix".intb00013 (cod_tipo);
|
|
|
|
create index "informix".ix206_7 on "informix".intb00013 (cod_sec);
|
|
|
|
create unique index "informix".costo on "informix".intb00013 (mes_ini,
|
|
mes_fin,ano,cod_n,cod_grupo,cod_tipo,cod_sec);
|
|
create index "informix".intb13_1 on "informix".intb00013 (cod_n,
|
|
cod_grupo,cod_tipo,cod_sec);
|
|
{ TABLE "informix".intb00014 row size = 46 number of columns = 11 index size = 36
|
|
}
|
|
create table "informix".intb00014
|
|
(
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
categoria char(1),
|
|
mes_ch 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 "informix".intb00014 from "public";
|
|
|
|
create index "informix".ix453_1 on "informix".intb00014 (cod_n);
|
|
|
|
create index "informix".ix453_2 on "informix".intb00014 (cod_grupo);
|
|
|
|
create index "informix".ix453_3 on "informix".intb00014 (cod_tipo);
|
|
|
|
create index "informix".ix453_4 on "informix".intb00014 (cod_sec);
|
|
|
|
{ TABLE "informix".intb00015 row size = 61 number of columns = 13 index size = 36
|
|
}
|
|
create table "informix".intb00015
|
|
(
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
semana_del date,
|
|
semana_al date,
|
|
exis_act decimal(10,2),
|
|
exis_fisica 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 "informix".intb00015 from "public";
|
|
|
|
create index "informix".ix457_1 on "informix".intb00015 (cod_n);
|
|
|
|
create index "informix".ix457_2 on "informix".intb00015 (cod_grupo);
|
|
|
|
create index "informix".ix457_3 on "informix".intb00015 (cod_tipo);
|
|
|
|
create index "informix".ix457_4 on "informix".intb00015 (cod_sec);
|
|
|
|
{ TABLE "informix".intb00017 row size = 53 number of columns = 10 index size = 30
|
|
}
|
|
create table "informix".intb00017
|
|
(
|
|
num_sol integer,
|
|
fecha date,
|
|
cod_n_p smallint,
|
|
cod_grupo_p smallint,
|
|
cantidad decimal(13,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 "informix".intb00017 from "public";
|
|
|
|
create index "informix".ix808_1 on "informix".intb00017 (num_sol);
|
|
|
|
create index "informix".ix808_2 on "informix".intb00017 (cod_n_p);
|
|
|
|
create index "informix".ix808_3 on "informix".intb00017 (cod_grupo_p);
|
|
|
|
{ TABLE "informix".intb00019 row size = 61 number of columns = 13 index size = 60
|
|
}
|
|
create table "informix".intb00019
|
|
(
|
|
num_res integer,
|
|
num_sol integer,
|
|
fecha date,
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
cantidad decimal(13,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 "informix".intb00019 from "public";
|
|
|
|
create index "informix".ix807_1 on "informix".intb00019 (num_res);
|
|
|
|
create index "informix".ix807_2 on "informix".intb00019 (num_sol);
|
|
|
|
create index "informix".ix807_3 on "informix".intb00019 (cod_n);
|
|
|
|
create index "informix".ix807_4 on "informix".intb00019 (cod_grupo);
|
|
|
|
create index "informix".ix807_5 on "informix".intb00019 (cod_tipo);
|
|
|
|
create index "informix".ix807_6 on "informix".intb00019 (cod_sec);
|
|
|
|
{ TABLE "informix".intb00022 row size = 116 number of columns = 14 index size = 36
|
|
}
|
|
create table "informix".intb00022
|
|
(
|
|
cod_n smallint not null constraint "informix".n264_53,
|
|
cod_grupo smallint not null constraint "informix".n264_54,
|
|
cod_tipo smallint not null constraint "informix".n264_55,
|
|
cod_sec smallint not null constraint "informix".n264_56,
|
|
descrip_esp char(30),
|
|
descrip_ing char(30),
|
|
unidad_med char(3),
|
|
costo_real_ci decimal(9,4),
|
|
costo_real_si decimal(9,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 "informix".intb00022 from "public";
|
|
|
|
create index "informix".ix804_1 on "informix".intb00022 (cod_n);
|
|
|
|
create index "informix".ix804_2 on "informix".intb00022 (cod_grupo);
|
|
|
|
create index "informix".ix804_3 on "informix".intb00022 (cod_tipo);
|
|
|
|
create index "informix".ix804_4 on "informix".intb00022 (cod_sec);
|
|
|
|
{ TABLE "informix".intb00024 row size = 103 number of columns = 26 index size = 0
|
|
}
|
|
create table "informix".intb00024
|
|
(
|
|
num_doc integer not null constraint "informix".n265_57,
|
|
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 "informix".n265_58,
|
|
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,
|
|
cod_seccion char(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 "informix".intb00024 from "public";
|
|
|
|
{ TABLE "informix".iptb00003 row size = 61 number of columns = 10 index size = 0
|
|
}
|
|
create table "informix".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 "informix".iptb00003 from "public";
|
|
|
|
{ TABLE "informix".iptb00004 row size = 74 number of columns = 16 index size = 63
|
|
}
|
|
create table "informix".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,
|
|
material decimal(12,7),
|
|
labor decimal(12,7),
|
|
gasto_ind 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 "informix".iptb00004 from "public";
|
|
|
|
create index "informix".ix364_1 on "informix".iptb00004 (mes_ini);
|
|
|
|
create index "informix".ix364_2 on "informix".iptb00004 (mes_fin);
|
|
|
|
create index "informix".ix364_3 on "informix".iptb00004 (ano);
|
|
|
|
create index "informix".ix436_1 on "informix".iptb00004 (ventas);
|
|
|
|
create index "informix".costo4 on "informix".iptb00004 (cod_n,
|
|
cod_grupo,cod_tipo,cod_sec,ventas,ano);
|
|
{ TABLE "informix".iptb00005 row size = 100 number of columns = 11 index size = 0
|
|
}
|
|
create table "informix".iptb00005
|
|
(
|
|
cod_mov smallint not null constraint "informix".n273_61,
|
|
descrip_mov char(40),
|
|
status_mov char(1),
|
|
cuenta_1 char(8),
|
|
cuenta_2 char(8),
|
|
cuenta_3 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 "informix".iptb00005 from "public";
|
|
|
|
{ TABLE "informix".iptb00007 row size = 39 number of columns = 7 index size = 0 }
|
|
create table "informix".iptb00007
|
|
(
|
|
num_doc integer not null constraint "informix".n274_62,
|
|
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 "informix".iptb00007 from "public";
|
|
|
|
{ TABLE "informix".iptb00011 row size = 59 number of columns = 12 index size = 48
|
|
}
|
|
create table "informix".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 "informix".iptb00011 from "public";
|
|
|
|
create index "informix".ix392_1 on "informix".iptb00011 (fecha);
|
|
|
|
create index "informix".ix392_3 on "informix".iptb00011 (cod_n);
|
|
|
|
create index "informix".ix392_4 on "informix".iptb00011 (cod_grupo);
|
|
|
|
create index "informix".ix392_5 on "informix".iptb00011 (cod_tipo);
|
|
|
|
create index "informix".ix392_6 on "informix".iptb00011 (cod_sec);
|
|
|
|
{ TABLE "informix".irtb00001 row size = 56 number of columns = 13 index size = 0
|
|
}
|
|
create table "informix".irtb00001
|
|
(
|
|
cod_n smallint not null constraint "informix".n276_63,
|
|
cod_grupo smallint not null constraint "informix".n276_64,
|
|
cod_tipo smallint not null constraint "informix".n276_65,
|
|
cod_sec smallint not null constraint "informix".n276_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 "informix".irtb00001 from "public";
|
|
|
|
{ TABLE "informix".irtb00002 row size = 56 number of columns = 13 index size = 43
|
|
}
|
|
create table "informix".irtb00002
|
|
(
|
|
cod_n smallint not null constraint "informix".n277_67,
|
|
cod_grupo smallint not null constraint "informix".n277_68,
|
|
cod_tipo smallint not null constraint "informix".n277_69,
|
|
cod_sec smallint not null constraint "informix".n277_70,
|
|
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 "informix".irtb00002 from "public";
|
|
|
|
create index "informix".ircod on "informix".irtb00002 (cod_n,cod_grupo,
|
|
cod_tipo,cod_sec);
|
|
create index "informix".ircod1 on "informix".irtb00002 (cod_tipo);
|
|
|
|
create index "informix".ircod2 on "informix".irtb00002 (status_t);
|
|
|
|
create index "informix".idx5 on "informix".irtb00002 (cod_grupo);
|
|
|
|
{ TABLE "informix".irtb00003 row size = 100 number of columns = 24 index size = 0
|
|
}
|
|
create table "informix".irtb00003
|
|
(
|
|
num_doc integer not null constraint "informix".n278_71,
|
|
fecha date,
|
|
fact_no char(10),
|
|
conduce_no char(10),
|
|
tipo char(2),
|
|
orden_compra integer,
|
|
cod_sp smallint,
|
|
cod_sp_sec smallint,
|
|
cod_mov smallint not null constraint "informix".n278_72,
|
|
maquina smallint,
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
cantidad_1 decimal(10,2),
|
|
cantidad_2 decimal(10,2),
|
|
sec_de smallint,
|
|
sec_a smallint,
|
|
status_mov 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 "informix".irtb00003 from "public";
|
|
|
|
{ TABLE "informix".irtb00004 row size = 65 number of columns = 7 index size = 9 }
|
|
create table "informix".irtb00004
|
|
(
|
|
codigo smallint,
|
|
nombre 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 "informix".irtb00004 from "public";
|
|
|
|
create unique index "informix".ix331_1 on "informix".irtb00004
|
|
(codigo);
|
|
{ TABLE "informix".irtb00006 row size = 100 number of columns = 24 index size = 156
|
|
}
|
|
create table "informix".irtb00006
|
|
(
|
|
num_doc integer not null constraint "informix".n281_74,
|
|
fecha date,
|
|
fact_no char(10),
|
|
conduce_no char(10),
|
|
tipo char(2),
|
|
orden_compra integer,
|
|
cod_sp smallint,
|
|
cod_sp_sec smallint,
|
|
cod_mov smallint not null constraint "informix".n281_75,
|
|
maquina smallint,
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
cantidad_1 decimal(10,2),
|
|
cantidad_2 decimal(10,2),
|
|
sec_de smallint,
|
|
sec_a smallint,
|
|
status_mov 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 "informix".irtb00006 from "public";
|
|
|
|
create index "informix".ix328_1 on "informix".irtb00006 (num_doc);
|
|
|
|
create index "informix".ix328_2 on "informix".irtb00006 (fecha);
|
|
|
|
create index "informix".ix328_3 on "informix".irtb00006 (fact_no);
|
|
|
|
create index "informix".ix328_4 on "informix".irtb00006 (conduce_no);
|
|
|
|
create cluster index "informix".busqueda on "informix".irtb00006
|
|
(cod_n,cod_grupo,cod_tipo,cod_sec,fecha);
|
|
create index "informix".ircodigo on "informix".irtb00006 (cod_n,
|
|
cod_grupo,cod_tipo,cod_sec);
|
|
create index "informix".idx_51 on "informix".irtb00006 (cod_mov,
|
|
num_doc);
|
|
create index "informix".ir_orden on "informix".irtb00006 (tipo,
|
|
orden_compra,num_doc,cod_mov);
|
|
create index "informix".irtb6maq on "informix".irtb00006 (maquina);
|
|
|
|
{ TABLE "informix".irtb00007 row size = 156 number of columns = 18 index size = 9
|
|
}
|
|
create table "informix".irtb00007
|
|
(
|
|
codigo_m smallint,
|
|
frame char(10),
|
|
numero char(15),
|
|
fase_m smallint,
|
|
serie char(20),
|
|
rpm_m integer,
|
|
hp_m char(7),
|
|
voltaje char(7),
|
|
amperaje char(7),
|
|
ciclo integer,
|
|
tipo char(10),
|
|
modelo char(15),
|
|
marca 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 "informix".irtb00007 from "public";
|
|
|
|
create index "informix".ix386_1 on "informix".irtb00007 (codigo_m);
|
|
|
|
{ TABLE "informix".irtb00008 row size = 245 number of columns = 18 index size = 36
|
|
}
|
|
create table "informix".irtb00008
|
|
(
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
cod_maq smallint,
|
|
numero char(20),
|
|
serie char(20),
|
|
distribuidor char(30),
|
|
fabricante char(50),
|
|
localizacion char(50),
|
|
material char(20),
|
|
dureza char(10),
|
|
motor_elec 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 "informix".irtb00008 from "public";
|
|
|
|
create index "informix".cod_n on "informix".irtb00008 (cod_n);
|
|
|
|
create index "informix".cod_grupo on "informix".irtb00008 (cod_grupo);
|
|
|
|
create index "informix".cod_tipo on "informix".irtb00008 (cod_tipo);
|
|
|
|
create index "informix".cod_sec on "informix".irtb00008 (cod_sec);
|
|
|
|
{ TABLE "informix".irtb00010 row size = 67 number of columns = 7 index size = 12
|
|
}
|
|
create table "informix".irtb00010
|
|
(
|
|
codigo integer,
|
|
nombre 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 "informix".irtb00010 from "public";
|
|
|
|
create unique index "informix".ix399_1 on "informix".irtb00010
|
|
(codigo);
|
|
{ TABLE "informix".irtb00011 row size = 20 number of columns = 4 index size = 9 }
|
|
create table "informix".irtb00011
|
|
(
|
|
cod_form smallint,
|
|
cod_mov smallint,
|
|
us_crea char(9),
|
|
fech_crea datetime year to minute
|
|
);
|
|
revoke all on "informix".irtb00011 from "public";
|
|
|
|
create unique index "informix".ix1605_2 on "informix".irtb00011
|
|
(cod_mov);
|
|
{ TABLE "informix".irtb00014 row size = 39 number of columns = 7 index size = 0 }
|
|
create table "informix".irtb00014
|
|
(
|
|
num_salida integer,
|
|
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 "informix".irtb00014 from "public";
|
|
|
|
{ TABLE "informix".irtb00015 row size = 20 number of columns = 4 index size = 0 }
|
|
create table "informix".irtb00015
|
|
(
|
|
cod_form smallint,
|
|
cod_mov smallint,
|
|
us_crea char(9),
|
|
fech_crea datetime year to minute
|
|
);
|
|
revoke all on "informix".irtb00015 from "public";
|
|
|
|
{ TABLE "informix".irtb00016 row size = 46 number of columns = 11 index size = 54
|
|
}
|
|
create table "informix".irtb00016
|
|
(
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
categoria char(1),
|
|
mes_ch 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 "informix".irtb00016 from "public";
|
|
|
|
create index "informix".ix853_1 on "informix".irtb00016 (cod_n);
|
|
|
|
create index "informix".ix853_2 on "informix".irtb00016 (cod_grupo);
|
|
|
|
create index "informix".ix853_3 on "informix".irtb00016 (cod_tipo);
|
|
|
|
create index "informix".ix853_4 on "informix".irtb00016 (cod_sec);
|
|
|
|
create index "informix".ir_codigo on "informix".irtb00016 (cod_n,
|
|
cod_grupo,cod_tipo,cod_sec);
|
|
{ TABLE "informix".irtb00017 row size = 61 number of columns = 13 index size = 36
|
|
}
|
|
create table "informix".irtb00017
|
|
(
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
semana_del date,
|
|
semana_al date,
|
|
exis_act decimal(10,2),
|
|
exis_fisica 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 "informix".irtb00017 from "public";
|
|
|
|
create index "informix".ix857_1 on "informix".irtb00017 (cod_n);
|
|
|
|
create index "informix".ix857_2 on "informix".irtb00017 (cod_grupo);
|
|
|
|
create index "informix".ix857_3 on "informix".irtb00017 (cod_tipo);
|
|
|
|
create index "informix".ix857_4 on "informix".irtb00017 (cod_sec);
|
|
|
|
{ TABLE "informix".irtb00018 row size = 13 number of columns = 2 index size = 0 }
|
|
create table "informix".irtb00018
|
|
(
|
|
cod_mov integer,
|
|
usuario char(9)
|
|
);
|
|
revoke all on "informix".irtb00018 from "public";
|
|
|
|
{ TABLE "informix".irtb00026 row size = 100 number of columns = 24 index size = 0
|
|
}
|
|
create table "informix".irtb00026
|
|
(
|
|
num_doc integer not null constraint "informix".n293_76,
|
|
fecha date,
|
|
fact_no char(10),
|
|
conduce_no char(10),
|
|
tipo char(2),
|
|
orden_compra integer,
|
|
cod_sp smallint,
|
|
cod_sp_sec smallint,
|
|
cod_mov smallint not null constraint "informix".n293_77,
|
|
maquina smallint,
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
cantidad_1 decimal(10,2),
|
|
cantidad_2 decimal(10,2),
|
|
sec_de smallint,
|
|
sec_a smallint,
|
|
status_mov 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 "informix".irtb00026 from "public";
|
|
|
|
{ TABLE "informix".istb00002 row size = 79 number of columns = 17 index size = 18
|
|
}
|
|
create table "informix".istb00002
|
|
(
|
|
cod_n smallint not null constraint "informix".n294_78,
|
|
cod_grupo smallint not null constraint "informix".n294_79,
|
|
cod_tipo smallint not null constraint "informix".n294_80,
|
|
cod_sec smallint not null constraint "informix".n294_81,
|
|
pto_reorden decimal(10,2),
|
|
existencia decimal(10,2),
|
|
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 "informix".istb00002 from "public";
|
|
|
|
create unique index "informix".suministro on "informix".istb00002
|
|
(cod_n,cod_grupo,cod_tipo,cod_sec);
|
|
{ TABLE "informix".istb00003 row size = 101 number of columns = 25 index size = 0
|
|
}
|
|
create table "informix".istb00003
|
|
(
|
|
num_doc integer not null constraint "informix".n295_82,
|
|
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 "informix".n295_83,
|
|
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 "informix".istb00003 from "public";
|
|
|
|
{ TABLE "informix".istb00005 row size = 88 number of columns = 11 index size = 0
|
|
}
|
|
create table "informix".istb00005
|
|
(
|
|
cod_mov smallint not null constraint "informix".n296_84,
|
|
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 "informix".istb00005 from "public";
|
|
|
|
{ TABLE "informix".istb00006 row size = 101 number of columns = 25 index size = 34
|
|
}
|
|
create table "informix".istb00006
|
|
(
|
|
num_doc integer not null constraint "informix".n297_85,
|
|
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 "informix".n297_86,
|
|
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 "informix".istb00006 from "public";
|
|
|
|
create cluster index "informix".istb06_1 on "informix".istb00006
|
|
(cod_n,cod_grupo,cod_tipo,cod_sec,fecha,orden_compra,status_t,
|
|
cod_mov);
|
|
{ TABLE "informix".istb00007 row size = 39 number of columns = 7 index size = 0 }
|
|
create table "informix".istb00007
|
|
(
|
|
num_salida integer not null constraint "informix".n298_87,
|
|
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 "informix".istb00007 from "public";
|
|
|
|
{ TABLE "informix".istb00008 row size = 20 number of columns = 4 index size = 0 }
|
|
create table "informix".istb00008
|
|
(
|
|
cod_form smallint,
|
|
cod_mov smallint,
|
|
us_crea char(9),
|
|
fech_crea datetime year to minute
|
|
);
|
|
revoke all on "informix".istb00008 from "public";
|
|
|
|
{ TABLE "informix".istb00009 row size = 32 number of columns = 2 index size = 0 }
|
|
create table "informix".istb00009
|
|
(
|
|
cod_bodega smallint,
|
|
descripcion char(30)
|
|
);
|
|
revoke all on "informix".istb00009 from "public";
|
|
|
|
{ TABLE "informix".istb00011 row size = 59 number of columns = 12 index size = 0
|
|
}
|
|
create table "informix".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 "informix".istb00011 from "public";
|
|
|
|
{ TABLE "informix".istb00013 row size = 72 number of columns = 13 index size = 0
|
|
}
|
|
create table "informix".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 "informix".istb00013 from "public";
|
|
|
|
{ TABLE "informix".mestable row size = 47 number of columns = 8 index size = 9 }
|
|
create table "informix".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 "informix".mestable from "public";
|
|
|
|
create index "informix".ix303_1 on "informix".mestable (mes);
|
|
{ TABLE "informix".metb00001 row size = 362 number of columns = 55 index size = 18
|
|
}
|
|
create table "informix".metb00001
|
|
(
|
|
tipo_cliente smallint,
|
|
sec_cliente smallint,
|
|
fecha_vis date,
|
|
hora_ll datetime hour to minute,
|
|
hora_s datetime hour to minute,
|
|
rov_z_h_d decimal(12,2),
|
|
rov_z_h_c decimal(12,2),
|
|
rov_z_h_aa decimal(12,2),
|
|
rov_z_h_aaa decimal(12,2),
|
|
rov_z_h_9v decimal(12,2),
|
|
rov_z_s_d decimal(12,2),
|
|
rov_z_s_c decimal(12,2),
|
|
rov_z_s_aa decimal(12,2),
|
|
rov_z_s_aaa decimal(12,2),
|
|
rov_z_s_9v decimal(12,2),
|
|
evr_z_h_d decimal(12,2),
|
|
evr_z_h_c decimal(12,2),
|
|
evr_z_h_aa decimal(12,2),
|
|
evr_z_h_aaa decimal(12,2),
|
|
evr_z_h_9v decimal(12,2),
|
|
evr_z_s_d decimal(12,2),
|
|
evr_z_s_c decimal(12,2),
|
|
evr_z_s_aa decimal(12,2),
|
|
evr_z_s_aaa decimal(12,2),
|
|
evr_z_s_9v decimal(12,2),
|
|
otr_z_s_d decimal(12,2),
|
|
otr_z_s_c decimal(12,2),
|
|
otr_z_s_aa decimal(12,2),
|
|
otr_z_s_aaa decimal(12,2),
|
|
otr_z_s_9v decimal(12,2),
|
|
rov_alk_d decimal(12,2),
|
|
rov_alk_c decimal(12,2),
|
|
rov_alk_aa decimal(12,2),
|
|
rov_alk_aaa decimal(12,2),
|
|
rov_alk_9v decimal(12,2),
|
|
dur_alk_d decimal(12,2),
|
|
dur_alk_c decimal(12,2),
|
|
dur_alk_aa decimal(12,2),
|
|
dur_alk_aaa decimal(12,2),
|
|
dur_alk_9v decimal(12,2),
|
|
ene_alk_d decimal(12,2),
|
|
ene_alk_c decimal(12,2),
|
|
ene_alk_aa decimal(12,2),
|
|
ene_alk_aaa decimal(12,2),
|
|
ene_alk_9v decimal(12,2),
|
|
otr_alk_d decimal(12,2),
|
|
otr_alk_c decimal(12,2),
|
|
otr_alk_aa decimal(12,2),
|
|
otr_alk_aaa decimal(12,2),
|
|
otr_alk_9v 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 "informix".metb00001 from "public";
|
|
|
|
create index "informix".ix373_1 on "informix".metb00001 (tipo_cliente);
|
|
|
|
create index "informix".ix373_2 on "informix".metb00001 (sec_cliente);
|
|
|
|
{ TABLE "informix".mmtb00001 row size = 28 number of columns = 5 index size = 0 }
|
|
create table "informix".mmtb00001
|
|
(
|
|
num_sol integer,
|
|
num_inf integer,
|
|
num_ord integer,
|
|
us_crea char(9),
|
|
fech_crea datetime year to minute
|
|
);
|
|
revoke all on "informix".mmtb00001 from "public";
|
|
|
|
{ TABLE "informix".mmtb00002 row size = 622 number of columns = 26 index size = 30
|
|
}
|
|
create table "informix".mmtb00002
|
|
(
|
|
num_sol integer,
|
|
num_emp integer,
|
|
fecha date,
|
|
hora char(5),
|
|
serv_req1 char(50),
|
|
serv_req2 char(50),
|
|
serv_req3 char(50),
|
|
serv_req4 char(50),
|
|
serv_req5 char(50),
|
|
cod_maq integer,
|
|
rep_falla1 char(50),
|
|
rep_falla2 char(50),
|
|
rep_falla3 char(50),
|
|
rep_falla4 char(50),
|
|
rep_falla5 char(50),
|
|
prioridad smallint,
|
|
fecha_sol date,
|
|
cant_sol integer,
|
|
frecuencia_prob char(50),
|
|
entregado_por integer,
|
|
recibido_por 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 "informix".mmtb00002 from "public";
|
|
|
|
create cluster index "informix".datosm2 on "informix".mmtb00002
|
|
(num_sol,num_emp,fecha,cod_maq);
|
|
{ TABLE "informix".mmtb00003 row size = 336 number of columns = 24 index size = 30
|
|
}
|
|
create table "informix".mmtb00003
|
|
(
|
|
num_inf integer,
|
|
num_sol integer,
|
|
fecha_inicio date,
|
|
hora_inicio char(5),
|
|
fecha_corte date,
|
|
hora_corte char(5),
|
|
solucion integer,
|
|
observacion1 char(50),
|
|
observacion2 char(50),
|
|
observacion3 char(50),
|
|
observacion4 char(50),
|
|
observacion5 char(50),
|
|
mecanico integer,
|
|
mantenimiento integer,
|
|
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 "informix".mmtb00003 from "public";
|
|
|
|
create cluster index "informix".datosm3 on "informix".mmtb00003
|
|
(num_inf,num_sol,cod_n,cod_grupo,cod_tipo,cod_sec);
|
|
{ TABLE "informix".mmtb00004 row size = 62 number of columns = 10 index size = 18
|
|
}
|
|
create table "informix".mmtb00004
|
|
(
|
|
num_inf integer,
|
|
num_emp integer,
|
|
hora_normal decimal(12,2),
|
|
hora_e_35 decimal(12,2),
|
|
hora_e_100 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 "informix".mmtb00004 from "public";
|
|
|
|
create cluster index "informix".datosm4 on "informix".mmtb00004
|
|
(num_inf,num_emp);
|
|
{ TABLE "informix".mmtb00005 row size = 112 number of columns = 25 index size = 36
|
|
}
|
|
create table "informix".mmtb00005
|
|
(
|
|
num_ord integer,
|
|
fecha date,
|
|
num_emp integer,
|
|
cod_n_p smallint,
|
|
cod_grupo_p smallint,
|
|
cod_tipo_p smallint,
|
|
cod_sec_p smallint,
|
|
cantidad_p decimal(12,2),
|
|
fecha_inicio date,
|
|
fecha_corte date,
|
|
hora_normal decimal(12,2),
|
|
hora_e_35 decimal(12,2),
|
|
hora_e_100 decimal(12,2),
|
|
supervisor integer,
|
|
mantenimiento integer,
|
|
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 "informix".mmtb00005 from "public";
|
|
|
|
create cluster index "informix".datosm5 on "informix".mmtb00005
|
|
(num_ord,fecha,num_emp,cod_n_p,cod_grupo_p,cod_tipo_p,cod_sec_p);
|
|
|
|
{ TABLE "informix".mmtb00006 row size = 67 number of columns = 13 index size = 24
|
|
}
|
|
create table "informix".mmtb00006
|
|
(
|
|
fecha date,
|
|
num_emp integer,
|
|
secuencia integer,
|
|
cod_maq integer,
|
|
hora_inicio char(5),
|
|
hora_corte char(5),
|
|
supervisor integer,
|
|
mantenimiento 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 "informix".mmtb00006 from "public";
|
|
|
|
create cluster index "informix".datosm6 on "informix".mmtb00006
|
|
(fecha,num_emp,secuencia);
|
|
{ TABLE "informix".msgtable row size = 94 number of columns = 6 index size = 0 }
|
|
create table "informix".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 "informix".msgtable from "public";
|
|
|
|
{ TABLE "informix".notb00001 row size = 20 number of columns = 3 index size = 0 }
|
|
create table "informix".notb00001
|
|
(
|
|
ult_cheque integer,
|
|
us_crea char(9),
|
|
fech_crea datetime year to minute
|
|
);
|
|
revoke all on "informix".notb00001 from "public";
|
|
|
|
{ TABLE "informix".notb00002 row size = 126 number of columns = 17 index size = 9
|
|
}
|
|
create table "informix".notb00002
|
|
(
|
|
cod_mov smallint,
|
|
descrip_mov char(30),
|
|
primer_enc char(8),
|
|
segundo_enc char(8),
|
|
tercer_enc char(8),
|
|
ch_encabeza char(10),
|
|
tipo_mov char(1),
|
|
clase_mov char(1),
|
|
cantidad_cia decimal(10,2),
|
|
cantidad_emp decimal(10,2),
|
|
cta_control char(6),
|
|
cta_aux 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 "informix".notb00002 from "public";
|
|
|
|
create unique index "informix".ix821_1 on "informix".notb00002
|
|
(cod_mov);
|
|
{ TABLE "informix".notb00005 row size = 52 number of columns = 8 index size = 0 }
|
|
create table "informix".notb00005
|
|
(
|
|
salario decimal(12,2),
|
|
valor decimal(12,2),
|
|
porc_imp decimal(8,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 "informix".notb00005 from "public";
|
|
|
|
{ TABLE "informix".notb00009 row size = 32 number of columns = 8 index size = 0 }
|
|
create table "informix".notb00009
|
|
(
|
|
num_nomi integer,
|
|
tipo_emp char(1),
|
|
cheque_no smallint,
|
|
num_emp smallint,
|
|
monto decimal(10,2),
|
|
status_t char(1),
|
|
us_crea char(9),
|
|
fech_crea datetime year to minute
|
|
);
|
|
revoke all on "informix".notb00009 from "public";
|
|
|
|
{ TABLE "informix".notb00011 row size = 61 number of columns = 14 index size = 21
|
|
}
|
|
create table "informix".notb00011
|
|
(
|
|
num_emp smallint,
|
|
departamento smallint,
|
|
nivel_emp smallint,
|
|
cod_puesto smallint,
|
|
num_doc integer,
|
|
cod_mov smallint,
|
|
fecha date,
|
|
monto decimal(10,2),
|
|
porciento 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 "informix".notb00011 from "public";
|
|
|
|
create index "informix".ix1012_1 on "informix".notb00011 (num_emp);
|
|
|
|
create index "informix".ix1012_5 on "informix".notb00011 (num_doc);
|
|
|
|
{ TABLE "informix".notb00012 row size = 36 number of columns = 6 index size = 0 }
|
|
create table "informix".notb00012
|
|
(
|
|
cod_mes smallint,
|
|
dias smallint,
|
|
us_crea char(9),
|
|
fech_crea datetime year to minute,
|
|
us_mod char(9),
|
|
fech_mod datetime year to minute
|
|
);
|
|
revoke all on "informix".notb00012 from "public";
|
|
|
|
{ TABLE "informix".notb00013 row size = 37 number of columns = 7 index size = 9 }
|
|
create table "informix".notb00013
|
|
(
|
|
cod_mov smallint,
|
|
cod_mov_a 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 "informix".notb00013 from "public";
|
|
|
|
create index "informix".ix1194_1 on "informix".notb00013 (cod_mov);
|
|
|
|
{ TABLE "informix".notb00014 row size = 18 number of columns = 3 index size = 9 }
|
|
create table "informix".notb00014
|
|
(
|
|
cod_mov smallint,
|
|
us_crea char(9),
|
|
fech_crea datetime year to minute
|
|
);
|
|
revoke all on "informix".notb00014 from "public";
|
|
|
|
create unique index "informix".ix1566_1 on "informix".notb00014
|
|
(cod_mov);
|
|
{ TABLE "informix".notb00015 row size = 61 number of columns = 14 index size = 18
|
|
}
|
|
create table "informix".notb00015
|
|
(
|
|
num_emp smallint,
|
|
departamento smallint,
|
|
nivel_emp smallint,
|
|
cod_puesto smallint,
|
|
num_doc integer,
|
|
cod_mov smallint,
|
|
fecha date,
|
|
monto decimal(10,2),
|
|
porciento 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 "informix".notb00015 from "public";
|
|
|
|
create index "informix".ano_ant on "informix".notb00015 (num_emp,
|
|
fecha,cod_mov);
|
|
{ TABLE "informix".notb00017 row size = 36 number of columns = 6 index size = 9 }
|
|
create table "informix".notb00017
|
|
(
|
|
num_emp smallint,
|
|
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 "informix".notb00017 from "public";
|
|
|
|
create unique index "informix".notb17 on "informix".notb00017
|
|
(num_emp);
|
|
{ TABLE "informix".notb00018 row size = 42 number of columns = 7 index size = 9 }
|
|
create table "informix".notb00018
|
|
(
|
|
num_emp smallint,
|
|
porc_accidente 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 "informix".notb00018 from "public";
|
|
|
|
create unique index "informix".notb18 on "informix".notb00018
|
|
(num_emp);
|
|
{ TABLE "informix".pgtb00001 row size = 58 number of columns = 10 index size = 9
|
|
}
|
|
create table "informix".pgtb00001
|
|
(
|
|
ano smallint,
|
|
porciento decimal(10,7),
|
|
cuenta_no char(8),
|
|
departamento smallint,
|
|
valor 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 "informix".pgtb00001 from "public";
|
|
|
|
create index "informix".ix779_1 on "informix".pgtb00001 (ano);
|
|
|
|
{ TABLE "informix".pgtb00002 row size = 60 number of columns = 10 index size = 9
|
|
}
|
|
create table "informix".pgtb00002
|
|
(
|
|
ano smallint,
|
|
porciento decimal(10,7),
|
|
cuenta_no char(8),
|
|
departamento integer,
|
|
valor 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 "informix".pgtb00002 from "public";
|
|
|
|
create index "informix".ix790_1 on "informix".pgtb00002 (ano);
|
|
|
|
{ TABLE "informix".pgtb00003 row size = 55 number of columns = 10 index size = 106
|
|
}
|
|
create table "informix".pgtb00003
|
|
(
|
|
ano smallint,
|
|
mes smallint,
|
|
cuenta_no char(8),
|
|
departamento integer,
|
|
valor 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 "informix".pgtb00003 from "public";
|
|
|
|
create index "informix".ix793_1 on "informix".pgtb00003 (ano);
|
|
|
|
create index "informix".ix793_2 on "informix".pgtb00003 (mes);
|
|
|
|
create index "informix".ix793_3 on "informix".pgtb00003 (cuenta_no);
|
|
|
|
create index "informix".ix793_4 on "informix".pgtb00003 (departamento);
|
|
|
|
create cluster index "informix".pgtb03_1 on "informix".pgtb00003
|
|
(status_t,cuenta_no,departamento,mes,ano);
|
|
create index "informix".pgtb3 on "informix".pgtb00003 (departamento,
|
|
cuenta_no,ano);
|
|
{ TABLE "informix".prdtable row size = 50 number of columns = 10 index size = 21
|
|
}
|
|
create table "informix".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 "informix".prdtable from "public";
|
|
|
|
create index "informix".ix233_1 on "informix".prdtable (ano);
|
|
create index "informix".ix233_2 on "informix".prdtable (mes);
|
|
{ TABLE "informix".prtb00001 row size = 13 number of columns = 4 index size = 0 }
|
|
create table "informix".prtb00001
|
|
(
|
|
ano char(4),
|
|
mes char(2),
|
|
tasa decimal(8,2),
|
|
concepto smallint
|
|
);
|
|
revoke all on "informix".prtb00001 from "public";
|
|
|
|
{ TABLE "informix".prtb00002 row size = 49 number of columns = 10 index size = 9
|
|
}
|
|
create table "informix".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 "informix".prtb00002 from "public";
|
|
|
|
create index "informix".ix1523_1 on "informix".prtb00002 (num_semana);
|
|
|
|
{ TABLE "informix".prtb00003 row size = 51 number of columns = 11 index size = 55
|
|
}
|
|
create table "informix".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 "informix".prtb00003 from "public";
|
|
|
|
create index "informix".ix1524_1 on "informix".prtb00003 (num_semana);
|
|
|
|
create index "informix".prtb3 on "informix".prtb00003 (num_semana,
|
|
departamento,num_emp,status_t);
|
|
create index "informix".prtb31 on "informix".prtb00003 (departamento,
|
|
num_emp);
|
|
create index "informix".prod2 on "informix".prtb00003 (departamento,
|
|
num_emp,fecha);
|
|
{ TABLE "informix".prtb00004 row size = 37 number of columns = 6 index size = 0 }
|
|
create table "informix".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 "informix".prtb00004 from "public";
|
|
|
|
{ TABLE "informix".prtb00005 row size = 75 number of columns = 7 index size = 9 }
|
|
create table "informix".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 "informix".prtb00005 from "public";
|
|
|
|
create index "informix".ix1564_1 on "informix".prtb00005 (codigo);
|
|
|
|
{ TABLE "informix".seg0000 row size = 74 number of columns = 8 index size = 9 }
|
|
create table "informix".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 "informix".seg0000 from "public";
|
|
|
|
create index "informix".ix1249_1 on "informix".seg0000 (id_number);
|
|
|
|
{ TABLE "informix".seg0002 row size = 31 number of columns = 3 index size = 0 }
|
|
create table "informix".seg0002
|
|
(
|
|
id_num smallint,
|
|
usuario char(9),
|
|
ocupacion char(20)
|
|
);
|
|
revoke all on "informix".seg0002 from "public";
|
|
|
|
{ TABLE "informix".seg0003 row size = 39 number of columns = 2 index size = 19 }
|
|
create table "informix".seg0003
|
|
(
|
|
usuario char(9),
|
|
nom_puesto char(30)
|
|
);
|
|
revoke all on "informix".seg0003 from "public";
|
|
|
|
create unique index "informix".seguro1 on "informix".seg0003 (usuario);
|
|
|
|
{ TABLE "informix".seg0004 row size = 19 number of columns = 2 index size = 0 }
|
|
create table "informix".seg0004
|
|
(
|
|
usuario char(9),
|
|
us_menu char(10)
|
|
);
|
|
revoke all on "informix".seg0004 from "public";
|
|
|
|
{ TABLE "informix".telefo1780 row size = 59 number of columns = 16 index size = 0
|
|
}
|
|
create table "informix".telefo1780
|
|
(
|
|
carater_1 char(2),
|
|
numeros char(3),
|
|
espacio1 char(1),
|
|
ceros char(3),
|
|
primera_pte char(2),
|
|
extension integer,
|
|
espacio2 char(2),
|
|
referencia char(7),
|
|
espacio3 char(7),
|
|
fecha char(5),
|
|
espacio char(1),
|
|
hora char(5),
|
|
espacio5 char(1),
|
|
hora1 char(8),
|
|
espacio6 char(1),
|
|
numero_tel char(7)
|
|
);
|
|
revoke all on "informix".telefo1780 from "public";
|
|
|
|
{ TABLE "informix".telefo1783 row size = 59 number of columns = 16 index size = 0
|
|
}
|
|
create table "informix".telefo1783
|
|
(
|
|
carater_1 char(2),
|
|
numeros integer,
|
|
espacio1 char(1),
|
|
ceros char(3),
|
|
primera_pte char(2),
|
|
extension char(3),
|
|
espacio2 char(2),
|
|
referencia char(7),
|
|
espacio3 char(13),
|
|
fecha char(5),
|
|
espacio char(1),
|
|
hora datetime hour to minute,
|
|
espacio5 char(1),
|
|
hora1 datetime hour to second,
|
|
espacio6 char(1),
|
|
numero_tel char(7)
|
|
);
|
|
revoke all on "informix".telefo1783 from "public";
|
|
|
|
{ TABLE "informix".telefonos row size = 54 number of columns = 16 index size = 0
|
|
}
|
|
create table "informix".telefonos
|
|
(
|
|
carater_1 char(2),
|
|
numeros integer,
|
|
espacio1 char(1),
|
|
ceros char(3),
|
|
primera_pte char(2),
|
|
extension integer,
|
|
espacio2 char(2),
|
|
referencia char(7),
|
|
espacio3 char(7),
|
|
fecha char(5),
|
|
espacio char(1),
|
|
hora datetime hour to minute,
|
|
espacio5 char(1),
|
|
hora1 datetime hour to second,
|
|
espacio6 char(1),
|
|
numero_tel char(7)
|
|
);
|
|
revoke all on "informix".telefonos from "public";
|
|
|
|
{ TABLE "informix".tetb00001 row size = 71 number of columns = 11 index size = 12
|
|
}
|
|
create table "informix".tetb00001
|
|
(
|
|
num_doc serial not null constraint "informix".n351_88,
|
|
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 "informix".tetb00001 from "public";
|
|
|
|
create unique index "informix".ix1278_1 on "informix".tetb00001
|
|
(num_doc);
|
|
{ TABLE "informix".tetb00002 row size = 65 number of columns = 7 index size = 9 }
|
|
create table "informix".tetb00002
|
|
(
|
|
procedencia smallint not null constraint "informix".n352_89,
|
|
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 "informix".tetb00002 from "public";
|
|
|
|
create unique index "informix".ix367_1 on "informix".tetb00002
|
|
(procedencia);
|
|
{ TABLE "informix".vetb00002 row size = 113 number of columns = 28 index size = 150
|
|
}
|
|
create table "informix".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 "informix".vetb00002 from "public";
|
|
|
|
create index "informix".ix433_3 on "informix".vetb00002 (fecha_factura);
|
|
|
|
create index "informix".ix433_10 on "informix".vetb00002 (tipo_cliente);
|
|
|
|
create index "informix".ix433_11 on "informix".vetb00002 (sec_cliente);
|
|
|
|
create index "informix".cia on "informix".vetb00002 (cod_cia);
|
|
|
|
create index "informix".fact on "informix".vetb00002 (factura);
|
|
|
|
create cluster index "informix".vetb02_1 on "informix".vetb00002
|
|
(factura,cod_cia,ventas,sec_vend);
|
|
create index "informix".vetb02_2 on "informix".vetb00002 (factura,
|
|
ventas,prima_us,status_t);
|
|
create index "informix".vetb02_4 on "informix".vetb00002 (factura,
|
|
cod_cia,ventas,sec_vend,fecha_factura,status_t,sec_cliente);
|
|
|
|
create index "informix".tipo_venta on "informix".vetb00002 (ventas);
|
|
|
|
create index "informix".ix398_13 on "informix".vetb00002 (sec_vend);
|
|
|
|
create index "informix".tcliente on "informix".vetb00002 (tipo_cliente,
|
|
sec_cliente);
|
|
{ TABLE "informix".vetb00003 row size = 65 number of columns = 15 index size = 103
|
|
}
|
|
create table "informix".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 "informix".vetb00003 from "public";
|
|
|
|
create index "informix".ix392_2 on "informix".vetb00003 (factura);
|
|
|
|
create index "informix".codigo on "informix".vetb00003 (cod_n,
|
|
cod_grupo,cod_tipo,cod_sec);
|
|
create index "informix".idx_21 on "informix".vetb00003 (cod_n,
|
|
cod_grupo,cod_tipo,cod_sec,factura);
|
|
create cluster index "informix".vetb03_1 on "informix".vetb00003
|
|
(cod_n,cod_grupo,cod_tipo,cod_sec,status_t,factura);
|
|
create index "informix".vetb3_1 on "informix".vetb00003 (cod_n,
|
|
cod_grupo);
|
|
create index "informix".codigo1 on "informix".vetb00003 (cod_n,
|
|
cod_sec);
|
|
{ TABLE "informix".vetb00005 row size = 121 number of columns = 12 index size = 0
|
|
}
|
|
create table "informix".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 "informix".vetb00005 from "public";
|
|
|
|
{ TABLE "informix".vetb00006 row size = 169 number of columns = 18 index size = 18
|
|
}
|
|
create table "informix".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 "informix".vetb00006 from "public";
|
|
|
|
create index "informix".ix329_1 on "informix".vetb00006 (tipo_cliente_s);
|
|
|
|
create index "informix".ix329_2 on "informix".vetb00006 (sec_cliente_s);
|
|
|
|
{ TABLE "informix".vetb00007 row size = 39 number of columns = 8 index size = 0 }
|
|
create table "informix".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 "informix".vetb00007 from "public";
|
|
|
|
{ TABLE "informix".vetb00008 row size = 65 number of columns = 7 index size = 0 }
|
|
create table "informix".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 "informix".vetb00008 from "public";
|
|
|
|
{ TABLE "informix".vetb00009 row size = 37 number of columns = 7 index size = 0 }
|
|
create table "informix".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 "informix".vetb00009 from "public";
|
|
|
|
{ TABLE "informix".vetb00010 row size = 41 number of columns = 9 index size = 0 }
|
|
create table "informix".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 "informix".vetb00010 from "public";
|
|
|
|
{ TABLE "informix".vetb00011 row size = 55 number of columns = 13 index size = 27
|
|
}
|
|
create table "informix".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 "informix".vetb00011 from "public";
|
|
|
|
create cluster index "informix".vetb11_1 on "informix".vetb00011
|
|
(cod_n,cod_grupo,cod_tipo,cod_sec);
|
|
create index "informix".comision on "informix".vetb00011 (sec_vend);
|
|
|
|
{ TABLE "informix".vetb00012 row size = 67 number of columns = 8 index size = 0 }
|
|
create table "informix".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 "informix".vetb00012 from "public";
|
|
|
|
{ TABLE "informix".vetb00013 row size = 91 number of columns = 17 index size = 0
|
|
}
|
|
create table "informix".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 "informix".vetb00013 from "public";
|
|
|
|
{ TABLE "informix".vetb00014 row size = 66 number of columns = 13 index size = 18
|
|
}
|
|
create table "informix".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 "informix".vetb00014 from "public";
|
|
|
|
create index "informix".factor on "informix".vetb00014 (cod_n,
|
|
cod_grupo,cod_tipo,cod_sec);
|
|
{ TABLE "informix".vetb00015 row size = 165 number of columns = 17 index size = 0
|
|
}
|
|
create table "informix".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 "informix".vetb00015 from "public";
|
|
|
|
{ TABLE "informix".vetb00016 row size = 55 number of columns = 14 index size = 21
|
|
}
|
|
create table "informix".vetb00016
|
|
(
|
|
ano char(4) not null constraint "informix".n370_90,
|
|
mes smallint,
|
|
zona smallint,
|
|
ventas char(1),
|
|
cod_n smallint not null constraint "informix".n370_91,
|
|
cod_grupo smallint not null constraint "informix".n370_92,
|
|
cod_tipo smallint not null constraint "informix".n370_93,
|
|
cod_sec smallint not null constraint "informix".n370_94,
|
|
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 "informix".vetb00016 from "public";
|
|
|
|
create index "informix".ix397_9 on "informix".vetb00016 (ano);
|
|
|
|
create index "informix".ix397_8 on "informix".vetb00016 (zona);
|
|
|
|
{ TABLE "informix".vetb00017 row size = 57 number of columns = 14 index size = 81
|
|
}
|
|
create table "informix".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 "informix".vetb00017 from "public";
|
|
|
|
create index "informix".ix355_2 on "informix".vetb00017 (cod_n);
|
|
|
|
create index "informix".ix355_3 on "informix".vetb00017 (cod_grupo);
|
|
|
|
create index "informix".ix355_4 on "informix".vetb00017 (cod_tipo);
|
|
|
|
create index "informix".ix355_5 on "informix".vetb00017 (cod_sec);
|
|
|
|
create index "informix".ix355_7 on "informix".vetb00017 (mes);
|
|
|
|
create index "informix".ix357_1 on "informix".vetb00017 (ano);
|
|
|
|
create cluster index "informix".vetb17_1 on "informix".vetb00017
|
|
(ventas,cod_n,cod_grupo,cod_tipo,cod_sec,status_t,ano,mes);
|
|
|
|
{ TABLE "informix".vetb00018 row size = 39 number of columns = 8 index size = 9 }
|
|
create table "informix".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 "informix".vetb00018 from "public";
|
|
|
|
create index "informix".ix356_1 on "informix".vetb00018 (anos);
|
|
|
|
{ TABLE "informix".vetb00019 row size = 57 number of columns = 12 index size = 0
|
|
}
|
|
create table "informix".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 "informix".vetb00019 from "public";
|
|
|
|
{ TABLE "informix".vetb00020 row size = 65 number of columns = 7 index size = 9 }
|
|
create table "informix".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 "informix".vetb00020 from "public";
|
|
|
|
create index "informix".ix352_1 on "informix".vetb00020 (cod_provincia);
|
|
|
|
{ TABLE "informix".vetb00021 row size = 58 number of columns = 15 index size = 72
|
|
}
|
|
create table "informix".vetb00021
|
|
(
|
|
ano char(4) not null constraint "informix".n375_95,
|
|
ventas char(1) not null constraint "informix".n375_96,
|
|
zona char(3) not null constraint "informix".n375_97,
|
|
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 "informix".vetb00021 from "public";
|
|
|
|
create index "informix".ix396_1 on "informix".vetb00021 (ano);
|
|
|
|
create index "informix".ix396_2 on "informix".vetb00021 (ventas);
|
|
|
|
create index "informix".ix396_3 on "informix".vetb00021 (zona);
|
|
|
|
create index "informix".ix396_4 on "informix".vetb00021 (provincia);
|
|
|
|
create unique index "informix".provincia on "informix".vetb00021
|
|
(ano,ventas,zona,provincia,mes,cod_grupo,cod_tipo,cod_sec);
|
|
|
|
{ TABLE "informix".vetb00022 row size = 54 number of columns = 13 index size = 21
|
|
}
|
|
create table "informix".vetb00022
|
|
(
|
|
ano char(4) not null constraint "informix".n376_98,
|
|
mes smallint,
|
|
sec_vend smallint not null constraint "informix".n376_99,
|
|
cod_n smallint not null constraint "informix".n376_100,
|
|
cod_grupo smallint not null constraint "informix".n376_101,
|
|
cod_tipo smallint not null constraint "informix".n376_102,
|
|
cod_sec smallint not null constraint "informix".n376_103,
|
|
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 "informix".vetb00022 from "public";
|
|
|
|
create index "informix".ix397_1 on "informix".vetb00022 (ano);
|
|
|
|
create index "informix".ix397_6 on "informix".vetb00022 (sec_vend);
|
|
|
|
{ TABLE "informix".vetb00023 row size = 72 number of columns = 9 index size = 9 }
|
|
create table "informix".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 "informix".vetb00023 from "public";
|
|
|
|
create index "informix".ix354_1 on "informix".vetb00023 (cod_tarifa);
|
|
|
|
{ TABLE "informix".vetb00024 row size = 117 number of columns = 16 index size = 0
|
|
}
|
|
create table "informix".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 "informix".vetb00024 from "public";
|
|
|
|
{ TABLE "informix".vetb00025 row size = 52 number of columns = 13 index size = 46
|
|
}
|
|
create table "informix".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 "informix".vetb00025 from "public";
|
|
|
|
create index "informix".precios on "informix".vetb00025 (cod_n,
|
|
cod_grupo,cod_tipo,cod_sec,sec_cliente);
|
|
create index "informix".idxv_1 on "informix".vetb00025 (ventas);
|
|
|
|
create index "informix".idxv_2 on "informix".vetb00025 (tipo_cliente);
|
|
|
|
create index "informix".idxv_3 on "informix".vetb00025 (sec_cliente);
|
|
|
|
{ TABLE "informix".vetb00026 row size = 50 number of columns = 9 index size = 12
|
|
}
|
|
create table "informix".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 "informix".vetb00026 from "public";
|
|
|
|
create index "informix".ix421_1 on "informix".vetb00026 (factura);
|
|
|
|
{ TABLE "informix".vetb00027 row size = 87 number of columns = 16 index size = 0
|
|
}
|
|
create table "informix".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 "informix".vetb00027 from "public";
|
|
|
|
{ TABLE "informix".vetb00028 row size = 41 number of columns = 9 index size = 33
|
|
}
|
|
create table "informix".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 "informix".vetb00028 from "public";
|
|
|
|
create index "informix".cli_vend on "informix".vetb00028 (sec_vend,
|
|
tipo_cliente,sec_cliente);
|
|
create index "informix".ix382_2 on "informix".vetb00028 (sec_vend);
|
|
|
|
create index "informix".ix382_4 on "informix".vetb00028 (sec_cliente);
|
|
|
|
{ TABLE "informix".vetb00029 row size = 59 number of columns = 14 index size = 0
|
|
}
|
|
create table "informix".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 "informix".vetb00029 from "public";
|
|
|
|
{ TABLE "informix".vetb00030 row size = 44 number of columns = 10 index size = 0
|
|
}
|
|
create table "informix".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 "informix".vetb00030 from "public";
|
|
|
|
{ TABLE "informix".vetb00031 row size = 74 number of columns = 15 index size = 12
|
|
}
|
|
create table "informix".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 "informix".n385_104,
|
|
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 "informix".vetb00031 from "public";
|
|
|
|
create index "informix".ix962_1 on "informix".vetb00031 (factura);
|
|
|
|
{ TABLE "informix".vetb00036 row size = 53 number of columns = 12 index size = 0
|
|
}
|
|
create table "informix".vetb00036
|
|
(
|
|
num_doc smallint not null constraint "informix".n387_105,
|
|
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 "informix".vetb00036 from "public";
|
|
|
|
{ TABLE "informix".vetb77777 row size = 37 number of columns = 7 index size = 0 }
|
|
create table "informix".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 "informix".vetb77777 from "public";
|
|
|
|
{ TABLE "informix".vetb88888 row size = 113 number of columns = 28 index size = 0
|
|
}
|
|
create table "informix".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 "informix".vetb88888 from "public";
|
|
|
|
{ TABLE "informix".vetb99999 row size = 61 number of columns = 14 index size = 0
|
|
}
|
|
create table "informix".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 "informix".vetb99999 from "public";
|
|
|
|
{ TABLE "informix".smtb00001 row size = 67 number of columns = 7 index size = 12
|
|
}
|
|
create table "informix".smtb00001
|
|
(
|
|
tipo_sv integer,
|
|
descrip_sv 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 "informix".smtb00001 from "public";
|
|
|
|
create index "informix".smtb01_1 on "informix".smtb00001 (tipo_sv);
|
|
|
|
{ TABLE "informix".smtb00002 row size = 71 number of columns = 8 index size = 18
|
|
}
|
|
create table "informix".smtb00002
|
|
(
|
|
tipo_sv integer,
|
|
sec_sv integer,
|
|
descrip_serv 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 "informix".smtb00002 from "public";
|
|
|
|
create index "informix".smtb02_1 on "informix".smtb00002 (tipo_sv,
|
|
sec_sv);
|
|
{ TABLE "informix".dstb00001 row size = 300 number of columns = 15 index size = 19
|
|
}
|
|
create table "informix".dstb00001
|
|
(
|
|
programa char(9),
|
|
cod_sistema char(2),
|
|
num_emp integer,
|
|
no_solicitud integer,
|
|
fecha_creacion date,
|
|
fecha_modificacion date,
|
|
descripcion char(60),
|
|
objetivo1 char(60),
|
|
objetivo2 char(60),
|
|
numero_act 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 "informix".dstb00001 from "public";
|
|
|
|
create index "informix".ix1739_1 on "informix".dstb00001 (programa);
|
|
|
|
{ TABLE "informix".smtb00003 row size = 82 number of columns = 10 index size = 13
|
|
}
|
|
create table "informix".smtb00003
|
|
(
|
|
plan integer,
|
|
categ char(1),
|
|
descr_categ char(30),
|
|
monto_empresa decimal(12,2),
|
|
monto_emp 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 "informix".smtb00003 from "public";
|
|
|
|
create index "informix".smtb03_1 on "informix".smtb00003 (plan,
|
|
categ);
|
|
{ TABLE "informix".smtb00004 row size = 70 number of columns = 12 index size = 24
|
|
}
|
|
create table "informix".smtb00004
|
|
(
|
|
plan integer,
|
|
tipo_sv integer,
|
|
sec_sv integer,
|
|
cob_mensual decimal(12,2),
|
|
cob_anual decimal(12,2),
|
|
cant_anual integer,
|
|
tarifa_med 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 "informix".smtb00004 from "public";
|
|
|
|
create index "informix".smtb04_1 on "informix".smtb00004 (plan,
|
|
tipo_sv,sec_sv);
|
|
{ TABLE "informix".smtb00005 row size = 67 number of columns = 7 index size = 12
|
|
}
|
|
create table "informix".smtb00005
|
|
(
|
|
cod_esp integer,
|
|
descrip_esp 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 "informix".smtb00005 from "public";
|
|
|
|
create index "informix".smtb5_1 on "informix".smtb00005 (cod_esp);
|
|
|
|
{ TABLE "informix".smtb00008 row size = 41 number of columns = 7 index size = 24
|
|
}
|
|
create table "informix".smtb00008
|
|
(
|
|
cod_cli integer,
|
|
cod_med 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 "informix".smtb00008 from "public";
|
|
|
|
create index "informix".smtb08_1 on "informix".smtb00008 (cod_cli);
|
|
|
|
create index "informix".smtb08_2 on "informix".smtb00008 (cod_med);
|
|
|
|
{ TABLE "informix".dstb00004 row size = 57 number of columns = 9 index size = 0 }
|
|
create table "informix".dstb00004
|
|
(
|
|
cod_sistema char(2),
|
|
menu1 char(9),
|
|
programa char(9),
|
|
opcion 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 "informix".dstb00004 from "public";
|
|
|
|
{ TABLE "informix".seg0001 row size = 83 number of columns = 9 index size = 0 }
|
|
create table "informix".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 "informix".seg0001 from "public";
|
|
|
|
{ TABLE "informix".cetb00003 row size = 64 number of columns = 2 index size = 0 }
|
|
create table "informix".cetb00003
|
|
(
|
|
memo_no integer,
|
|
asunto char(60)
|
|
);
|
|
revoke all on "informix".cetb00003 from "public";
|
|
|
|
{ TABLE "informix".adtb00034 row size = 94 number of columns = 12 index size = 21
|
|
}
|
|
create table "informix".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 "informix".adtb00034 from "public";
|
|
|
|
create index "informix".ad34_1 on "informix".adtb00034 (num_emp);
|
|
|
|
create index "informix".ad34_2 on "informix".adtb00034 (cod_par,
|
|
sec_par);
|
|
{ TABLE "informix".adtb00035 row size = 581 number of columns = 35 index size = 0
|
|
}
|
|
create table "informix".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 "informix".adtb00035 from "public";
|
|
|
|
{ TABLE "informix".adtb00021 row size = 94 number of columns = 12 index size = 21
|
|
}
|
|
create table "informix".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 "informix".adtb00021 from "public";
|
|
|
|
create index "informix".ad21_1 on "informix".adtb00021 (num_emp);
|
|
|
|
create index "informix".ad21_2 on "informix".adtb00021 (cod_par,
|
|
sec_par);
|
|
{ TABLE "informix".adtb00013 row size = 94 number of columns = 12 index size = 21
|
|
}
|
|
create table "informix".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 "informix".adtb00013 from "public";
|
|
|
|
create index "informix".ad13_1 on "informix".adtb00013 (cod_sol);
|
|
|
|
create index "informix".ad13_2 on "informix".adtb00013 (cod_par,
|
|
sec_par);
|
|
{ TABLE "informix".adtb00012 row size = 288 number of columns = 34 index size = 9
|
|
}
|
|
create table "informix".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 "informix".adtb00012 from "public";
|
|
|
|
create index "informix".ix555_1 on "informix".adtb00012 (cod_sol);
|
|
|
|
{ TABLE "informix".smtb00010 row size = 67 number of columns = 8 index size = 9 }
|
|
create table "informix".smtb00010
|
|
(
|
|
cod_mov smallint,
|
|
descrip_mov char(30),
|
|
tipo_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 "informix".smtb00010 from "public";
|
|
|
|
create index "informix".ix472_1 on "informix".smtb00010 (cod_mov);
|
|
|
|
{ TABLE "informix".smtb00011 row size = 52 number of columns = 10 index size = 30
|
|
}
|
|
create table "informix".smtb00011
|
|
(
|
|
num_doc integer,
|
|
fecha date,
|
|
num_emp smallint,
|
|
cod_mov smallint,
|
|
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 "informix".smtb00011 from "public";
|
|
|
|
create index "informix".ix473_1 on "informix".smtb00011 (num_doc);
|
|
|
|
create index "informix".ix473_3 on "informix".smtb00011 (num_emp);
|
|
|
|
create index "informix".ix473_4 on "informix".smtb00011 (cod_mov);
|
|
|
|
{ TABLE "informix".smtb00012 row size = 48 number of columns = 11 index size = 21
|
|
}
|
|
create table "informix".smtb00012
|
|
(
|
|
num_emp smallint,
|
|
cod_par smallint,
|
|
sec_par smallint,
|
|
plan integer,
|
|
categ char(1),
|
|
fecha_efect 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 "informix".smtb00012 from "public";
|
|
|
|
create index "informix".ad12_1 on "informix".smtb00012 (num_emp);
|
|
|
|
create index "informix".ad12_2 on "informix".smtb00012 (cod_par,
|
|
sec_par);
|
|
{ TABLE "informix".smtb00009 row size = 160 number of columns = 22 index size = 48
|
|
}
|
|
create table "informix".smtb00009
|
|
(
|
|
num_serv integer,
|
|
num_emp integer,
|
|
cod_par integer,
|
|
sec_par integer,
|
|
fecha date,
|
|
cod_cli integer,
|
|
cod_med integer,
|
|
diagnostico char(53),
|
|
beneficiario char(1),
|
|
num_doc integer,
|
|
num_hab char(8),
|
|
tipo_sv integer,
|
|
sec_sv integer,
|
|
cantidad integer,
|
|
valor decimal(12,2),
|
|
monto_cob decimal(12,2),
|
|
excedente 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 "informix".smtb00009 from "public";
|
|
|
|
create index "informix".smtb09_1 on "informix".smtb00009 (num_emp,
|
|
cod_par,sec_par);
|
|
create index "informix".ix475_1 on "informix".smtb00009 (num_serv);
|
|
|
|
create index "informix".ix475_10 on "informix".smtb00009 (num_doc);
|
|
|
|
{ TABLE "informix".cgtb00014 row size = 41 number of columns = 6 index size = 0 }
|
|
create table "informix".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 "informix".cgtb00014 from "public";
|
|
|
|
{ TABLE "informix".vetb00034 row size = 113 number of columns = 28 index size = 33
|
|
}
|
|
create table "informix".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 "informix".vetb00034 from "public";
|
|
|
|
create index "informix".anterior1 on "informix".vetb00034 (fecha_factura);
|
|
|
|
create index "informix".anterior2 on "informix".vetb00034 (sec_vend);
|
|
|
|
create unique index "informix".hist_02 on "informix".vetb00034
|
|
(factura);
|
|
{ TABLE "informix".vetb00035 row size = 65 number of columns = 15 index size = 36
|
|
}
|
|
create table "informix".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 "informix".vetb00035 from "public";
|
|
|
|
create index "informix".ix482_2 on "informix".vetb00035 (factura);
|
|
|
|
create unique index "informix".hist_03 on "informix".vetb00035
|
|
(factura,cod_n,cod_grupo,cod_tipo,cod_sec);
|
|
{ TABLE "informix".intb00021 row size = 53 number of columns = 12 index size = 12
|
|
}
|
|
create table "informix".intb00021
|
|
(
|
|
fecha date,
|
|
factura 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 "informix".intb00021 from "public";
|
|
|
|
create index "informix".ix907_2 on "informix".intb00021 (factura);
|
|
|
|
{ TABLE "informix".cgtb00031 row size = 101 number of columns = 7 index size = 18
|
|
}
|
|
create table "informix".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 "informix".cgtb00031 from "public";
|
|
|
|
create unique index "informix".cronologico on "informix".cgtb00031
|
|
(cod_cro);
|
|
{ TABLE "informix".tetb00003 row size = 67 number of columns = 8 index size = 0 }
|
|
create table "informix".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 "informix".tetb00003 from "public";
|
|
|
|
{ TABLE "informix".tetb00007 row size = 51 number of columns = 8 index size = 0 }
|
|
create table "informix".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 "informix".tetb00007 from "public";
|
|
|
|
{ TABLE "informix".adtb00036 row size = 115 number of columns = 10 index size = 9
|
|
}
|
|
create table "informix".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 "informix".adtb00036 from "public";
|
|
|
|
create unique index "informix".ix506_1 on "informix".adtb00036
|
|
(num_emp);
|
|
{ TABLE "informix".intb00026 row size = 59 number of columns = 12 index size = 0
|
|
}
|
|
create table "informix".intb00026
|
|
(
|
|
fecha date,
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
cantidad_a decimal(12,2),
|
|
cantidad_b 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 "informix".intb00026 from "public";
|
|
|
|
{ TABLE "informix".tetb00005 row size = 51 number of columns = 9 index size = 0 }
|
|
create table "informix".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 "informix".tetb00005 from "public";
|
|
|
|
{ TABLE "informix".tetb00004 row size = 51 number of columns = 9 index size = 0 }
|
|
create table "informix".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 "informix".tetb00004 from "public";
|
|
|
|
{ TABLE "informix".vetb00037 row size = 432 number of columns = 19 index size = 0
|
|
}
|
|
create table "informix".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 "informix".vetb00037 from "public";
|
|
|
|
{ TABLE "informix".vetb00038 row size = 107 number of columns = 13 index size = 0
|
|
}
|
|
create table "informix".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 "informix".vetb00038 from "public";
|
|
|
|
{ TABLE "informix".vetb00039 row size = 114 number of columns = 12 index size = 0
|
|
}
|
|
create table "informix".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 "informix".vetb00039 from "public";
|
|
|
|
{ TABLE "informix".vacaciones row size = 128 number of columns = 13 index size =
|
|
0 }
|
|
create table "informix".vacaciones
|
|
(
|
|
num_emp smallint,
|
|
cod_puesto smallint,
|
|
nom1_emp char(20),
|
|
nom2_emp char(20),
|
|
apell1_emp char(20),
|
|
apell2_emp char(20),
|
|
cedula integer,
|
|
serie smallint,
|
|
nomina char(1),
|
|
fecha_ing date,
|
|
nom_puesto char(25),
|
|
fech_vac date,
|
|
dia date
|
|
);
|
|
revoke all on "informix".vacaciones from "public";
|
|
|
|
{ TABLE "informix".cttb00037 row size = 46 number of columns = 8 index size = 9 }
|
|
create table "informix".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 "informix".cttb00037 from "public";
|
|
|
|
create index "informix".ix532_1 on "informix".cttb00037 (cod_prod);
|
|
|
|
{ TABLE "informix".notb00007 row size = 58 number of columns = 14 index size = 9
|
|
}
|
|
create table "informix".notb00007
|
|
(
|
|
num_nomi smallint,
|
|
tipo_emp char(1),
|
|
num_emp smallint,
|
|
departamento smallint,
|
|
nivel_emp smallint,
|
|
cod_puesto smallint,
|
|
cod_mov smallint,
|
|
cantidad decimal(10,2),
|
|
valor 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 "informix".notb00007 from "public";
|
|
|
|
create index "informix".ix638_1 on "informix".notb00007 (num_nomi);
|
|
|
|
{ TABLE "informix".iptb00012 row size = 81 number of columns = 10 index size = 52
|
|
}
|
|
create table "informix".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 "informix".iptb00012 from "public";
|
|
|
|
create cluster index "informix".iptb12_1 on "informix".iptb00012
|
|
(cod,ean13,cd);
|
|
create index "informix".iptb12_2 on "informix".iptb00012 (cod,
|
|
ean13);
|
|
{ TABLE "informix".iptb00009 row size = 78 number of columns = 17 index size = 0
|
|
}
|
|
create table "informix".iptb00009
|
|
(
|
|
fecha date not null constraint "informix".n443_133,
|
|
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 "informix".n443_134,
|
|
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 "informix".iptb00009 from "public";
|
|
|
|
{ TABLE "informix".intb00025 row size = 83 number of columns = 18 index size = 0
|
|
}
|
|
create table "informix".intb00025
|
|
(
|
|
fecha date not null constraint "informix".n444_135,
|
|
cod_n smallint not null constraint "informix".n444_136,
|
|
cod_grupo smallint not null constraint "informix".n444_137,
|
|
cod_tipo smallint not null constraint "informix".n444_138,
|
|
cod_sec smallint not null constraint "informix".n444_139,
|
|
pto_reorden decimal(10,2) not null constraint "informix".n444_140,
|
|
existencia decimal(10,2) not null constraint "informix".n444_141,
|
|
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 "informix".intb00025 from "public";
|
|
|
|
{ TABLE "informix".notb00019 row size = 51 number of columns = 9 index size = 0 }
|
|
create table "informix".notb00019
|
|
(
|
|
num_nomi smallint,
|
|
tipo_emp char(1),
|
|
cheque_no_ini integer,
|
|
cheque_no_fin integer,
|
|
cuenta_no 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 "informix".notb00019 from "public";
|
|
|
|
{ TABLE "informix".vetb00040 row size = 97 number of columns = 11 index size = 12
|
|
}
|
|
create table "informix".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 "informix".u557_2
|
|
);
|
|
revoke all on "informix".vetb00040 from "public";
|
|
|
|
{ TABLE "informix".notb00020 row size = 94 number of columns = 13 index size = 0
|
|
}
|
|
create table "informix".notb00020
|
|
(
|
|
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 "informix".notb00020 from "public";
|
|
|
|
{ TABLE "informix".notb00021 row size = 51 number of columns = 9 index size = 0 }
|
|
create table "informix".notb00021
|
|
(
|
|
num_nomi smallint,
|
|
tipo_emp char(1),
|
|
cheque_no_ini integer,
|
|
cheque_no_fin integer,
|
|
cuenta_no 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 "informix".notb00021 from "public";
|
|
|
|
{ TABLE "informix".cgtb00021 row size = 55 number of columns = 8 index size = 63
|
|
}
|
|
create table "informix".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 "informix".cgtb00021 from "public";
|
|
|
|
create index "informix".cgtb21_1 on "informix".cgtb00021 (cuenta_no,
|
|
cheque_no,factura);
|
|
create index "informix".cgtb21_2 on "informix".cgtb00021 (cuenta_no,
|
|
cheque_no);
|
|
{ TABLE "informix".iptb00016 row size = 171 number of columns = 29 index size = 0
|
|
}
|
|
create table "informix".iptb00016
|
|
(
|
|
cod_cia smallint,
|
|
num_doc integer not null constraint "informix".n454_149,
|
|
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 "informix".n454_150,
|
|
detalle char(60),
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
cantidad_1 integer,
|
|
cantidad_2 integer not null constraint "informix".n454_151,
|
|
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 "informix".iptb00016 from "public";
|
|
|
|
{ TABLE "informix".intb00023 row size = 39 number of columns = 7 index size = 0 }
|
|
create table "informix".intb00023
|
|
(
|
|
num_doc integer not null constraint "informix".n456_152,
|
|
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 "informix".intb00023 from "public";
|
|
|
|
{ TABLE "informix".cgtb00032 row size = 186 number of columns = 14 index size = 0
|
|
}
|
|
create table "informix".cgtb00032
|
|
(
|
|
cheque_no integer not null constraint "informix".n423_118,
|
|
banco char(8) not null constraint "informix".n423_119,
|
|
fecha date,
|
|
cod_cro char(8) not null constraint "informix".n423_120,
|
|
recibido_por char(60) not null constraint "informix".n423_121,
|
|
cedula char(20) not null constraint "informix".n423_122,
|
|
direccion char(40),
|
|
fecha_ent date not null constraint "informix".n423_123,
|
|
hora_ent char(5) not null constraint "informix".n423_124,
|
|
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 "informix".cgtb00032 from "public";
|
|
|
|
{ TABLE "informix".cgtb00033 row size = 253 number of columns = 16 index size = 0
|
|
}
|
|
create table "informix".cgtb00033
|
|
(
|
|
cheque_no integer not null constraint "informix".n426_125,
|
|
banco char(8) not null constraint "informix".n426_126,
|
|
fecha date,
|
|
monto decimal(12,2),
|
|
portador char(60),
|
|
cod_cro char(8) not null constraint "informix".n426_127,
|
|
recibido_por char(60) not null constraint "informix".n426_128,
|
|
cedula char(20) not null constraint "informix".n426_129,
|
|
direccion char(40),
|
|
fecha_ent date not null constraint "informix".n426_130,
|
|
hora_ent char(5) not null constraint "informix".n426_131,
|
|
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 "informix".cgtb00033 from "public";
|
|
|
|
{ TABLE "informix".rpg13 row size = 20 number of columns = 7 index size = 24 }
|
|
create table "informix".rpg13
|
|
(
|
|
sec_vend smallint,
|
|
cod_cia smallint,
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
valor decimal(14,2),
|
|
unique (sec_vend,cod_cia,cod_n,cod_grupo,cod_tipo,cod_sec) constraint "informix".vendido
|
|
);
|
|
revoke all on "informix".rpg13 from "public";
|
|
|
|
{ TABLE "informix".vetb00032 row size = 57 number of columns = 14 index size = 0
|
|
}
|
|
create table "informix".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 "informix".vetb00032 from "public";
|
|
|
|
{ TABLE "informix".irtb00005 row size = 100 number of columns = 11 index size = 9
|
|
}
|
|
create table "informix".irtb00005
|
|
(
|
|
cod_mov smallint not null constraint "informix".n280_73,
|
|
descrip_mov char(40),
|
|
status_mov char(1),
|
|
cuenta_1 char(8),
|
|
cuenta_2 char(8),
|
|
cuenta_3 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 "informix".irtb00005 from "public";
|
|
|
|
create index "informix".ix327_1 on "informix".irtb00005 (cod_mov);
|
|
|
|
{ TABLE "informix".iptb00010 row size = 121 number of columns = 16 index size = 18
|
|
}
|
|
create table "informix".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 "informix".iptb00010 from "public";
|
|
|
|
create unique index "informix".ip10cod on "informix".iptb00010
|
|
(cod_n,cod_grupo,cod_tipo,cod_sec);
|
|
{ TABLE "informix".cgtb00055 row size = 94 number of columns = 13 index size = 0
|
|
}
|
|
create table "informix".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 "informix".cgtb00055 from "public";
|
|
|
|
{ TABLE "informix".irtb00013 row size = 54 number of columns = 13 index size = 39
|
|
}
|
|
create table "informix".irtb00013
|
|
(
|
|
mes_ini smallint,
|
|
mes_fin smallint,
|
|
ano smallint,
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
costo_st 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 "informix".irtb00013 from "public";
|
|
|
|
create index "informix".irtb231 on "informix".irtb00013 (mes_ini);
|
|
|
|
create index "informix".irtb232 on "informix".irtb00013 (cod_n,
|
|
cod_grupo,cod_tipo,cod_sec);
|
|
create index "informix".mes2 on "informix".irtb00013 (ano,mes_fin);
|
|
|
|
{ TABLE "informix".prtb00006 row size = 52 number of columns = 11 index size = 12
|
|
}
|
|
create table "informix".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 "informix".prtb00006 from "public";
|
|
|
|
create index "informix".ix1633_1 on "informix".prtb00006 (cod_prod);
|
|
|
|
{ TABLE "informix".cttb00038 row size = 56 number of columns = 10 index size = 21
|
|
}
|
|
create table "informix".cttb00038
|
|
(
|
|
ventas char(1) not null constraint "informix".n507_165,
|
|
nomenclatura char(10) not null constraint "informix".n505_161,
|
|
ano smallint not null constraint "informix".n506_162,
|
|
mes smallint not null constraint "informix".n506_163,
|
|
costo_st decimal(12,7) not null constraint "informix".n506_164,
|
|
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 "informix".cttb00038 from "public";
|
|
|
|
create index "informix".ix507_2 on "informix".cttb00038 (nomenclatura);
|
|
|
|
{ TABLE "informix".cttb00002 row size = 38 number of columns = 7 index size = 0 }
|
|
create table "informix".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 "informix".cttb00002 from "public";
|
|
|
|
{ TABLE "informix".cttb00039 row size = 27 number of columns = 5 index size = 0 }
|
|
create table "informix".cttb00039
|
|
(
|
|
ano smallint,
|
|
mes smallint,
|
|
valor decimal(12,2),
|
|
us_crea char(9),
|
|
fech_crea datetime year to minute
|
|
);
|
|
revoke all on "informix".cttb00039 from "public";
|
|
|
|
{ TABLE "informix".vetb00033 row size = 49 number of columns = 8 index size = 24
|
|
}
|
|
create table "informix".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 "informix".vetb00033 from "public";
|
|
|
|
create index "informix".ix1522_1 on "informix".vetb00033 (num_emp);
|
|
|
|
create index "informix".ix1522_2 on "informix".vetb00033 (sec_cliente);
|
|
|
|
{ TABLE "informix".adtb00037 row size = 59 number of columns = 10 index size = 72
|
|
}
|
|
create table "informix".adtb00037
|
|
(
|
|
departamento smallint,
|
|
estado_q char(7),
|
|
estado_m char(7),
|
|
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 "informix".adtb00037 from "public";
|
|
|
|
create unique index "usainf01".estadoq on "informix".adtb00037
|
|
(departamento,cuenta_no,estado_q);
|
|
create index "informix".departa on "informix".adtb00037 (departamento);
|
|
|
|
create unique index "informix".estado_q on "informix".adtb00037
|
|
(departamento,estado_m,cuenta_no);
|
|
{ TABLE "informix".adtb00137 row size = 53 number of columns = 10 index size = 0
|
|
}
|
|
create table "informix".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 "informix".adtb00137 from "public";
|
|
|
|
{ TABLE "informix".cctb00006 row size = 89 number of columns = 11 index size = 0
|
|
}
|
|
create table "informix".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 "informix".cctb00006 from "public";
|
|
|
|
{ TABLE "informix".iptb00013 row size = 43 number of columns = 9 index size = 0 }
|
|
create table "informix".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 "informix".iptb00013 from "public";
|
|
|
|
{ TABLE "informix".iptb00008 row size = 171 number of columns = 29 index size = 0
|
|
}
|
|
create table "informix".iptb00008
|
|
(
|
|
cod_cia smallint,
|
|
num_doc integer not null constraint "informix".n447_144,
|
|
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 "informix".n447_145,
|
|
detalle char(60),
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
cantidad_1 integer,
|
|
cantidad_2 integer not null constraint "informix".n447_146,
|
|
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 "informix".iptb00008 from "public";
|
|
|
|
{ TABLE "informix".sttb101 row size = 80 number of columns = 1 index size = 0 }
|
|
create table "informix".sttb101
|
|
(
|
|
string char(80)
|
|
);
|
|
revoke all on "informix".sttb101 from "public";
|
|
|
|
{ TABLE "informix".smtb00013 row size = 66 number of columns = 13 index size = 0
|
|
}
|
|
create table "informix".smtb00013
|
|
(
|
|
num_sol integer,
|
|
cuenta_no char(8),
|
|
cheque_no integer,
|
|
fecha date,
|
|
num_emp smallint,
|
|
cod_cli smallint,
|
|
cod_med smallint,
|
|
pagado_a char(1),
|
|
monto 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 "informix".smtb00013 from "public";
|
|
|
|
{ TABLE "informix".smtb00014 row size = 55 number of columns = 10 index size = 0
|
|
}
|
|
create table "informix".smtb00014
|
|
(
|
|
num_sol integer,
|
|
num_serv integer,
|
|
fecha_serv date,
|
|
tipo_sv smallint,
|
|
sec_sv smallint,
|
|
valor_a_pagar 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 "informix".smtb00014 from "public";
|
|
|
|
{ TABLE "informix".smtb00006 row size = 154 number of columns = 12 index size = 12
|
|
}
|
|
create table "informix".smtb00006
|
|
(
|
|
cod_cli integer,
|
|
nom_cli char(30),
|
|
dir_cli char(40),
|
|
ciu_cli char(30),
|
|
telefono char(8),
|
|
fax char(8),
|
|
afiliado 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 "informix".smtb00006 from "public";
|
|
|
|
create index "informix".smtb6_1 on "informix".smtb00006 (cod_cli);
|
|
|
|
{ TABLE "informix".smtb00007 row size = 176 number of columns = 15 index size = 12
|
|
}
|
|
create table "informix".smtb00007
|
|
(
|
|
cod_med integer,
|
|
nom_med char(30),
|
|
ced_med char(10),
|
|
dir_med char(40),
|
|
ciu_med char(30),
|
|
telefono char(8),
|
|
celular char(8),
|
|
beeper char(8),
|
|
cod_esp integer,
|
|
afiliado 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 "informix".smtb00007 from "public";
|
|
|
|
create index "informix".smtb7_1 on "informix".smtb00007 (cod_med);
|
|
|
|
{ TABLE "informix".cotb00009 row size = 70 number of columns = 13 index size = 0
|
|
}
|
|
create table "informix".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 "informix".cotb00009 from "public";
|
|
|
|
{ TABLE "informix".intb00027 row size = 65 number of columns = 10 index size = 12
|
|
}
|
|
create table "informix".intb00027
|
|
(
|
|
num_fianza integer,
|
|
no_pla_liq char(10),
|
|
num_res_canc integer,
|
|
num_oficio char(10),
|
|
num_form 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 "informix".intb00027 from "public";
|
|
|
|
create unique index "informix".intb27_1 on "informix".intb00027
|
|
(num_fianza);
|
|
{ TABLE "informix".iptb00015 row size = 38 number of columns = 7 index size = 0 }
|
|
create table "informix".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 "informix".iptb00015 from "public";
|
|
|
|
{ TABLE "informix".iptb00017 row size = 171 number of columns = 29 index size = 195
|
|
}
|
|
create table "informix".iptb00017
|
|
(
|
|
cod_cia smallint,
|
|
num_doc integer not null constraint "informix".n448_147,
|
|
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 "informix".iptb00017 from "public";
|
|
|
|
create index "informix".ix368_1 on "informix".iptb00017 (cod_cia);
|
|
|
|
create index "informix".ix368_2 on "informix".iptb00017 (num_doc);
|
|
|
|
create index "informix".ix368_3 on "informix".iptb00017 (fecha);
|
|
|
|
create index "informix".ix368_10 on "informix".iptb00017 (cod_n);
|
|
|
|
create index "informix".ix368_11 on "informix".iptb00017 (cod_grupo);
|
|
|
|
create index "informix".ix368_12 on "informix".iptb00017 (cod_tipo);
|
|
|
|
create index "informix".ix368_13 on "informix".iptb00017 (cod_sec);
|
|
|
|
create index "informix".ix448_13 on "informix".iptb00017 (cod_mov);
|
|
|
|
create index "informix".ix768_25 on "informix".iptb00017 (status_t);
|
|
|
|
create cluster index "informix".iptb08_1 on "informix".iptb00017
|
|
(cod_n,cod_grupo,cod_tipo,cod_sec,fecha,orden_compra,status_t,
|
|
cod_mov);
|
|
create index "informix".ranch on "informix".iptb00017 (cod_n,cod_grupo,
|
|
cod_tipo,cod_sec,cod_sp_sec,fecha,cod_mov);
|
|
create index "informix".cod_sp17 on "informix".iptb00017 (cod_sp_sec);
|
|
|
|
create index "informix".modi1 on "informix".iptb00017 (num_doc,
|
|
cod_mov);
|
|
create index "informix".ix768_4 on "informix".iptb00017 (fact_no);
|
|
|
|
{ TABLE "informix".cttb00040 row size = 32 number of columns = 8 index size = 12
|
|
}
|
|
create table "informix".cttb00040
|
|
(
|
|
ano smallint,
|
|
mes smallint not null constraint "informix".n240_14,
|
|
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 "informix".cttb00040 from "public";
|
|
|
|
create index "informix".ix571_4 on "informix".cttb00040 (num_oc);
|
|
|
|
{ TABLE "informix".intb00028 row size = 103 number of columns = 17 index size = 0
|
|
}
|
|
create table "informix".intb00028
|
|
(
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
descrip_esp char(30),
|
|
unidad_med char(3),
|
|
fecha date,
|
|
num_fianza integer,
|
|
form3111 integer,
|
|
pla_liq char(10),
|
|
fecha_f date,
|
|
factura integer,
|
|
cantidad_i decimal(12,2),
|
|
cantidad_e decimal(12,2),
|
|
balance decimal(12,2),
|
|
letrero char(10),
|
|
tipo_doc char(1)
|
|
);
|
|
revoke all on "informix".intb00028 from "public";
|
|
|
|
{ TABLE "informix".notb00010 row size = 57 number of columns = 13 index size = 19
|
|
}
|
|
create table "informix".notb00010
|
|
(
|
|
tipo_emp char(1),
|
|
h_normal decimal(8,2),
|
|
num_nomi integer,
|
|
mes smallint,
|
|
ano smallint not null constraint "informix".n580_180,
|
|
num_sem smallint,
|
|
fecha_del date,
|
|
fecha_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 "informix".notb00010 from "public";
|
|
|
|
create index "informix".ix671_1 on "informix".notb00010 (tipo_emp);
|
|
|
|
create index "informix".ix671_2 on "informix".notb00010 (num_nomi);
|
|
|
|
{ TABLE "informix".notb00008 row size = 65 number of columns = 16 index size = 145
|
|
}
|
|
create table "informix".notb00008
|
|
(
|
|
num_nomi integer,
|
|
tipo_emp char(1),
|
|
num_emp smallint,
|
|
departamento smallint,
|
|
nivel_emp smallint,
|
|
cod_puesto smallint,
|
|
fecha date,
|
|
cod_mov smallint,
|
|
cantidad decimal(10,2),
|
|
valor decimal(10,2),
|
|
clase_mov 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 "informix".notb00008 from "public";
|
|
|
|
create index "informix".empleado on "informix".notb00008 (num_nomi,
|
|
tipo_emp,cod_mov,departamento,num_emp);
|
|
create index "informix".movimiento on "informix".notb00008 (num_emp,
|
|
cod_mov);
|
|
create index "informix".clases on "informix".notb00008 (status_t,
|
|
clase_mov,num_emp);
|
|
create index "informix".acumula on "informix".notb00008 (num_emp,
|
|
cod_mov,fecha);
|
|
create index "informix".nomina on "informix".notb00008 (num_nomi,
|
|
tipo_emp);
|
|
create index "informix".notb8_1 on "informix".notb00008 (cod_mov,
|
|
fecha);
|
|
create index "informix".notb8_2 on "informix".notb00008 (num_nomi,
|
|
tipo_emp,num_emp,departamento);
|
|
create index "informix".notb8_3 on "informix".notb00008 (num_emp,
|
|
tipo_emp,cod_mov);
|
|
create index "informix".nomi on "informix".notb00008 (tipo_emp,
|
|
num_nomi,num_emp,cod_mov);
|
|
{ TABLE "informix".notb00088 row size = 65 number of columns = 16 index size = 126
|
|
}
|
|
create table "informix".notb00088
|
|
(
|
|
num_nomi integer,
|
|
tipo_emp char(1),
|
|
num_emp smallint,
|
|
departamento smallint,
|
|
nivel_emp smallint,
|
|
cod_puesto smallint,
|
|
fecha date,
|
|
cod_mov smallint,
|
|
cantidad decimal(10,2),
|
|
valor decimal(10,2),
|
|
clase_mov 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 "informix".notb00088 from "public";
|
|
|
|
create index "informix".emp88 on "informix".notb00088 (num_nomi,
|
|
tipo_emp,cod_mov,departamento,num_emp);
|
|
create index "informix".mov88 on "informix".notb00088 (num_emp,
|
|
cod_mov);
|
|
create index "informix".clases88 on "informix".notb00088 (status_t,
|
|
clase_mov,num_emp);
|
|
create index "informix".acu88 on "informix".notb00088 (num_emp,
|
|
cod_mov,fecha);
|
|
create index "informix".nom88 on "informix".notb00088 (num_nomi,
|
|
tipo_emp);
|
|
create index "informix".notb88_1 on "informix".notb00088 (cod_mov,
|
|
fecha);
|
|
create index "informix".notb88_2 on "informix".notb00088 (num_nomi,
|
|
tipo_emp,num_emp,departamento);
|
|
create index "informix".notb88_3 on "informix".notb00088 (num_emp,
|
|
tipo_emp,cod_mov);
|
|
{ TABLE "informix".iptb04 row size = 74 number of columns = 16 index size = 0 }
|
|
create table "informix".iptb04
|
|
(
|
|
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,
|
|
material decimal(12,7),
|
|
labor decimal(12,7),
|
|
gasto_ind 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 "informix".iptb04 from "public";
|
|
|
|
{ TABLE "informix".iptb00006 row size = 171 number of columns = 29 index size = 237
|
|
}
|
|
create table "informix".iptb00006
|
|
(
|
|
cod_cia smallint,
|
|
num_doc integer not null constraint "informix".n449_147,
|
|
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 "informix".iptb00006 from "public";
|
|
|
|
create index "informix".ix369_1 on "informix".iptb00006 (cod_cia);
|
|
|
|
create index "informix".ix369_2 on "informix".iptb00006 (num_doc);
|
|
|
|
create index "informix".ix369_3 on "informix".iptb00006 (fecha);
|
|
|
|
create index "informix".ix440_13 on "informix".iptb00006 (cod_mov);
|
|
|
|
create index "informix".ix769_4 on "informix".iptb00006 (fact_no);
|
|
|
|
create cluster index "informix".iptb06_1 on "informix".iptb00006
|
|
(cod_n,cod_grupo,cod_tipo,cod_sec,fecha,orden_compra,status_t,
|
|
cod_mov);
|
|
create index "informix".plan_1 on "informix".iptb00006 (fecha,
|
|
cod_sp_sec,cod_mov);
|
|
create index "informix".plan_2 on "informix".iptb00006 (cod_sp_sec,
|
|
cod_n,cod_grupo,cod_tipo,cod_sec);
|
|
create index "informix".ix609_16 on "informix".iptb00006 (cod_n);
|
|
|
|
create index "informix".ix609_17 on "informix".iptb00006 (cod_grupo);
|
|
|
|
create index "informix".ix609_18 on "informix".iptb00006 (cod_tipo);
|
|
|
|
create index "informix".ix609_19 on "informix".iptb00006 (cod_sec);
|
|
|
|
create index "informix".cod_sp6 on "informix".iptb00006 (cod_sp_sec);
|
|
|
|
create index "informix".modifica on "informix".iptb00006 (num_doc,
|
|
cod_mov);
|
|
create index "informix".ix609_5 on "informix".iptb00006 (conduce_no);
|
|
|
|
create index "informix".existencia on "informix".iptb00006 (cod_n,
|
|
cod_grupo,cod_tipo,cod_sec,status_t);
|
|
{ TABLE "informix".cotb00021 row size = 42 number of columns = 10 index size = 0
|
|
}
|
|
create table "informix".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 "informix".cotb00021 from "public";
|
|
|
|
{ TABLE "informix".cotb00023 row size = 64 number of columns = 7 index size = 0 }
|
|
create table "informix".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 "informix".cotb00023 from "public";
|
|
|
|
{ TABLE "informix".actb00001 row size = 113 number of columns = 14 index size = 22
|
|
}
|
|
create table "informix".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 "informix".actb00001 from "public";
|
|
|
|
create index "informix".ix732_1 on "informix".actb00001 (codigo);
|
|
|
|
create cluster index "informix".actb01_1 on "informix".actb00001
|
|
(codigo,status_t,departamento);
|
|
{ TABLE "informix".cgtb00004 row size = 203 number of columns = 18 index size = 213
|
|
}
|
|
create table "informix".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 "informix".cgtb00004 from "public";
|
|
|
|
create index "informix".idx_4 on "informix".cgtb00004 (ref);
|
|
create index "informix".idx_41 on "informix".cgtb00004 (cuenta_no);
|
|
|
|
create index "informix".idx_42 on "informix".cgtb00004 (status_t);
|
|
|
|
create index "informix".idx_43 on "informix".cgtb00004 (fecha);
|
|
|
|
create cluster index "informix".cgtb04_1 on "informix".cgtb00004
|
|
(cuenta_no,status_t,fecha,cod_sec,num_doc);
|
|
create index "informix".auxiliar on "informix".cgtb00004 (cod_aux,
|
|
cod_sec,status_t);
|
|
create index "informix".auxiliari1 on "informix".cgtb00004 (cod_aux,
|
|
cod_sec,num_doc,status_t);
|
|
create index "informix".idx20 on "informix".cgtb00004 (fecha,ref);
|
|
|
|
create index "informix".cgtb4_dep on "informix".cgtb00004 (departamento);
|
|
|
|
create index "informix".depto on "informix".cgtb00004 (departamento,
|
|
fecha);
|
|
{ TABLE "informix".pgtb00033 row size = 55 number of columns = 10 index size = 106
|
|
}
|
|
create table "informix".pgtb00033
|
|
(
|
|
ano smallint,
|
|
mes smallint,
|
|
cuenta_no char(8),
|
|
departamento integer,
|
|
valor 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 "informix".pgtb00033 from "public";
|
|
|
|
create index "informix".ix793_133 on "informix".pgtb00033 (ano);
|
|
|
|
create index "informix".ix793_333 on "informix".pgtb00033 (cuenta_no);
|
|
|
|
create cluster index "informix".pgtb03_133 on "informix".pgtb00033
|
|
(status_t,cuenta_no,departamento,mes,ano);
|
|
create index "informix".pgtb333 on "informix".pgtb00033 (departamento,
|
|
cuenta_no,ano);
|
|
create index "informix".ix793_233 on "informix".pgtb00033 (mes);
|
|
|
|
create index "informix".ix793_433 on "informix".pgtb00033 (departamento);
|
|
|
|
{ TABLE "informix".vetb00001 row size = 39 number of columns = 7 index size = 0 }
|
|
create table "informix".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 "informix".vetb00001 from "public";
|
|
|
|
{ TABLE "informix".cotb00036 row size = 55 number of columns = 7 index size = 9 }
|
|
create table "informix".cotb00036
|
|
(
|
|
priori_req smallint not null constraint "informix".n459_148,
|
|
desc_priori char(20) not null constraint "informix".n459_149,
|
|
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 "informix".cotb00036 from "public";
|
|
|
|
create unique index "informix".ix459_1 on "informix".cotb00036
|
|
(priori_req);
|
|
{ TABLE "informix".cotb00037 row size = 68 number of columns = 16 index size = 33
|
|
}
|
|
create table "informix".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 "informix".cotb00037 from "public";
|
|
|
|
create unique index "informix".cotb37 on "informix".cotb00037
|
|
(num_oc,tipo,cod_emb,cod_n,cod_grupo,cod_tipo,cod_sec);
|
|
{ TABLE "informix".cotb00039 row size = 101 number of columns = 14 index size = 0
|
|
}
|
|
create table "informix".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 "informix".cotb00039 from "public";
|
|
|
|
{ TABLE "informix".cotb00040 row size = 112 number of columns = 8 index size = 0
|
|
}
|
|
create table "informix".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 "informix".cotb00040 from "public";
|
|
|
|
{ TABLE "informix".cotb00041 row size = 50 number of columns = 7 index size = 0 }
|
|
create table "informix".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 "informix".cotb00041 from "public";
|
|
|
|
{ TABLE "informix".notb00003 row size = 55 number of columns = 12 index size = 18
|
|
}
|
|
create table "informix".notb00003
|
|
(
|
|
num_emp smallint,
|
|
departamento smallint,
|
|
nivel_emp smallint,
|
|
cod_puesto smallint,
|
|
cod_mov smallint,
|
|
cantidad decimal(10,2),
|
|
valor 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 "informix".notb00003 from "public";
|
|
|
|
create index "informix".ix824_1 on "informix".notb00003 (num_emp);
|
|
|
|
create index "informix".ix824_5 on "informix".notb00003 (cod_mov);
|
|
|
|
{ TABLE "informix".cotb00006 row size = 81 number of columns = 12 index size = 12
|
|
}
|
|
create table "informix".cotb00006
|
|
(
|
|
num_req serial not null constraint "informix".n694_196,
|
|
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 "informix".cotb00006 from "public";
|
|
|
|
create unique index "informix".ix693_1 on "informix".cotb00006
|
|
(num_req);
|
|
{ TABLE "informix".cotb00014 row size = 130 number of columns = 22 index size = 112
|
|
}
|
|
create table "informix".cotb00014
|
|
(
|
|
num_oc integer not null ,
|
|
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 "informix".cotb00014 from "public";
|
|
|
|
create index "informix".ix250_3 on "informix".cotb00014 (fech_oc);
|
|
|
|
create index "informix".clave on "informix".cotb00014 (num_oc,
|
|
tipo);
|
|
create cluster index "informix".cotb14_1 on "informix".cotb00014
|
|
(fech_oc,status_t,num_oc,tipo,cod_sp,cod_sp_sec);
|
|
create index "informix".suplidor on "informix".cotb00014 (cod_sp,
|
|
cod_sp_sec);
|
|
create index "informix".tipo_sp on "informix".cotb00014 (tipo,
|
|
cod_sp,cod_sp_sec);
|
|
create unique index "informix".ix702_1 on "informix".cotb00014
|
|
(num_oc);
|
|
create index "informix".ix703_5 on "informix".cotb00014 (cod_sp);
|
|
|
|
create index "informix".ix703_6 on "informix".cotb00014 (cod_sp_sec);
|
|
|
|
{ TABLE "informix".notb00006 row size = 69 number of columns = 11 index size = 0
|
|
}
|
|
create table "informix".notb00006
|
|
(
|
|
salario_sem_desde decimal(10,2),
|
|
salario_sem_hasta decimal(10,2),
|
|
salario_men_desde decimal(10,2),
|
|
salario_men_hasta decimal(10,2),
|
|
porc_emp decimal(10,2),
|
|
porc_pat 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 "informix".notb00006 from "public";
|
|
|
|
{ TABLE "informix".actb00005 row size = 105 number of columns = 15 index size = 22
|
|
}
|
|
create table "informix".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 "informix".actb00005 from "public";
|
|
|
|
create index "informix".ix732_5 on "informix".actb00005 (codigo);
|
|
|
|
create cluster index "informix".actb05_1 on "informix".actb00005
|
|
(codigo,status_t,departamento);
|
|
{ TABLE "informix".vetb00041 row size = 33 number of columns = 7 index size = 0 }
|
|
create table "informix".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 "informix".vetb00041 from "public";
|
|
|
|
{ TABLE "informix".cgtb00022 row size = 70 number of columns = 11 index size = 0
|
|
}
|
|
create table "informix".cgtb00022
|
|
(
|
|
referencia char(4),
|
|
departamento smallint,
|
|
cuenta_no char(8),
|
|
estado_m char(7),
|
|
balance_ant decimal(12,2),
|
|
actividad decimal(12,2),
|
|
balance decimal(12,2),
|
|
presupuesto decimal(12,2),
|
|
tasa decimal(8,2),
|
|
us_crea char(9),
|
|
fech_crea datetime year to minute
|
|
);
|
|
revoke all on "informix".cgtb00022 from "public";
|
|
|
|
{ TABLE "informix".cctb00007 row size = 238 number of columns = 16 index size = 0
|
|
}
|
|
create table "informix".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 "informix".cctb00007 from "public";
|
|
|
|
{ TABLE "informix".irtb0013 row size = 54 number of columns = 13 index size = 0 }
|
|
create table "informix".irtb0013
|
|
(
|
|
mes_ini smallint,
|
|
mes_fin smallint,
|
|
ano smallint,
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
costo_st 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 "informix".irtb0013 from "public";
|
|
|
|
{ TABLE "usccx01".tempo21 row size = 34 number of columns = 9 index size = 0 }
|
|
create table "usccx01".tempo21
|
|
(
|
|
num_emp smallint,
|
|
tipo_cliente smallint,
|
|
sec_cliente smallint,
|
|
tipo_doc char(2),
|
|
num_doc integer,
|
|
fecha_orig date,
|
|
aplica_a integer,
|
|
valor decimal(12,2),
|
|
monto_desc decimal(12,2)
|
|
);
|
|
revoke all on "usccx01".tempo21 from "public";
|
|
|
|
{ TABLE "informix".irtb01133 row size = 54 number of columns = 13 index size = 39
|
|
}
|
|
create table "informix".irtb01133
|
|
(
|
|
mes_ini smallint,
|
|
mes_fin smallint,
|
|
ano smallint,
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
costo_st 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 "informix".irtb01133 from "public";
|
|
|
|
create index "informix".irtb11133 on "informix".irtb01133 (mes_ini);
|
|
|
|
create index "informix".irtb21133 on "informix".irtb01133 (cod_n,
|
|
cod_grupo,cod_tipo,cod_sec);
|
|
create index "informix".irtb31133 on "informix".irtb01133 (ano,
|
|
mes_fin);
|
|
{ TABLE "informix".tempo row size = 8 number of columns = 4 index size = 0 }
|
|
create table "informix".tempo
|
|
(
|
|
extension smallint,
|
|
hora smallint,
|
|
minuto smallint,
|
|
segundo smallint
|
|
);
|
|
revoke all on "informix".tempo from "public";
|
|
|
|
{ TABLE "informix".temporal row size = 19 number of columns = 7 index size = 0 }
|
|
create table "informix".temporal
|
|
(
|
|
mes smallint,
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
cantidad integer,
|
|
valor decimal(8,4)
|
|
);
|
|
revoke all on "informix".temporal from "public";
|
|
|
|
{ TABLE "informix".irtb00027 row size = 59 number of columns = 15 index size = 0
|
|
}
|
|
create table "informix".irtb00027
|
|
(
|
|
fecha_r date not null constraint "informix".n826_212,
|
|
cod_n_r smallint not null constraint "informix".n785_202,
|
|
cod_grupo_r smallint not null constraint "informix".n785_203,
|
|
cod_tipo_r smallint not null constraint "informix".n785_204,
|
|
cod_sec_r smallint not null constraint "informix".n785_205,
|
|
cod_n_m smallint not null constraint "informix".n785_206,
|
|
cod_grupo_m smallint not null constraint "informix".n785_207,
|
|
cod_tipo_m smallint not null constraint "informix".n785_208,
|
|
cod_sec_m smallint not null constraint "informix".n785_209,
|
|
cantidad_m decimal(10,2) not null constraint "informix".n785_210,
|
|
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 "informix".irtb00027 from "public";
|
|
|
|
{ TABLE "informix".systableext row size = 382 number of columns = 5 index size =
|
|
102 }
|
|
create table "informix".systableext
|
|
(
|
|
owner char(32) not null constraint "informix".n835_218,
|
|
tabname char(32) not null constraint "informix".n835_219,
|
|
extowner char(32),
|
|
tabalias char(32),
|
|
remarks char(254)
|
|
);
|
|
revoke all on "informix".systableext from "public";
|
|
|
|
create unique index "informix".tableext1 on "informix".systableext
|
|
(owner,tabname);
|
|
{ TABLE "informix".syscolumnext row size = 514 number of columns = 10 index size
|
|
= 150 }
|
|
create table "informix".syscolumnext
|
|
(
|
|
owner char(32) not null constraint "informix".n836_220,
|
|
tabname char(32) not null constraint "informix".n836_221,
|
|
colname char(32) not null constraint "informix".n836_222,
|
|
extowner char(32),
|
|
colalias char(32),
|
|
coltitle char(32),
|
|
collabel char(32),
|
|
remarks char(254),
|
|
subtype char(4),
|
|
class char(32)
|
|
);
|
|
revoke all on "informix".syscolumnext from "public";
|
|
|
|
create unique index "informix".columnext1 on "informix".syscolumnext
|
|
(owner,tabname,colname);
|
|
{ TABLE "informix".syscolformats row size = 935 number of columns = 17 index size
|
|
= 303 }
|
|
create table "informix".syscolformats
|
|
(
|
|
owner char(32) not null constraint "informix".n837_223,
|
|
tabname char(32) not null constraint "informix".n837_224,
|
|
colname char(32) not null constraint "informix".n837_225,
|
|
extowner char(32),
|
|
priority smallint not null constraint "informix".n837_226,
|
|
typeface char(64),
|
|
fontsize smallint,
|
|
fontstyle smallint,
|
|
fontcolor integer,
|
|
aidfa char(30),
|
|
formatmask char(254),
|
|
format4gl char(128),
|
|
align char(1),
|
|
case char(1),
|
|
ruletype char(1),
|
|
checktext char(254),
|
|
ocxclassid char(64)
|
|
);
|
|
revoke all on "informix".syscolformats from "public";
|
|
|
|
create unique index "informix".colformat1 on "informix".syscolformats
|
|
(owner,tabname,colname,priority);
|
|
create index "informix".colformat2 on "informix".syscolformats
|
|
(owner,tabname,colname);
|
|
{ TABLE "informix".syscolinput row size = 266 number of columns = 6 index size =
|
|
315 }
|
|
create table "informix".syscolinput
|
|
(
|
|
owner char(32) not null constraint "informix".n838_227,
|
|
tabname char(32) not null constraint "informix".n838_228,
|
|
colname char(32) not null constraint "informix".n838_229,
|
|
extowner char(32),
|
|
attrname char(10) not null constraint "informix".n838_230,
|
|
attrval char(128)
|
|
);
|
|
revoke all on "informix".syscolinput from "public";
|
|
|
|
create unique index "informix".colinput1 on "informix".syscolinput
|
|
(owner,tabname,colname,attrname);
|
|
create index "informix".colinput2 on "informix".syscolinput (owner,
|
|
tabname,colname);
|
|
{ TABLE "informix".syscolinclude row size = 259 number of columns = 8 index size
|
|
= 303 }
|
|
create table "informix".syscolinclude
|
|
(
|
|
owner char(32) not null constraint "informix".n839_231,
|
|
tabname char(32) not null constraint "informix".n839_232,
|
|
colname char(32) not null constraint "informix".n839_233,
|
|
extowner char(32),
|
|
priority smallint not null constraint "informix".n839_234,
|
|
extvalue char(64),
|
|
intvalue char(64),
|
|
range char(1)
|
|
);
|
|
revoke all on "informix".syscolinclude from "public";
|
|
|
|
create unique index "informix".colinclud1 on "informix".syscolinclude
|
|
(owner,tabname,colname,priority);
|
|
create index "informix".colinclud2 on "informix".syscolinclude
|
|
(owner,tabname,colname);
|
|
{ TABLE "informix".syssuperviews row size = 140 number of columns = 4 index size
|
|
= 66 }
|
|
create table "informix".syssuperviews
|
|
(
|
|
svwid integer not null constraint "informix".n840_235,
|
|
owner char(32) not null constraint "informix".n840_236,
|
|
svwname char(32) not null constraint "informix".n840_237,
|
|
remarks char(72)
|
|
);
|
|
revoke all on "informix".syssuperviews from "public";
|
|
|
|
create unique index "informix".superview1 on "informix".syssuperviews
|
|
(svwid);
|
|
create unique index "informix".superview2 on "informix".syssuperviews
|
|
(svwname);
|
|
{ TABLE "informix".syssvwtables row size = 242 number of columns = 10 index size
|
|
= 78 }
|
|
create table "informix".syssvwtables
|
|
(
|
|
svwid integer not null constraint "informix".n841_238,
|
|
tableseq integer not null constraint "informix".n841_239,
|
|
owner char(32) not null constraint "informix".n841_240,
|
|
tabname char(32) not null constraint "informix".n841_241,
|
|
masteralias char(32),
|
|
cardinality char(1),
|
|
usetype char(1),
|
|
tabalias char(32) not null constraint "informix".n841_242,
|
|
levelname char(32),
|
|
remarks char(72)
|
|
);
|
|
revoke all on "informix".syssvwtables from "public";
|
|
|
|
create unique index "informix".svwtables1 on "informix".syssvwtables
|
|
(svwid,tabalias);
|
|
create unique index "informix".svwtables2 on "informix".syssvwtables
|
|
(svwid,tableseq);
|
|
{ TABLE "informix".syssvwjoins row size = 136 number of columns = 7 index size =
|
|
63 }
|
|
create table "informix".syssvwjoins
|
|
(
|
|
svwid integer not null constraint "informix".n842_243,
|
|
tabalias char(32) not null constraint "informix".n842_244,
|
|
jcolseq smallint not null constraint "informix".n842_245,
|
|
mastercol char(32) not null constraint "informix".n842_246,
|
|
detailcol1 char(32) not null constraint "informix".n842_247,
|
|
detailcol2 char(32),
|
|
joinoperator char(2)
|
|
);
|
|
revoke all on "informix".syssvwjoins from "public";
|
|
|
|
create unique index "informix".svwjoins1 on "informix".syssvwjoins
|
|
(svwid,tabalias,jcolseq);
|
|
{ TABLE "informix".syssvwaliases row size = 170 number of columns = 8 index size
|
|
= 186 }
|
|
create table "informix".syssvwaliases
|
|
(
|
|
svwid integer not null constraint "informix".n843_248,
|
|
tabalias char(32) not null constraint "informix".n843_249,
|
|
colseq integer not null constraint "informix".n843_250,
|
|
colname char(32) not null constraint "informix".n843_251,
|
|
colalias char(32) not null constraint "informix".n843_252,
|
|
label char(32),
|
|
title char(32),
|
|
flag smallint
|
|
);
|
|
revoke all on "informix".syssvwaliases from "public";
|
|
|
|
create unique index "informix".svwaliase1 on "informix".syssvwaliases
|
|
(svwid,tabalias,colname);
|
|
create unique index "informix".svwaliase2 on "informix".syssvwaliases
|
|
(svwid,colalias);
|
|
create index "informix".svwaliase3 on "informix".syssvwaliases
|
|
(svwid,colseq);
|
|
{ TABLE "informix".syssvworder row size = 39 number of columns = 4 index size = 15
|
|
}
|
|
create table "informix".syssvworder
|
|
(
|
|
svwid integer not null constraint "informix".n844_253,
|
|
seqno smallint not null constraint "informix".n844_254,
|
|
colalias char(32) not null constraint "informix".n844_255,
|
|
sorttype char(1) not null constraint "informix".n844_256
|
|
);
|
|
revoke all on "informix".syssvworder from "public";
|
|
|
|
create unique index "informix".svworder1 on "informix".syssvworder
|
|
(svwid,seqno);
|
|
{ TABLE "informix".syssvwauth row size = 66 number of columns = 8 index size = 60
|
|
}
|
|
create table "informix".syssvwauth
|
|
(
|
|
svwid integer not null constraint "informix".n845_257,
|
|
username char(32) not null constraint "informix".n845_258,
|
|
svwauth char(8),
|
|
rowlimit integer,
|
|
readlimit integer,
|
|
readsperrowlimit float,
|
|
elapsedtimelimit integer,
|
|
isolationmode smallint
|
|
);
|
|
revoke all on "informix".syssvwauth from "public";
|
|
|
|
create unique index "informix".svwauth1 on "informix".syssvwauth
|
|
(svwid,username);
|
|
{ TABLE "informix".syssvwformats row size = 843 number of columns = 15 index size
|
|
= 123 }
|
|
create table "informix".syssvwformats
|
|
(
|
|
svwid integer not null constraint "informix".n846_259,
|
|
colalias char(32) not null constraint "informix".n846_260,
|
|
priority smallint not null constraint "informix".n846_261,
|
|
typeface char(64),
|
|
fontsize smallint,
|
|
fontstyle smallint,
|
|
fontcolor integer,
|
|
aidfa char(30),
|
|
formatmask char(254),
|
|
format4gl char(128),
|
|
align char(1),
|
|
case char(1),
|
|
ruletype char(1),
|
|
checktext char(254),
|
|
ocxclassid char(64)
|
|
);
|
|
revoke all on "informix".syssvwformats from "public";
|
|
|
|
create unique index "informix".svwformat1 on "informix".syssvwformats
|
|
(svwid,colalias,priority);
|
|
create index "informix".svwformat2 on "informix".syssvwformats
|
|
(svwid,colalias);
|
|
{ TABLE "informix".syssvwinput row size = 174 number of columns = 4 index size =
|
|
135 }
|
|
create table "informix".syssvwinput
|
|
(
|
|
svwid integer not null constraint "informix".n847_262,
|
|
colalias char(32) not null constraint "informix".n847_263,
|
|
attrname char(10) not null constraint "informix".n847_264,
|
|
attrval char(128)
|
|
);
|
|
revoke all on "informix".syssvwinput from "public";
|
|
|
|
create unique index "informix".svwinput1 on "informix".syssvwinput
|
|
(svwid,colalias,attrname);
|
|
create index "informix".svwinput2 on "informix".syssvwinput (svwid,
|
|
colalias);
|
|
{ TABLE "informix".syssvwinclude row size = 167 number of columns = 6 index size
|
|
= 123 }
|
|
create table "informix".syssvwinclude
|
|
(
|
|
svwid integer not null constraint "informix".n848_265,
|
|
colalias char(32) not null constraint "informix".n848_266,
|
|
priority smallint not null constraint "informix".n848_267,
|
|
extvalue char(64),
|
|
intvalue char(64),
|
|
range char(1)
|
|
);
|
|
revoke all on "informix".syssvwinclude from "public";
|
|
|
|
create unique index "informix".svwinclud1 on "informix".syssvwinclude
|
|
(svwid,colalias,priority);
|
|
create index "informix".svwinclud2 on "informix".syssvwinclude
|
|
(svwid,colalias);
|
|
{ TABLE "informix".sysulist row size = 128 number of columns = 3 index size = 54
|
|
}
|
|
create table "informix".sysulist
|
|
(
|
|
username char(32) not null constraint "informix".n849_268,
|
|
svagrantor char(32),
|
|
remarks char(64)
|
|
);
|
|
revoke all on "informix".sysulist from "public";
|
|
|
|
create unique index "informix".ulist1 on "informix".sysulist (username);
|
|
|
|
{ TABLE "informix".cgtbh0004 row size = 203 number of columns = 18 index size = 213
|
|
}
|
|
create table "informix".cgtbh0004
|
|
(
|
|
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 "informix".cgtbh0004 from "public";
|
|
|
|
create index "informix".iref on "informix".cgtbh0004 (ref);
|
|
create index "informix".icuenta on "informix".cgtbh0004 (cuenta_no);
|
|
|
|
create index "informix".ista on "informix".cgtbh0004 (status_t);
|
|
|
|
create index "informix".ifecha on "informix".cgtbh0004 (fecha);
|
|
|
|
create cluster index "informix".ictsta on "informix".cgtbh0004
|
|
(cuenta_no,status_t,fecha,cod_sec,num_doc);
|
|
create index "informix".iauxiliar on "informix".cgtbh0004 (cod_aux,
|
|
cod_sec,status_t);
|
|
create index "informix".iauxilia on "informix".cgtbh0004 (cod_aux,
|
|
cod_sec,num_doc,status_t);
|
|
create index "informix".ifecha_re on "informix".cgtbh0004 (fecha,
|
|
ref);
|
|
create index "informix".idepto on "informix".cgtbh0004 (departamento);
|
|
|
|
create index "informix".idepto1 on "informix".cgtbh0004 (departamento,
|
|
fecha);
|
|
{ TABLE "informix".cgtbh0001 row size = 164 number of columns = 17 index size = 64
|
|
}
|
|
create table "informix".cgtbh0001
|
|
(
|
|
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 "informix".cgtbh0001 from "public";
|
|
|
|
create index "informix".icgtbh1 on "informix".cgtbh0001 (cuenta_no);
|
|
|
|
create cluster index "informix".icgtbh2 on "informix".cgtbh0001
|
|
(status_t,cuenta_no);
|
|
create index "informix".icgtbh3 on "informix".cgtbh0001 (nivel);
|
|
|
|
create index "informix".icgtbh4 on "informix".cgtbh0001 (aplica_a);
|
|
|
|
{ TABLE "informix".irtb00028 row size = 54 number of columns = 13 index size = 0
|
|
}
|
|
create table "informix".irtb00028
|
|
(
|
|
mes_ini smallint not null constraint "informix".n853_269,
|
|
mes_fin smallint not null constraint "informix".n853_270,
|
|
ano smallint not null constraint "informix".n853_271,
|
|
cod_n smallint not null constraint "informix".n853_272,
|
|
cod_grupo smallint not null constraint "informix".n853_273,
|
|
cod_tipo smallint not null constraint "informix".n853_274,
|
|
cod_sec smallint not null constraint "informix".n853_275,
|
|
costo_st decimal(12,2) not null constraint "informix".n853_276,
|
|
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 "informix".irtb00028 from "public";
|
|
|
|
{ TABLE "informix".cptb00011 row size = 120 number of columns = 17 index size = 0
|
|
}
|
|
create table "informix".cptb00011
|
|
(
|
|
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),
|
|
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 "informix".cptb00011 from "public";
|
|
|
|
{ TABLE "informix".sttb004 row size = 74 number of columns = 16 index size = 0 }
|
|
create table "informix".sttb004
|
|
(
|
|
carater_1 char(2),
|
|
numeros char(3),
|
|
espacio1 char(1),
|
|
ceros char(3),
|
|
primera_pte char(2),
|
|
ext_no smallint,
|
|
espacio2 char(2),
|
|
referencia char(7),
|
|
espacio3 char(7),
|
|
fecha char(8),
|
|
espacio char(1),
|
|
hora char(5),
|
|
espacio5 char(1),
|
|
hora1 char(8),
|
|
espacio6 char(1),
|
|
numero_tel char(21)
|
|
);
|
|
revoke all on "informix".sttb004 from "public";
|
|
|
|
{ TABLE "informix".sttb001 row size = 76 number of columns = 16 index size = 0 }
|
|
create table "informix".sttb001
|
|
(
|
|
carater_1 char(2),
|
|
numeros char(3),
|
|
espacio1 char(1),
|
|
ceros char(3),
|
|
primera_pte char(2),
|
|
ext_no char(4),
|
|
espacio2 char(2),
|
|
referencia char(7),
|
|
espacio3 char(7),
|
|
fecha char(8),
|
|
espacio char(1),
|
|
hora char(5),
|
|
espacio5 char(1),
|
|
hora1 char(8),
|
|
espacio6 char(1),
|
|
numero_tel char(21)
|
|
);
|
|
revoke all on "informix".sttb001 from "public";
|
|
|
|
{ TABLE "informix".vetb00042 row size = 43 number of columns = 8 index size = 0 }
|
|
create table "informix".vetb00042
|
|
(
|
|
tipo_cliente smallint,
|
|
sec_cliente smallint,
|
|
monto_desc 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 "informix".vetb00042 from "public";
|
|
|
|
{ TABLE "informix".sttb003 row size = 56 number of columns = 16 index size = 12 }
|
|
create table "informix".sttb003
|
|
(
|
|
carater_1 char(2),
|
|
numeros char(3),
|
|
espacio1 char(1),
|
|
ceros char(3),
|
|
primera_pte char(2),
|
|
ext_no smallint,
|
|
espacio2 char(2),
|
|
referencia char(7),
|
|
espacio3 char(7),
|
|
fecha date,
|
|
espacio char(1),
|
|
hora char(5),
|
|
espacio5 char(1),
|
|
hora1 char(8),
|
|
espacio6 char(1),
|
|
numero_tel char(7)
|
|
);
|
|
revoke all on "informix".sttb003 from "public";
|
|
|
|
create index "informix".fecha on "informix".sttb003 (fecha);
|
|
{ TABLE "informix".pgtb00013 row size = 62 number of columns = 11 index size = 0
|
|
}
|
|
create table "informix".pgtb00013
|
|
(
|
|
ano smallint,
|
|
mes smallint,
|
|
cuenta_no char(8),
|
|
departamento integer,
|
|
valor1 decimal(12,2),
|
|
valor 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 "informix".pgtb00013 from "public";
|
|
|
|
{ TABLE "informix".vetb42 row size = 43 number of columns = 8 index size = 0 }
|
|
create table "informix".vetb42
|
|
(
|
|
tipo_cliente smallint,
|
|
sec_cliente smallint,
|
|
monto_desc 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 "informix".vetb42 from "public";
|
|
|
|
{ TABLE "informix".notb00016 row size = 65 number of columns = 16 index size = 18
|
|
}
|
|
create table "informix".notb00016
|
|
(
|
|
num_nomi integer,
|
|
tipo_emp char(1),
|
|
num_emp smallint,
|
|
departamento smallint,
|
|
nivel_emp smallint,
|
|
cod_puesto smallint,
|
|
fecha date,
|
|
cod_mov smallint,
|
|
cantidad decimal(10,2),
|
|
valor decimal(10,2),
|
|
clase_mov 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 "informix".notb00016 from "public";
|
|
|
|
create index "informix".norp11 on "informix".notb00016 (num_emp,
|
|
fecha,cod_mov);
|
|
{ TABLE "informix".cotb00038 row size = 77 number of columns = 16 index size = 102
|
|
}
|
|
create table "informix".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 "informix".cotb00038 from "public";
|
|
|
|
create index "informix".ix687_4 on "informix".cotb00038 (num_oc);
|
|
|
|
create index "informix".ix687_6 on "informix".cotb00038 (cod_n);
|
|
|
|
create index "informix".ix687_7 on "informix".cotb00038 (cod_grupo);
|
|
|
|
create index "informix".ix687_9 on "informix".cotb00038 (cod_sec);
|
|
|
|
create index "informix".compuesto on "informix".cotb00038 (cod_n,
|
|
cod_grupo,cod_tipo,cod_sec);
|
|
create index "informix".embarque on "informix".cotb00038 (num_oc,
|
|
cod_emb,cod_n,cod_grupo,cod_tipo,cod_sec);
|
|
create index "informix".ix687_8 on "informix".cotb00038 (cod_tipo);
|
|
|
|
{ TABLE "informix".intbjulio row size = 103 number of columns = 26 index size = 0
|
|
}
|
|
create table "informix".intbjulio
|
|
(
|
|
num_doc integer not null constraint "informix".n900_281,
|
|
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 "informix".n900_282,
|
|
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,
|
|
cod_seccion char(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 "informix".intbjulio from "public";
|
|
|
|
{ TABLE "informix".intbnov row size = 103 number of columns = 26 index size = 0 }
|
|
create table "informix".intbnov
|
|
(
|
|
num_doc integer not null constraint "informix".n901_283,
|
|
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 "informix".n901_284,
|
|
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,
|
|
cod_seccion char(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 "informix".intbnov from "public";
|
|
|
|
{ TABLE "informix".vetb00043 row size = 55 number of columns = 11 index size = 0
|
|
}
|
|
create table "informix".vetb00043
|
|
(
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
cajas_vend decimal(12,2),
|
|
cajas_bonif 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 "informix".vetb00043 from "public";
|
|
|
|
{ TABLE "informix".cotb00050 row size = 95 number of columns = 4 index size = 0 }
|
|
create table "informix".cotb00050
|
|
(
|
|
cod_sp smallint,
|
|
cod_sp_sec smallint,
|
|
rnc char(11),
|
|
nom_larg char(80)
|
|
);
|
|
revoke all on "informix".cotb00050 from "public";
|
|
|
|
{ TABLE "informix".intb00010 row size = 31 number of columns = 8 index size = 0 }
|
|
create table "informix".intb00010
|
|
(
|
|
fecha_ini date,
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
fecha date,
|
|
costo decimal(12,7),
|
|
balance decimal(12,2)
|
|
);
|
|
revoke all on "informix".intb00010 from "public";
|
|
|
|
{ TABLE "informix".vetb00004 row size = 162 number of columns = 18 index size = 52
|
|
}
|
|
create table "informix".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(11),
|
|
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 "informix".vetb00004 from "public";
|
|
|
|
create unique index "informix".ucliente on "informix".vetb00004
|
|
(tipo_cliente,sec_cliente);
|
|
create index "informix".ix324_2 on "informix".vetb00004 (sec_cliente);
|
|
|
|
create index "informix".ix306_1 on "informix".vetb00004 (tipo_cliente);
|
|
|
|
create index "informix".ix306_5 on "informix".vetb00004 (cod_provincia);
|
|
|
|
create index "informix".idx306_1 on "informix".vetb00004 (tipo_cliente,
|
|
sec_cliente,status_t);
|
|
{ TABLE "informix".vetb00111 row size = 55 number of columns = 13 index size = 0
|
|
}
|
|
create table "informix".vetb00111
|
|
(
|
|
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 "informix".vetb00111 from "public";
|
|
|
|
{ TABLE "informix".tetb00008 row size = 50 number of columns = 9 index size = 0 }
|
|
create table "informix".tetb00008
|
|
(
|
|
sec_vend smallint,
|
|
fecha date,
|
|
cod_n smallint,
|
|
porc_cobros1 decimal(8,2),
|
|
porc_cobros2 decimal(8,2),
|
|
us_crea char(9),
|
|
fecha_crea datetime year to minute,
|
|
us_mod char(9),
|
|
fecha_mod datetime year to minute
|
|
);
|
|
revoke all on "informix".tetb00008 from "public";
|
|
|
|
{ TABLE "informix".cotb00042 row size = 253 number of columns = 13 index size = 0
|
|
}
|
|
create table "informix".cotb00042
|
|
(
|
|
num_req smallint not null constraint "informix".n914_285,
|
|
cod_n smallint not null constraint "informix".n914_286,
|
|
cod_grupo smallint not null constraint "informix".n914_287,
|
|
cod_tipo smallint not null constraint "informix".n914_288,
|
|
cod_sec smallint not null constraint "informix".n914_289,
|
|
detalle1 char(70),
|
|
detalle2 char(70),
|
|
detalle3 char(70),
|
|
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 "informix".cotb00042 from "public";
|
|
|
|
{ TABLE "informix".vetb00044 row size = 11 number of columns = 2 index size = 0 }
|
|
create table "informix".vetb00044
|
|
(
|
|
sec_vend smallint,
|
|
usuario char(9)
|
|
);
|
|
revoke all on "informix".vetb00044 from "public";
|
|
|
|
{ TABLE "informix".vetb00045 row size = 69 number of columns = 17 index size = 0
|
|
}
|
|
create table "informix".vetb00045
|
|
(
|
|
cod_cia smallint,
|
|
factura integer,
|
|
cod_mov smallint,
|
|
num_doc integer,
|
|
fecha date,
|
|
cod_transp smallint,
|
|
sec_transp smallint,
|
|
num_bultos integer,
|
|
cod_tarifa smallint,
|
|
valor_tarifa decimal(7,2),
|
|
pagado char(1),
|
|
fecha_pagado 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 "informix".vetb00045 from "public";
|
|
|
|
{ TABLE "informix".cctb00009 row size = 35 number of columns = 6 index size = 0 }
|
|
create table "informix".cctb00009
|
|
(
|
|
sec_vend 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 "informix".cctb00009 from "public";
|
|
|
|
{ TABLE "informix".cctb00008 row size = 53 number of columns = 12 index size = 30
|
|
}
|
|
create table "informix".cctb00008
|
|
(
|
|
sec_vend smallint not null constraint "informix".n923_290,
|
|
cod_n smallint not null constraint "informix".n923_291,
|
|
cod_grupo smallint not null constraint "informix".n923_292,
|
|
cod_tipo smallint not null constraint "informix".n923_293,
|
|
cod_sec smallint not null constraint "informix".n923_294,
|
|
porc_ventas decimal(8,4) not null constraint "informix".n925_300,
|
|
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 "informix".cctb00008 from "public";
|
|
|
|
create index "informix".ix923_1 on "informix".cctb00008 (sec_vend);
|
|
|
|
create unique index "informix".comision_m on "informix".cctb00008
|
|
(sec_vend,cod_n,cod_grupo,cod_tipo,cod_sec);
|
|
{ TABLE "informix".tetb00009 row size = 37 number of columns = 7 index size = 9 }
|
|
create table "informix".tetb00009
|
|
(
|
|
sec_vend smallint,
|
|
sec_vend_a 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 "informix".tetb00009 from "public";
|
|
|
|
create index "informix".ix940_1 on "informix".tetb00009 (sec_vend);
|
|
|
|
{ TABLE "informix".cliente row size = 146 number of columns = 8 index size = 0 }
|
|
create table "informix".cliente
|
|
(
|
|
tipo_cliente smallint,
|
|
sec_cliente smallint,
|
|
nombre char(30),
|
|
direccion char(80),
|
|
telefono char(8),
|
|
rnc char(10),
|
|
limite decimal(12,2),
|
|
balance decimal(12,2)
|
|
);
|
|
revoke all on "informix".cliente from "public";
|
|
|
|
{ TABLE "informix".cctb00010 row size = 60 number of columns = 10 index size = 0
|
|
}
|
|
create table "informix".cctb00010
|
|
(
|
|
cod_cia smallint not null constraint "informix".n934_306,
|
|
sec_vend smallint not null constraint "informix".n934_307,
|
|
cantidad_ven decimal(12,2),
|
|
cantidad_dev decimal(12,2),
|
|
unidad_desc decimal(12,2),
|
|
comision_ventas decimal(12,2),
|
|
cobros decimal(12,2),
|
|
monto_devuelto decimal(12,2),
|
|
ck_devuelto decimal(12,2),
|
|
comision_cobros decimal(12,2)
|
|
);
|
|
revoke all on "informix".cctb00010 from "public";
|
|
|
|
{ TABLE "informix".irtb00009 row size = 142 number of columns = 13 index size = 21
|
|
}
|
|
create table "informix".irtb00009
|
|
(
|
|
codigo smallint,
|
|
codigo_n smallint,
|
|
nombre char(25),
|
|
unidad_med char(3),
|
|
modelo char(15),
|
|
serie char(15),
|
|
fabricante char(45),
|
|
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 "informix".irtb00009 from "public";
|
|
|
|
create index "informix".ix326_1 on "informix".irtb00009 (codigo);
|
|
|
|
create unique index "informix".maquina on "informix".irtb00009
|
|
(codigo,codigo_n);
|
|
{ TABLE "informix".irtb00012 row size = 65 number of columns = 7 index size = 0 }
|
|
create table "informix".irtb00012
|
|
(
|
|
codigo_n smallint,
|
|
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 "informix".irtb00012 from "public";
|
|
|
|
{ TABLE "informix".irtb00030 row size = 2 number of columns = 1 index size = 0 }
|
|
create table "informix".irtb00030
|
|
(
|
|
cod_mov smallint
|
|
);
|
|
revoke all on "informix".irtb00030 from "public";
|
|
|
|
{ TABLE "informix".cgtb00040 row size = 30 number of columns = 3 index size = 0 }
|
|
create table "informix".cgtb00040
|
|
(
|
|
nivel smallint,
|
|
descripcion char(20),
|
|
cuenta_no char(8)
|
|
);
|
|
revoke all on "informix".cgtb00040 from "public";
|
|
|
|
{ TABLE "informix".intb00020 row size = 183 number of columns = 33 index size = 93
|
|
}
|
|
create table "informix".intb00020
|
|
(
|
|
tipo_doc char(1),
|
|
num_fianza integer,
|
|
num_res integer,
|
|
fecha date,
|
|
fechav_fianza date,
|
|
dias_prorroga smallint,
|
|
fecha_prorroga date,
|
|
nom_buque char(20),
|
|
fecha_ent date,
|
|
cod_sp smallint,
|
|
cod_sp_sec smallint,
|
|
cod_pais char(3),
|
|
cant_bulto char(20),
|
|
num_oc integer,
|
|
num_emb smallint,
|
|
valor_merc decimal(13,3),
|
|
cod_ca char(4),
|
|
poliza char(10),
|
|
prima decimal(10,2),
|
|
porc_prima decimal(7,2),
|
|
valor_desm decimal(7,2),
|
|
valor_gar decimal(13,3),
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
cantidad decimal(13,3),
|
|
cantidad_c decimal(13,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 "informix".intb00020 from "public";
|
|
|
|
create index "informix".ix805_1 on "informix".intb00020 (num_res);
|
|
|
|
create index "informix".ix805_2 on "informix".intb00020 (num_fianza);
|
|
|
|
create index "informix".ix805_3 on "informix".intb00020 (cod_n);
|
|
|
|
create index "informix".ix805_4 on "informix".intb00020 (cod_grupo);
|
|
|
|
create index "informix".ix805_5 on "informix".intb00020 (cod_tipo);
|
|
|
|
create index "informix".ix805_6 on "informix".intb00020 (cod_sec);
|
|
|
|
create cluster index "informix".intb20_1 on "informix".intb00020
|
|
(cod_n,cod_grupo,cod_tipo,cod_sec,status_t,fecha);
|
|
create index "informix".ix263_1 on "informix".intb00020 (tipo_doc);
|
|
|
|
{ TABLE "informix".intb00016 row size = 57 number of columns = 13 index size = 0
|
|
}
|
|
create table "informix".intb00016
|
|
(
|
|
fecha_formula date,
|
|
cod_n_p smallint,
|
|
cod_grupo_p smallint,
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
cantidad decimal(13,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 "informix".intb00016 from "public";
|
|
|
|
{ TABLE "informix".notb00022 row size = 65 number of columns = 16 index size = 0
|
|
}
|
|
create table "informix".notb00022
|
|
(
|
|
num_nomi integer,
|
|
tipo_emp char(1),
|
|
num_emp smallint,
|
|
departamento smallint,
|
|
nivel_emp smallint,
|
|
cod_puesto smallint,
|
|
fecha date,
|
|
cod_mov smallint,
|
|
cantidad decimal(10,2),
|
|
valor decimal(10,2),
|
|
clase_mov 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 "informix".notb00022 from "public";
|
|
|
|
{ TABLE "informix".notb00033 row size = 86 number of columns = 21 index size = 0
|
|
}
|
|
create table "informix".notb00033
|
|
(
|
|
num_nomi smallint,
|
|
departamento smallint,
|
|
cod_puesto smallint,
|
|
fecha_liquidacion date,
|
|
num_emp smallint,
|
|
sueldo_actual decimal(12,2),
|
|
sueldo_promedio decimal(12,2),
|
|
salario_dia decimal(12,2),
|
|
anos_empresa smallint,
|
|
meses_empresa smallint,
|
|
dias_empresa smallint,
|
|
dias_cesantia smallint,
|
|
dias_preaviso smallint,
|
|
dias_vacaciones smallint,
|
|
ultimas_vacaciones date,
|
|
tiempo_empresa decimal(6,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 "informix".notb00033 from "public";
|
|
|
|
{ TABLE "informix".adtb00038 row size = 15 number of columns = 2 index size = 9 }
|
|
create table "informix".adtb00038
|
|
(
|
|
num_emp smallint,
|
|
cedula_n char(13)
|
|
);
|
|
revoke all on "informix".adtb00038 from "public";
|
|
|
|
create unique index "informix".ix971_1 on "informix".adtb00038
|
|
(num_emp);
|
|
{ TABLE "informix".cttb036 row size = 65 number of columns = 14 index size = 0 }
|
|
create table "informix".cttb036
|
|
(
|
|
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 "informix".cttb036 from "public";
|
|
|
|
{ TABLE "informix".cotb00051 row size = 95 number of columns = 7 index size = 0 }
|
|
create table "informix".cotb00051
|
|
(
|
|
codigo smallint,
|
|
descripcion 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 "informix".cotb00051 from "public";
|
|
|
|
{ TABLE "informix".sttb002 row size = 70 number of columns = 8 index size = 0 }
|
|
create table "informix".sttb002
|
|
(
|
|
ext_no smallint,
|
|
nombre_us char(30),
|
|
tiempo 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 "informix".sttb002 from "public";
|
|
|
|
{ TABLE "informix".cotb00055 row size = 57 number of columns = 9 index size = 12
|
|
}
|
|
create table "informix".cotb00055
|
|
(
|
|
num_oc integer,
|
|
codigo char(10),
|
|
cant_emb integer,
|
|
precio 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 "informix".cotb00055 from "public";
|
|
|
|
create index "informix".ix1008_1 on "informix".cotb00055 (num_oc);
|
|
|
|
{ TABLE "informix".sttb1 row size = 80 number of columns = 1 index size = 0 }
|
|
create table "informix".sttb1
|
|
(
|
|
linea char(80)
|
|
);
|
|
revoke all on "informix".sttb1 from "public";
|
|
|
|
{ TABLE "informix".prttb00001 row size = 75 number of columns = 6 index size = 0
|
|
}
|
|
create table "informix".prttb00001
|
|
(
|
|
codigo smallint,
|
|
nombre char(30),
|
|
lpprog char(20),
|
|
lppipe char(1),
|
|
puerto char(20),
|
|
prtcodigo smallint
|
|
);
|
|
revoke all on "informix".prttb00001 from "public";
|
|
|
|
{ TABLE "informix".prttb00002 row size = 21 number of columns = 3 index size = 0
|
|
}
|
|
create table "informix".prttb00002
|
|
(
|
|
ult_imp integer,
|
|
usuario char(10),
|
|
fecha datetime year to minute
|
|
);
|
|
revoke all on "informix".prttb00002 from "public";
|
|
|
|
{ TABLE "informix".intb00006 row size = 103 number of columns = 26 index size = 105
|
|
}
|
|
create table "informix".intb00006
|
|
(
|
|
num_doc integer not null constraint "usainf01".n446_142,
|
|
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 "usainf01".n446_143,
|
|
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,
|
|
cod_seccion char(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 "informix".intb00006 from "public";
|
|
|
|
create index "informix".intb06_1 on "informix".intb00006 (cod_n,
|
|
cod_grupo,cod_tipo,cod_sec,fecha);
|
|
create index "informix".intb06_2 on "informix".intb00006 (cod_n,
|
|
cod_grupo,cod_tipo,cod_sec,num_doc);
|
|
create index "informix".intb06_3 on "informix".intb00006 (cod_mov,
|
|
cod_n,cod_grupo,cod_tipo,cod_sec);
|
|
create index "informix".intb06_4 on "informix".intb00006 (cod_mov);
|
|
|
|
create index "informix".intb06_5 on "informix".intb00006 (fecha);
|
|
|
|
create index "informix".ordenes on "informix".intb00006 (orden_compra,
|
|
tipo);
|
|
{ TABLE "informix".cttb00003 row size = 106 number of columns = 17 index size = 45
|
|
}
|
|
create table "informix".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 "informix".cttb00003 from "public";
|
|
|
|
create index "informix".ix1416_1 on "informix".cttb00003 (fecha);
|
|
|
|
create index "informix".prod1 on "informix".cttb00003 (departamento,
|
|
fecha);
|
|
create index "informix".ctidx1 on "informix".cttb00003 (departamento,
|
|
cod_prod,fecha);
|
|
{ TABLE "informix".tetb00006 row size = 49 number of columns = 8 index size = 0 }
|
|
create table "informix".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 "informix".tetb00006 from "public";
|
|
|
|
{ TABLE "informix".cotb00058 row size = 537 number of columns = 15 index size = 0
|
|
}
|
|
create table "informix".cotb00058
|
|
(
|
|
num_pr integer,
|
|
sold_to char(60),
|
|
dir1_sold char(60),
|
|
dir2_sold char(60),
|
|
dir3_sold char(60),
|
|
ship_to char(60),
|
|
dir1_ship char(60),
|
|
dir2_ship char(60),
|
|
dir3_ship char(60),
|
|
detalle 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 "informix".cotb00058 from "public";
|
|
|
|
{ TABLE "informix".cotb00053 row size = 68 number of columns = 12 index size = 0
|
|
}
|
|
create table "informix".cotb00053
|
|
(
|
|
num_pr integer,
|
|
codigo char(10),
|
|
cant_ord integer,
|
|
cant_emb integer,
|
|
precio decimal(10,2),
|
|
total decimal(10,2),
|
|
estado 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 "informix".cotb00053 from "public";
|
|
|
|
{ TABLE "informix".cotb00054 row size = 145 number of columns = 22 index size = 12
|
|
}
|
|
create table "informix".cotb00054
|
|
(
|
|
num_emp smallint,
|
|
num_embarque integer,
|
|
fecha_factura date,
|
|
num_pr serial not null ,
|
|
fecha_pedido date,
|
|
orden_comp integer,
|
|
tipo_cliente smallint,
|
|
sec_cliente smallint,
|
|
num_p_cli integer,
|
|
term_sp smallint,
|
|
fecha_emb date,
|
|
codigo1 smallint,
|
|
embarcado char(30),
|
|
seguro char(30),
|
|
fecha_envio date,
|
|
peso decimal(8,2),
|
|
pie_cubico decimal(8,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 "informix".cotb00054 from "public";
|
|
|
|
create unique index "usainf02".ix530_4 on "informix".cotb00054
|
|
(num_pr);
|
|
{ TABLE "usainf01".ordenes row size = 4 number of columns = 1 index size = 0 }
|
|
create table "usainf01".ordenes
|
|
(
|
|
num_oc integer
|
|
);
|
|
revoke all on "usainf01".ordenes from "public";
|
|
|
|
{ TABLE "usainf02".cotb00057 row size = 147 number of columns = 22 index size = 12
|
|
}
|
|
create table "usainf02".cotb00057
|
|
(
|
|
num_emp smallint,
|
|
num_embarque integer,
|
|
fecha_factura date,
|
|
num_pr integer,
|
|
factura serial not null ,
|
|
fecha_pedido date,
|
|
orden_comp integer,
|
|
tipo_cliente smallint,
|
|
sec_cliente smallint,
|
|
num_p_cli integer,
|
|
term_sp smallint,
|
|
fecha_emb date,
|
|
embarcado char(30),
|
|
seguro char(30),
|
|
fecha_envio date,
|
|
peso decimal(8,2),
|
|
pie_cubico decimal(8,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 "usainf02".cotb00057 from "public";
|
|
|
|
create unique index "usainf02".ix532_5 on "usainf02".cotb00057
|
|
(factura);
|
|
{ TABLE "usainf02".cotb00056 row size = 71 number of columns = 12 index size = 0
|
|
}
|
|
create table "usainf02".cotb00056
|
|
(
|
|
factura integer,
|
|
num_pr integer,
|
|
codigo char(10),
|
|
cant_ord integer,
|
|
cant_emb integer,
|
|
precio decimal(10,2),
|
|
total 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 "usainf02".cotb00056 from "public";
|
|
|
|
{ TABLE "usainf02".cotb00059 row size = 555 number of columns = 19 index size = 0
|
|
}
|
|
create table "usainf02".cotb00059
|
|
(
|
|
factura integer,
|
|
num_pr integer,
|
|
tipo_cliente smallint,
|
|
sec_cliente smallint,
|
|
sold_to char(60),
|
|
dir1_sold char(60),
|
|
dir2_sold char(60),
|
|
dir3_sold char(60),
|
|
codigo1 char(10),
|
|
ship_to char(60),
|
|
dir1_ship char(60),
|
|
dir2_ship char(60),
|
|
dir3_ship char(60),
|
|
detalle 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 "usainf02".cotb00059 from "public";
|
|
|
|
{ TABLE "informix".actb0001 row size = 113 number of columns = 14 index size = 0
|
|
}
|
|
create table "informix".actb0001
|
|
(
|
|
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 "informix".actb0001 from "public";
|
|
|
|
{ TABLE "usainf01".idiomas row size = 30 number of columns = 1 index size = 0 }
|
|
create table "usainf01".idiomas
|
|
(
|
|
descripcion char(30)
|
|
);
|
|
revoke all on "usainf01".idiomas from "public";
|
|
|
|
{ TABLE "usainf01".ccrp06 row size = 11 number of columns = 2 index size = 0 }
|
|
create table "usainf01".ccrp06
|
|
(
|
|
sec_cliente integer,
|
|
balance decimal(12,2)
|
|
);
|
|
revoke all on "usainf01".ccrp06 from "public";
|
|
|
|
{ TABLE "usainf01".ccrp15 row size = 11 number of columns = 2 index size = 0 }
|
|
create table "usainf01".ccrp15
|
|
(
|
|
sec_cliente integer,
|
|
balance decimal(12,2)
|
|
);
|
|
revoke all on "usainf01".ccrp15 from "public";
|
|
|
|
{ TABLE "usainf02".vetb00046 row size = 51 number of columns = 13 index size = 0
|
|
}
|
|
create table "usainf02".vetb00046
|
|
(
|
|
ano smallint,
|
|
sec_vend smallint,
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
mes1 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".vetb00046 from "public";
|
|
|
|
{ TABLE "informix".cgtb04 row size = 203 number of columns = 18 index size = 0 }
|
|
create table "informix".cgtb04
|
|
(
|
|
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 "informix".cgtb04 from "public";
|
|
|
|
{ TABLE "usainf02".cotb00060 row size = 50 number of columns = 10 index size = 0
|
|
}
|
|
create table "usainf02".cotb00060
|
|
(
|
|
rango_plan char(4),
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
cantidad decimal(10,2),
|
|
us_crea char(9),
|
|
fech_crea datetime year to minute,
|
|
us_mod char(9),
|
|
fech_mod datetime year to minute
|
|
);
|
|
revoke all on "usainf02".cotb00060 from "public";
|
|
|
|
{ TABLE "usainf02".iptb00019 row size = 70 number of columns = 6 index size = 39
|
|
}
|
|
create table "usainf02".iptb00019
|
|
(
|
|
usuario char(20) not null ,
|
|
cod_mov smallint not null ,
|
|
printer smallint,
|
|
puerto char(30),
|
|
us_crea char(9),
|
|
fech_crea datetime year to minute
|
|
);
|
|
revoke all on "usainf02".iptb00019 from "public";
|
|
|
|
create index "usainf02".unique on "usainf02".iptb00019 (usuario,
|
|
cod_mov);
|
|
{ TABLE "usainf01".iptb00001 row size = 102 number of columns = 7 index size = 0
|
|
}
|
|
create table "usainf01".iptb00001
|
|
(
|
|
cod_cia smallint,
|
|
descripcion char(60),
|
|
cuenta_no 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 "usainf01".iptb00001 from "public";
|
|
|
|
{ TABLE "informix".iptb00002 row size = 76 number of columns = 17 index size = 48
|
|
}
|
|
create table "informix".iptb00002
|
|
(
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
nomenclatura char(10),
|
|
codigo smallint,
|
|
cod_cia smallint,
|
|
bodega smallint,
|
|
existencia decimal(10,2) not null constraint "informix".n270_60,
|
|
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 "informix".iptb00002 from "public";
|
|
|
|
create index "informix".ip_codigo on "informix".iptb00002 (cod_n,
|
|
cod_grupo,cod_tipo,cod_sec);
|
|
create cluster index "informix".nomen1 on "informix".iptb00002
|
|
(nomenclatura);
|
|
create index "informix".idx_40 on "informix".iptb00002 (cod_sec);
|
|
|
|
{ TABLE "usainf02".cgtb00056 row size = 39 number of columns = 8 index size = 0 }
|
|
create table "usainf02".cgtb00056
|
|
(
|
|
ventas smallint,
|
|
departamento smallint,
|
|
codigo 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 "usainf02".cgtb00056 from "public";
|
|
|
|
{ TABLE "informix".cotb00061 row size = 36 number of columns = 3 index size = 0 }
|
|
create table "informix".cotb00061
|
|
(
|
|
usuario char(9),
|
|
programa char(20),
|
|
fecha datetime year to minute
|
|
);
|
|
revoke all on "informix".cotb00061 from "public";
|
|
|
|
{ TABLE "informix".cptb01 row size = 120 number of columns = 17 index size = 0 }
|
|
create table "informix".cptb01
|
|
(
|
|
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),
|
|
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 "informix".cptb01 from "public";
|
|
|
|
{ TABLE "informix".cptb00001 row size = 120 number of columns = 17 index size = 159
|
|
}
|
|
create table "informix".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 "informix".n201_11,
|
|
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 "informix".cptb00001 from "public";
|
|
|
|
create index "informix".cp_1 on "informix".cptb00001 (cod_sp,cod_sp_sec,
|
|
tipo_doc,num_doc);
|
|
create index "informix".cp_2 on "informix".cptb00001 (cod_sp,cod_sp_sec,
|
|
tipo_doc,aplica_a);
|
|
create index "informix".cp_5 on "informix".cptb00001 (cod_sp,cod_sp_sec);
|
|
|
|
create index "informix".cp_6 on "informix".cptb00001 (cod_sp);
|
|
|
|
create index "informix".cp_7 on "informix".cptb00001 (cod_sp_sec);
|
|
|
|
create index "informix".cp_8 on "informix".cptb00001 (tipo);
|
|
create index "informix".cp_9 on "informix".cptb00001 (num_doc);
|
|
|
|
create index "informix".cp_10 on "informix".cptb00001 (fecha_orig);
|
|
|
|
create index "informix".cptb_1 on "informix".cptb00001 (num_doc,
|
|
cod_sp,cod_sp_sec);
|
|
{ TABLE "informix".notb08 row size = 65 number of columns = 16 index size = 0 }
|
|
create table "informix".notb08
|
|
(
|
|
num_nomi integer,
|
|
tipo_emp char(1),
|
|
num_emp smallint,
|
|
departamento smallint,
|
|
nivel_emp smallint,
|
|
cod_puesto smallint,
|
|
fecha date,
|
|
cod_mov smallint,
|
|
cantidad decimal(10,2),
|
|
valor decimal(10,2),
|
|
clase_mov 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 "informix".notb08 from "public";
|
|
|
|
{ TABLE "informix".iptb06 row size = 171 number of columns = 29 index size = 0 }
|
|
create table "informix".iptb06
|
|
(
|
|
cod_cia smallint,
|
|
num_doc integer,
|
|
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 "informix".iptb06 from "public";
|
|
|
|
{ TABLE "usainf01".compania row size = 321 number of columns = 7 index size = 0 }
|
|
create table "usainf01".compania
|
|
(
|
|
cod_cia smallint,
|
|
nombre char(80),
|
|
cuenta_no char(8),
|
|
rnc char(11),
|
|
representante char(70),
|
|
direccion char(120),
|
|
ciudad char(30)
|
|
);
|
|
revoke all on "usainf01".compania from "public";
|
|
|
|
{ TABLE "usainf01".iptb00020 row size = 29 number of columns = 6 index size = 0 }
|
|
create table "usainf01".iptb00020
|
|
(
|
|
cod_n smallint,
|
|
cod_mov smallint,
|
|
cuenta_m char(8) not null ,
|
|
cuenta_l char(8),
|
|
cuenta_g char(8),
|
|
id char(1)
|
|
);
|
|
revoke all on "usainf01".iptb00020 from "public";
|
|
|
|
{ TABLE "usainf02".cctb00011 row size = 163 number of columns = 10 index size = 0
|
|
}
|
|
create table "usainf02".cctb00011
|
|
(
|
|
num_doc integer,
|
|
tipo_doc char(2),
|
|
tipo_cliente smallint,
|
|
sec_cliente smallint,
|
|
comentario char(120),
|
|
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".cctb00011 from "public";
|
|
|
|
{ TABLE "informix".iptb02 row size = 74 number of columns = 16 index size = 0 }
|
|
create table "informix".iptb02
|
|
(
|
|
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 ,
|
|
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 "informix".iptb02 from "public";
|
|
|
|
{ TABLE "usainf01".adtb00039 row size = 64 number of columns = 3 index size = 0 }
|
|
create table "usainf01".adtb00039
|
|
(
|
|
grupo smallint,
|
|
departamento smallint,
|
|
descripcion char(60)
|
|
);
|
|
revoke all on "usainf01".adtb00039 from "public";
|
|
|
|
{ TABLE "informix".notb07 row size = 58 number of columns = 14 index size = 0 }
|
|
create table "informix".notb07
|
|
(
|
|
num_nomi smallint,
|
|
tipo_emp char(1),
|
|
num_emp smallint,
|
|
departamento smallint,
|
|
nivel_emp smallint,
|
|
cod_puesto smallint,
|
|
cod_mov smallint,
|
|
cantidad decimal(10,2),
|
|
valor 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 "informix".notb07 from "public";
|
|
|
|
{ TABLE "usainf01".notb00004 row size = 34 number of columns = 8 index size = 0 }
|
|
create table "usainf01".notb00004
|
|
(
|
|
num_doc integer,
|
|
fecha date,
|
|
num_emp smallint,
|
|
tipo_emp char(1),
|
|
cod_mov smallint,
|
|
cantidad decimal(8,2),
|
|
us_crea char(9),
|
|
fech_crea datetime year to minute
|
|
);
|
|
revoke all on "usainf01".notb00004 from "public";
|
|
|
|
{ TABLE "usainf02".irtb00031 row size = 2 number of columns = 1 index size = 0 }
|
|
create table "usainf02".irtb00031
|
|
(
|
|
cod_mov smallint
|
|
);
|
|
revoke all on "usainf02".irtb00031 from "public";
|
|
|
|
{ TABLE "informix".iptb00018 row size = 28 number of columns = 8 index size = 24
|
|
}
|
|
create table "informix".iptb00018
|
|
(
|
|
fecha_ini date,
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
fecha date,
|
|
costo decimal(8,4),
|
|
balance decimal(12,2)
|
|
);
|
|
revoke all on "informix".iptb00018 from "public";
|
|
|
|
create index "usainf01".iptb18 on "informix".iptb00018 (fecha_ini,
|
|
cod_n,cod_grupo,cod_tipo,cod_sec);
|
|
{ TABLE "usainf01".produccion row size = 53 number of columns = 5 index size = 0
|
|
}
|
|
create table "usainf01".produccion
|
|
(
|
|
id smallint,
|
|
fecha date,
|
|
concepto char(25),
|
|
depto char(15),
|
|
valor decimal(12,2)
|
|
);
|
|
revoke all on "usainf01".produccion from "public";
|
|
|
|
{ TABLE "informix".cotb00062 row size = 298 number of columns = 16 index size = 12
|
|
}
|
|
create table "informix".cotb00062
|
|
(
|
|
num_oc integer not null ,
|
|
desc_fob char(15),
|
|
fob decimal(12,2),
|
|
desc_flete char(15),
|
|
flete decimal(12,2),
|
|
desc_otros char(15),
|
|
otros_g decimal(12,2),
|
|
desc_cyf char(15),
|
|
direc1 char(60),
|
|
direc2 char(60),
|
|
direc3 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 "informix".cotb00062 from "public";
|
|
|
|
create unique index "informix".ix626_1 on "informix".cotb00062
|
|
(num_oc);
|
|
{ TABLE "usainf02".cotb00063 row size = 55 number of columns = 10 index size = 42
|
|
}
|
|
create table "usainf02".cotb00063
|
|
(
|
|
tipo_cliente smallint,
|
|
sec_cliente smallint,
|
|
grupo_prod smallint,
|
|
codigo_prod char(10),
|
|
porc_desc 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 "usainf02".cotb00063 from "public";
|
|
|
|
create unique index "informix".cotb63_1 on "usainf02".cotb00063
|
|
(tipo_cliente,sec_cliente,grupo_prod);
|
|
create unique index "informix".cotb63_2 on "usainf02".cotb00063
|
|
(tipo_cliente,sec_cliente,codigo_prod);
|
|
{ TABLE "informix".codigos row size = 86 number of columns = 2 index size = 0 }
|
|
create table "informix".codigos
|
|
(
|
|
codigo char(80),
|
|
precio decimal(10,4)
|
|
);
|
|
revoke all on "informix".codigos from "public";
|
|
|
|
{ TABLE "informix".cotb00052 row size = 131 number of columns = 13 index size = 21
|
|
}
|
|
create table "informix".cotb00052
|
|
(
|
|
codigo char(10),
|
|
descripcion char(60),
|
|
tipo smallint,
|
|
cantidad integer,
|
|
peso decimal(8,2),
|
|
pie_cubico decimal(8,2),
|
|
precio decimal(10,2),
|
|
precio_compra 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 "informix".cotb00052 from "public";
|
|
|
|
create unique index "usainf01".ix508_1 on "informix".cotb00052
|
|
(codigo);
|
|
{ TABLE "informix".cotb00064 row size = 86 number of columns = 12 index size = 18
|
|
}
|
|
create table "informix".cotb00064
|
|
(
|
|
orden smallint,
|
|
descrip_ing char(40),
|
|
unidad_med char(3),
|
|
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 "informix".cotb00064 from "public";
|
|
|
|
create unique index "usainf01".cotb64_1 on "informix".cotb00064
|
|
(cod_n,cod_grupo,cod_tipo,cod_sec);
|
|
{ TABLE "usainf02".produccion11 row size = 53 number of columns = 5 index size =
|
|
0 }
|
|
create table "usainf02".produccion11
|
|
(
|
|
id smallint,
|
|
fecha date,
|
|
concepto char(25),
|
|
depto char(15),
|
|
valor decimal(12,2)
|
|
);
|
|
revoke all on "usainf02".produccion11 from "public";
|
|
|
|
{ TABLE "informix".intb00029 row size = 53 number of columns = 10 index size = 0
|
|
}
|
|
create table "informix".intb00029
|
|
(
|
|
referencia char(12),
|
|
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 "informix".intb00029 from "public";
|
|
|
|
{ TABLE "informix".iptb00021 row size = 103 number of columns = 11 index size = 0
|
|
}
|
|
create table "informix".iptb00021
|
|
(
|
|
tipo smallint,
|
|
descripcion char(60),
|
|
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 "informix".iptb00021 from "public";
|
|
|
|
{ TABLE "usainf02".cotb00065 row size = 279 number of columns = 12 index size = 0
|
|
}
|
|
create table "usainf02".cotb00065
|
|
(
|
|
tipo_cliente smallint,
|
|
sec_cliente smallint,
|
|
codigo1 smallint,
|
|
descripcion char(60),
|
|
direcc1 char(60),
|
|
direcc2 char(60),
|
|
direcc3 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 "usainf02".cotb00065 from "public";
|
|
|
|
{ TABLE "usainf01".vetb00047 row size = 62 number of columns = 4 index size = 0 }
|
|
create table "usainf01".vetb00047
|
|
(
|
|
orden smallint,
|
|
tipo char(20),
|
|
codigo char(20),
|
|
sheet char(20)
|
|
);
|
|
revoke all on "usainf01".vetb00047 from "public";
|
|
|
|
{ TABLE "informix".cotb014 row size = 130 number of columns = 22 index size = 0 }
|
|
create table "informix".cotb014
|
|
(
|
|
num_oc integer not null ,
|
|
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 "informix".cotb014 from "public";
|
|
|
|
{ TABLE "informix".cotb015 row size = 80 number of columns = 16 index size = 0 }
|
|
create table "informix".cotb015
|
|
(
|
|
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 "informix".cotb015 from "public";
|
|
|
|
{ TABLE "usainf01".cotb00070 row size = 62 number of columns = 2 index size = 0 }
|
|
create table "usainf01".cotb00070
|
|
(
|
|
bandera smallint,
|
|
nombre_pais char(60)
|
|
);
|
|
revoke all on "usainf01".cotb00070 from "public";
|
|
|
|
{ TABLE "usainf01".cotb00071 row size = 245 number of columns = 12 index size = 0
|
|
}
|
|
create table "usainf01".cotb00071
|
|
(
|
|
arancel char(10),
|
|
descr1 char(50),
|
|
descr2 char(50),
|
|
descr3 char(50),
|
|
descr4 char(50),
|
|
factor char(20),
|
|
gravamen decimal(8,2),
|
|
selectivo decimal(8,2),
|
|
itbis char(1),
|
|
exento char(1),
|
|
recargo char(1),
|
|
nivel char(2)
|
|
);
|
|
revoke all on "usainf01".cotb00071 from "public";
|
|
|
|
{ TABLE "usainf02".cotb00066 row size = 365 number of columns = 22 index size = 0
|
|
}
|
|
create table "usainf02".cotb00066
|
|
(
|
|
factura char(10),
|
|
fecha_factura date,
|
|
cod_sp smallint,
|
|
cod_sp_sec smallint,
|
|
nom_sp char(40),
|
|
term_sp smallint,
|
|
cod_mon integer,
|
|
bl char(20),
|
|
fecha_bl date,
|
|
valor decimal(10,2),
|
|
total_ew decimal(12,4),
|
|
fletes_int decimal(10,2),
|
|
gastos_int decimal(10,2),
|
|
total_fob decimal(10,2),
|
|
flete decimal(10,2),
|
|
total_fact decimal(12,2),
|
|
observaciones char(200),
|
|
status_t char(1),
|
|
us_crea char(9),
|
|
fecha_crea datetime year to minute,
|
|
us_mod char(9),
|
|
fecha_mod datetime year to minute
|
|
);
|
|
revoke all on "usainf02".cotb00066 from "public";
|
|
|
|
{ TABLE "informix".cotb00015 row size = 80 number of columns = 16 index size = 90
|
|
}
|
|
create table "informix".cotb00015
|
|
(
|
|
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,4),
|
|
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 "informix".cotb00015 from "public";
|
|
|
|
create index "informix".clave15 on "informix".cotb00015 (num_oc,
|
|
tipo,num_req,cod_n,cod_grupo,cod_tipo,cod_sec);
|
|
create cluster index "informix".cotb15_1 on "informix".cotb00015
|
|
(num_oc,cod_n,cod_grupo,cod_tipo,cod_sec);
|
|
create index "informix".cotb15 on "informix".cotb00015 (num_oc,
|
|
tipo);
|
|
create index "informix".cotb15_2 on "informix".cotb00015 (cod_n,
|
|
cod_grupo,cod_tipo,cod_sec);
|
|
{ TABLE "usainf02".intb00018 row size = 70 number of columns = 15 index size = 0
|
|
}
|
|
create table "usainf02".intb00018
|
|
(
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
cod_sp smallint,
|
|
cod_sp_sec smallint,
|
|
unidad_med char(4),
|
|
conversion decimal(12,4),
|
|
precio decimal(12,4),
|
|
precio_s 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 "usainf02".intb00018 from "public";
|
|
|
|
{ TABLE "usainf02".intb00030 row size = 26 number of columns = 5 index size = 0 }
|
|
create table "usainf02".intb00030
|
|
(
|
|
cod_sp smallint,
|
|
cod_sp_sec smallint,
|
|
cyf char(1),
|
|
fob char(1),
|
|
etiqueta char(20)
|
|
);
|
|
revoke all on "usainf02".intb00030 from "public";
|
|
|
|
{ TABLE "usainf01".vetb00048 row size = 65 number of columns = 7 index size = 0 }
|
|
create table "usainf01".vetb00048
|
|
(
|
|
codigo smallint,
|
|
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 "usainf01".vetb00048 from "public";
|
|
|
|
{ TABLE "usainf02".cotb00067 row size = 83 number of columns = 18 index size = 0
|
|
}
|
|
create table "usainf02".cotb00067
|
|
(
|
|
factura char(10),
|
|
cod_sp smallint,
|
|
cod_sp_sec smallint,
|
|
num_oc smallint,
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
cant_oc integer,
|
|
precio_oc decimal(12,4),
|
|
cant_fact integer,
|
|
precio_fact decimal(12,4),
|
|
valor_t decimal(12,4),
|
|
status_t char(1),
|
|
us_crea char(9),
|
|
fecha_crea datetime year to minute,
|
|
us_mod char(9),
|
|
fecha_mod date
|
|
);
|
|
revoke all on "usainf02".cotb00067 from "public";
|
|
|
|
{ TABLE "informix".cotb00008 row size = 63 number of columns = 15 index size = 12
|
|
}
|
|
create table "informix".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,4),
|
|
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 "informix".cotb00008 from "public";
|
|
|
|
create index "informix".numero on "informix".cotb00008 (num_req);
|
|
|
|
{ TABLE "usainf01".cotb00069 row size = 99 number of columns = 19 index size = 0
|
|
}
|
|
create table "usainf01".cotb00069
|
|
(
|
|
cod_sp smallint,
|
|
cod_sp_sec smallint,
|
|
factura char(10) not null constraint "informix".n739_293,
|
|
num_oc integer not null constraint "usainf01".n721_285,
|
|
cod_n smallint,
|
|
cod_grupo smallint,
|
|
cod_tipo smallint,
|
|
cod_sec smallint,
|
|
cant_fact integer,
|
|
precio_fact decimal(12,4),
|
|
cant_verificada integer not null ,
|
|
valor_aduana decimal(12,4) not null ,
|
|
nab char(11),
|
|
porc_gravamen decimal(12,2) not null constraint "usainf01".n721_288,
|
|
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".cotb00069 from "public";
|
|
|
|
{ TABLE "usainf01".cotb00068 row size = 342 number of columns = 34 index size = 0
|
|
}
|
|
create table "usainf01".cotb00068
|
|
(
|
|
factura char(15) not null ,
|
|
fecha_factura date not null constraint "usainf01".n720_264,
|
|
cod_sp smallint not null constraint "usainf01".n720_265,
|
|
cod_sp_sec smallint not null constraint "usainf01".n720_266,
|
|
fecha_llegada date not null constraint "usainf01".n720_267,
|
|
cond_pago smallint not null constraint "usainf01".n720_268,
|
|
term_sp smallint,
|
|
bl char(25) not null constraint "usainf01".n720_290,
|
|
fecha_bl date not null constraint "usainf01".n720_270,
|
|
fecha_declara date,
|
|
tasa decimal(12,4) not null constraint "informix".n741_296,
|
|
colecturia_no smallint,
|
|
planilla_no smallint,
|
|
liquidacion_no smallint,
|
|
secuencia_no smallint,
|
|
pais_origen smallint,
|
|
itbi decimal(8,2) not null constraint "usainf01".n720_273,
|
|
seguro decimal(12,2) not null ,
|
|
flete decimal(12,2) not null ,
|
|
otros decimal(12,2) not null ,
|
|
fob_liquidado decimal(12,2) not null ,
|
|
cyf_liquidado decimal(12,2) not null ,
|
|
gravamen decimal(12,2) not null ,
|
|
monto_itbi decimal(8,2) not null constraint "usainf01".n720_280,
|
|
otros_y_multas decimal(12,2) not null ,
|
|
porciento_comision decimal(8,2),
|
|
comision decimal(12,2),
|
|
total decimal(12,2) not null ,
|
|
observaciones char(150),
|
|
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".cotb00068 from "public";
|
|
|
|
{ TABLE "informix".cgtb004 row size = 203 number of columns = 18 index size = 0 }
|
|
create table "informix".cgtb004
|
|
(
|
|
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 "informix".cgtb004 from "public";
|
|
|
|
{ TABLE "usainf02".cctb00012 row size = 39 number of columns = 8 index size = 12
|
|
}
|
|
create table "usainf02".cctb00012
|
|
(
|
|
tipo_cliente smallint,
|
|
sec_cliente smallint,
|
|
tipo_negocio 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 "usainf02".cctb00012 from "public";
|
|
|
|
create unique index "usainf01".cctb12_1 on "usainf02".cctb00012
|
|
(tipo_cliente,sec_cliente);
|
|
{ TABLE "usainf02".cctb00013 row size = 65 number of columns = 7 index size = 0 }
|
|
create table "usainf02".cctb00013
|
|
(
|
|
tipo_negocio smallint,
|
|
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 "usainf02".cctb00013 from "public";
|
|
|
|
{ TABLE "informix".cptb001 row size = 120 number of columns = 17 index size = 0 }
|
|
create table "informix".cptb001
|
|
(
|
|
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),
|
|
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 "informix".cptb001 from "public";
|
|
|
|
{ TABLE "usainf02".cotb00072 row size = 47 number of columns = 8 index size = 0 }
|
|
create table "usainf02".cotb00072
|
|
(
|
|
cod_sp smallint,
|
|
cod_sp_sec smallint,
|
|
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 "usainf02".cotb00072 from "public";
|
|
|
|
{ TABLE "usainf02".cgtb00041 row size = 95 number of columns = 7 index size = 0 }
|
|
create table "usainf02".cgtb00041
|
|
(
|
|
cod_pago smallint,
|
|
descrip_pago 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 "usainf02".cgtb00041 from "public";
|
|
|
|
{ TABLE "usainf02".cgtb00042 row size = 46 number of columns = 8 index size = 0 }
|
|
create table "usainf02".cgtb00042
|
|
(
|
|
cod_pago smallint,
|
|
cuenta char(10),
|
|
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 "usainf02".cgtb00042 from "public";
|
|
|
|
{ TABLE "usainf02".cgtb00043 row size = 93 number of columns = 7 index size = 0 }
|
|
create table "usainf02".cgtb00043
|
|
(
|
|
cuenta char(10),
|
|
descrip_cuenta 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 "usainf02".cgtb00043 from "public";
|
|
|
|
{ TABLE "usainf02".cgtb00044 row size = 48 number of columns = 9 index size = 0 }
|
|
create table "usainf02".cgtb00044
|
|
(
|
|
num_solic integer,
|
|
fecha_solic datetime year to minute,
|
|
revisado_por smallint,
|
|
autorizado_por 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 "usainf02".cgtb00044 from "public";
|
|
|
|
{ TABLE "usainf02".cgtb00045 row size = 233 number of columns = 20 index size = 0
|
|
}
|
|
create table "usainf02".cgtb00045
|
|
(
|
|
num_solic integer,
|
|
fecha_solic datetime year to minute,
|
|
codigo_depto smallint,
|
|
preparado_por smallint,
|
|
revisado_por smallint,
|
|
autorizado_por smallint,
|
|
beneficiario char(40),
|
|
monto_solic decimal(12,4),
|
|
moneda smallint,
|
|
tasa smallint,
|
|
tipo_pago smallint,
|
|
cod_sp smallint,
|
|
cod_sp_sec smallint,
|
|
num_oc integer,
|
|
concepto char(120),
|
|
status_t char(1),
|
|
us_crea char(9),
|
|
fecha_crea datetime year to minute,
|
|
us_mod char(9),
|
|
fecha_mod datetime year to minute
|
|
);
|
|
revoke all on "usainf02".cgtb00045 from "public";
|
|
|
|
{ TABLE "usainf02".cgtb00046 row size = 108 number of columns = 14 index size = 0
|
|
}
|
|
create table "usainf02".cgtb00046
|
|
(
|
|
num_solic integer,
|
|
autorizado_por smallint,
|
|
fecha_solic datetime year to minute,
|
|
cuenta char(10),
|
|
centro_costo char(10),
|
|
catalogo char(10),
|
|
referencia char(20),
|
|
debito decimal(10,2),
|
|
credito decimal(10,2),
|
|
status_t char(1),
|
|
us_crea char(9),
|
|
fecha_crea datetime year to minute,
|
|
us_mod char(9),
|
|
fecha_mod datetime year to minute
|
|
);
|
|
revoke all on "usainf02".cgtb00046 from "public";
|
|
|
|
{ TABLE "usainf02".cctb012 row size = 39 number of columns = 8 index size = 0 }
|
|
create table "usainf02".cctb012
|
|
(
|
|
tipo_cliente smallint,
|
|
sec_cliente smallint,
|
|
tipo_negocio 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 "usainf02".cctb012 from "public";
|
|
|
|
{ TABLE "informix".vetb02 row size = 113 number of columns = 28 index size = 0 }
|
|
create table "informix".vetb02
|
|
(
|
|
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 "informix".vetb02 from "public";
|
|
|
|
{ TABLE "informix".vetb03 row size = 65 number of columns = 15 index size = 0 }
|
|
create table "informix".vetb03
|
|
(
|
|
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 "informix".vetb03 from "public";
|
|
|
|
{ TABLE "informix".cgtb01 row size = 164 number of columns = 17 index size = 0 }
|
|
create table "informix".cgtb01
|
|
(
|
|
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 "informix".cgtb01 from "public";
|
|
|
|
{ TABLE "usainf01".prueba1 row size = 738 number of columns = 12 index size = 0 }
|
|
create table "usainf01".prueba1
|
|
(
|
|
linea integer,
|
|
descrip_l char(120),
|
|
grupo integer,
|
|
descrip_g char(120),
|
|
marca char(120),
|
|
modelo char(120),
|
|
color char(2),
|
|
estado char(2),
|
|
description char(120),
|
|
existencia integer,
|
|
colores char(120),
|
|
obsoleto char(2)
|
|
);
|
|
revoke all on "usainf01".prueba1 from "public";
|
|
|
|
{ TABLE "usainf01".prueba2 row size = 132 number of columns = 4 index size = 0 }
|
|
create table "usainf01".prueba2
|
|
(
|
|
linea integer,
|
|
grupo integer,
|
|
descrip_g char(120),
|
|
grupo_ant integer
|
|
);
|
|
revoke all on "usainf01".prueba2 from "public";
|
|
|
|
{ TABLE "usainf01".prueba3 row size = 738 number of columns = 12 index size = 0 }
|
|
create table "usainf01".prueba3
|
|
(
|
|
linea integer,
|
|
descrip_l char(120),
|
|
grupo integer,
|
|
descrip_g char(120),
|
|
marca char(120),
|
|
modelo char(120),
|
|
color char(2),
|
|
estado char(2),
|
|
description char(120),
|
|
existencia integer,
|
|
colores char(120),
|
|
obsoleto char(2)
|
|
);
|
|
revoke all on "usainf01".prueba3 from "public";
|
|
|
|
{ TABLE "usainf01".prueba4 row size = 738 number of columns = 12 index size = 0 }
|
|
create table "usainf01".prueba4
|
|
(
|
|
linea integer,
|
|
descrip_l char(120),
|
|
grupo integer,
|
|
descrip_g char(120),
|
|
marca char(120),
|
|
modelo char(120),
|
|
color char(2),
|
|
estado char(2),
|
|
description char(120),
|
|
existencia integer,
|
|
colores char(120),
|
|
obsoleto char(2)
|
|
);
|
|
revoke all on "usainf01".prueba4 from "public";
|
|
|
|
{ TABLE "usainf01".resultado row size = 738 number of columns = 12 index size = 0
|
|
}
|
|
create table "usainf01".resultado
|
|
(
|
|
linea integer,
|
|
descrip_l char(120),
|
|
grupo integer,
|
|
descrip_g char(120),
|
|
marca char(120),
|
|
modelo char(120),
|
|
color char(2),
|
|
estado char(2),
|
|
description char(120),
|
|
existencia integer,
|
|
colores char(120),
|
|
obsoleto char(2)
|
|
);
|
|
revoke all on "usainf01".resultado from "public";
|
|
|
|
{ TABLE "usainf01".notb00116 row size = 17 number of columns = 4 index size = 0 }
|
|
create table "usainf01".notb00116
|
|
(
|
|
tipo_emp char(1),
|
|
fecha date,
|
|
cantidad decimal(10,2),
|
|
valor decimal(10,2)
|
|
);
|
|
revoke all on "usainf01".notb00116 from "public";
|
|
|
|
|
|
|
|
grant all on "informix".actb00002 to "public" as "informix";
|
|
grant all on "informix".actb00004 to "public" as "informix";
|
|
grant all on "informix".adtb00001 to "public" as "informix";
|
|
grant all on "informix".adtb00002 to "public" as "informix";
|
|
grant all on "informix".adtb00003 to "public" as "informix";
|
|
grant all on "informix".adtb00004 to "public" as "informix";
|
|
grant all on "informix".adtb00005 to "public" as "informix";
|
|
grant all on "informix".adtb00006 to "public" as "informix";
|
|
grant all on "informix".adtb00007 to "public" as "informix";
|
|
grant all on "informix".adtb00008 to "public" as "informix";
|
|
grant all on "informix".adtb00009 to "public" as "informix";
|
|
grant all on "informix".adtb00010 to "public" as "informix";
|
|
grant all on "informix".adtb00011 to "public" as "informix";
|
|
grant all on "informix".adtb00014 to "public" as "informix";
|
|
grant all on "informix".adtb00015 to "public" as "informix";
|
|
grant all on "informix".adtb00016 to "public" as "informix";
|
|
grant all on "informix".adtb00017 to "public" as "informix";
|
|
grant all on "informix".adtb00018 to "public" as "informix";
|
|
grant all on "informix".adtb00019 to "public" as "informix";
|
|
grant all on "informix".adtb00020 to "public" as "informix";
|
|
grant all on "informix".adtb00022 to "public" as "informix";
|
|
grant all on "informix".adtb00023 to "public" as "informix";
|
|
grant all on "informix".adtb00024 to "public" as "informix";
|
|
grant all on "informix".adtb00025 to "public" as "informix";
|
|
grant all on "informix".adtb00026 to "public" as "informix";
|
|
grant all on "informix".adtb00027 to "public" as "informix";
|
|
grant all on "informix".adtb00028 to "public" as "informix";
|
|
grant all on "informix".adtb00029 to "public" as "informix";
|
|
grant all on "informix".adtb00030 to "public" as "informix";
|
|
grant all on "informix".adtb00031 to "public" as "informix";
|
|
grant all on "informix".adtb00032 to "public" as "informix";
|
|
grant all on "informix".adtb00033 to "public" as "informix";
|
|
grant all on "informix".bancos to "public" as "informix";
|
|
grant all on "informix".catb00001 to "public" as "informix";
|
|
grant all on "informix".catb00002 to "public" as "informix";
|
|
grant all on "informix".cctb00001 to "public" as "informix";
|
|
grant all on "informix".cctb00002 to "public" as "informix";
|
|
grant all on "informix".cctb00003 to "public" as "informix";
|
|
grant all on "informix".cctb00004 to "public" as "informix";
|
|
grant all on "informix".cctb00005 to "public" as "informix";
|
|
grant select on "informix".cctbh0001 to "public" as "informix";
|
|
grant update on "informix".cctbh0001 to "public" as "informix";
|
|
grant insert on "informix".cctbh0001 to "public" as "informix";
|
|
grant delete on "informix".cctbh0001 to "public" as "informix";
|
|
grant index on "informix".cctbh0001 to "public" as "informix";
|
|
grant all on "informix".cetb00001 to "public" as "informix";
|
|
grant all on "informix".cetb00002 to "public" as "informix";
|
|
grant all on "informix".cgtb00001 to "public" as "informix";
|
|
grant all on "informix".cgtb00003 to "public" as "informix";
|
|
grant all on "informix".cgtb00005 to "public" as "informix";
|
|
grant all on "informix".cgtb00006 to "public" as "informix";
|
|
grant all on "informix".cgtb00007 to "public" as "informix";
|
|
grant all on "informix".cgtb00008 to "public" as "informix";
|
|
grant all on "informix".cgtb00009 to "public" as "informix";
|
|
grant all on "informix".cgtb00010 to "public" as "informix";
|
|
grant all on "informix".cgtb00011 to "public" as "informix";
|
|
grant all on "informix".cgtb00012 to "public" as "informix";
|
|
grant all on "informix".cgtb00013 to "public" as "informix";
|
|
grant all on "informix".cgtb00015 to "public" as "informix";
|
|
grant all on "informix".cgtb00016 to "public" as "informix";
|
|
grant all on "informix".cgtb00017 to "public" as "informix";
|
|
grant all on "informix".cgtb00018 to "public" as "informix";
|
|
grant all on "informix".cgtb00019 to "public" as "informix";
|
|
grant all on "informix".cgtb00020 to "public" as "informix";
|
|
grant all on "informix".cgtb00030 to "public" as "informix";
|
|
grant all on "informix".chequeo to "public" as "informix";
|
|
grant all on "informix".cotb00001 to "public" as "informix";
|
|
grant all on "informix".cotb00002 to "public" as "informix";
|
|
grant all on "informix".cotb00003 to "public" as "informix";
|
|
grant all on "informix".cotb00004 to "public" as "informix";
|
|
grant all on "informix".cotb00005 to "public" as "informix";
|
|
grant all on "informix".cotb00007 to "public" as "informix";
|
|
grant all on "informix".cotb00011 to "public" as "informix";
|
|
grant all on "informix".cotb00012 to "public" as "informix";
|
|
grant all on "informix".cotb00013 to "public" as "informix";
|
|
grant all on "informix".cotb00016 to "public" as "informix";
|
|
grant all on "informix".cotb00017 to "public" as "informix";
|
|
grant all on "informix".cotb00018 to "public" as "informix";
|
|
grant all on "informix".cotb00019 to "public" as "informix";
|
|
grant all on "informix".cotb00020 to "public" as "informix";
|
|
grant all on "informix".cotb00022 to "public" as "informix";
|
|
grant all on "informix".cotb00024 to "public" as "informix";
|
|
grant all on "informix".cotb00025 to "public" as "informix";
|
|
grant all on "informix".cotb00026 to "public" as "informix";
|
|
grant all on "informix".cotb00027 to "public" as "informix";
|
|
grant all on "informix".cotb00028 to "public" as "informix";
|
|
grant all on "informix".cotb00029 to "public" as "informix";
|
|
grant all on "informix".cotb00030 to "public" as "informix";
|
|
grant all on "informix".cotb00031 to "public" as "informix";
|
|
grant all on "informix".cotb00032 to "public" as "informix";
|
|
grant all on "informix".cotb00033 to "public" as "informix";
|
|
grant all on "informix".cotb00034 to "public" as "informix";
|
|
grant all on "informix".cotb00035 to "public" as "informix";
|
|
grant all on "informix".cptb00002 to "public" as "informix";
|
|
grant all on "informix".cptb00003 to "public" as "informix";
|
|
grant all on "informix".cptb00005 to "public" as "informix";
|
|
grant all on "informix".cptb00006 to "public" as "informix";
|
|
grant all on "informix".cttb00001 to "public" as "informix";
|
|
grant all on "informix".cttb00006 to "public" as "informix";
|
|
grant all on "informix".cttb00007 to "public" as "informix";
|
|
grant all on "informix".cttb00008 to "public" as "informix";
|
|
grant all on "informix".cttb00010 to "public" as "informix";
|
|
grant all on "informix".cttb00011 to "public" as "informix";
|
|
grant all on "informix".cttb00013 to "public" as "informix";
|
|
grant all on "informix".cttb00014 to "public" as "informix";
|
|
grant all on "informix".cttb00015 to "public" as "informix";
|
|
grant all on "informix".cttb00021 to "public" as "informix";
|
|
grant all on "informix".cttb00022 to "public" as "informix";
|
|
grant all on "informix".cttb00023 to "public" as "informix";
|
|
grant all on "informix".cttb00026 to "public" as "informix";
|
|
grant all on "informix".cttb00027 to "public" as "informix";
|
|
grant all on "informix".cttb00028 to "public" as "informix";
|
|
grant all on "informix".cttb00029 to "public" as "informix";
|
|
grant all on "informix".cttb00031 to "public" as "informix";
|
|
grant all on "informix".cttb00032 to "public" as "informix";
|
|
grant all on "informix".cttb00033 to "public" as "informix";
|
|
grant all on "informix".cttb00034 to "public" as "informix";
|
|
grant all on "informix".cttb00035 to "public" as "informix";
|
|
grant all on "informix".cttb00036 to "public" as "informix";
|
|
grant all on "informix".cttb00041 to "public" as "informix";
|
|
grant all on "informix".dstb00002 to "public" as "informix";
|
|
grant all on "informix".dstb00003 to "public" as "informix";
|
|
grant all on "informix".dstb00005 to "public" as "informix";
|
|
grant all on "informix".dstb00006 to "public" as "informix";
|
|
grant all on "informix".ihtb00002 to "public" as "informix";
|
|
grant all on "informix".ihtb00003 to "public" as "informix";
|
|
grant all on "informix".ihtb00005 to "public" as "informix";
|
|
grant all on "informix".ihtb00006 to "public" as "informix";
|
|
grant all on "informix".ihtb00007 to "public" as "informix";
|
|
grant all on "informix".ihtb00008 to "public" as "informix";
|
|
grant all on "informix".intb00001 to "public" as "informix";
|
|
grant all on "informix".intb00001 to "ussve01" as "informix";
|
|
grant all on "informix".intb00002 to "public" as "informix";
|
|
grant all on "informix".intb00003 to "public" as "informix";
|
|
grant all on "informix".intb00004 to "public" as "informix";
|
|
grant all on "informix".intb00005 to "public" as "informix";
|
|
grant all on "informix".intb00007 to "public" as "informix";
|
|
grant all on "informix".intb00009 to "public" as "informix";
|
|
grant all on "informix".intb00011 to "public" as "informix";
|
|
grant all on "informix".intb00013 to "public" as "informix";
|
|
grant all on "informix".intb00014 to "public" as "informix";
|
|
grant all on "informix".intb00015 to "public" as "informix";
|
|
grant all on "informix".intb00017 to "public" as "informix";
|
|
grant all on "informix".intb00019 to "public" as "informix";
|
|
grant all on "informix".intb00022 to "public" as "informix";
|
|
grant all on "informix".intb00024 to "public" as "informix";
|
|
grant all on "informix".iptb00003 to "public" as "informix";
|
|
grant all on "informix".iptb00004 to "public" as "informix";
|
|
grant all on "informix".iptb00005 to "public" as "informix";
|
|
grant all on "informix".iptb00007 to "public" as "informix";
|
|
grant all on "informix".iptb00011 to "public" as "informix";
|
|
grant all on "informix".irtb00001 to "public" as "informix";
|
|
grant all on "informix".irtb00002 to "public" as "informix";
|
|
grant all on "informix".irtb00003 to "public" as "informix";
|
|
grant all on "informix".irtb00004 to "public" as "informix";
|
|
grant all on "informix".irtb00006 to "public" as "informix";
|
|
grant all on "informix".irtb00007 to "public" as "informix";
|
|
grant all on "informix".irtb00008 to "public" as "informix";
|
|
grant all on "informix".irtb00010 to "public" as "informix";
|
|
grant all on "informix".irtb00011 to "public" as "informix";
|
|
grant all on "informix".irtb00014 to "public" as "informix";
|
|
grant all on "informix".irtb00015 to "public" as "informix";
|
|
grant all on "informix".irtb00016 to "public" as "informix";
|
|
grant all on "informix".irtb00017 to "public" as "informix";
|
|
grant all on "informix".irtb00018 to "public" as "informix";
|
|
grant all on "informix".irtb00026 to "public" as "informix";
|
|
grant all on "informix".istb00002 to "public" as "informix";
|
|
grant all on "informix".istb00003 to "public" as "informix";
|
|
grant all on "informix".istb00005 to "public" as "informix";
|
|
grant all on "informix".istb00006 to "public" as "informix";
|
|
grant all on "informix".istb00007 to "public" as "informix";
|
|
grant all on "informix".istb00008 to "public" as "informix";
|
|
grant all on "informix".istb00009 to "public" as "informix";
|
|
grant all on "informix".istb00011 to "public" as "informix";
|
|
grant all on "informix".istb00013 to "public" as "informix";
|
|
grant all on "informix".mestable to "public" as "informix";
|
|
grant all on "informix".metb00001 to "public" as "informix";
|
|
grant all on "informix".mmtb00001 to "public" as "informix";
|
|
grant all on "informix".mmtb00002 to "public" as "informix";
|
|
grant all on "informix".mmtb00003 to "public" as "informix";
|
|
grant all on "informix".mmtb00004 to "public" as "informix";
|
|
grant all on "informix".mmtb00005 to "public" as "informix";
|
|
grant all on "informix".mmtb00006 to "public" as "informix";
|
|
grant all on "informix".msgtable to "public" as "informix";
|
|
grant all on "informix".notb00001 to "public" as "informix";
|
|
grant all on "informix".notb00002 to "public" as "informix";
|
|
grant all on "informix".notb00005 to "public" as "informix";
|
|
grant all on "informix".notb00009 to "public" as "informix";
|
|
grant all on "informix".notb00011 to "public" as "informix";
|
|
grant all on "informix".notb00012 to "public" as "informix";
|
|
grant all on "informix".notb00013 to "public" as "informix";
|
|
grant all on "informix".notb00014 to "public" as "informix";
|
|
grant all on "informix".notb00015 to "public" as "informix";
|
|
grant all on "informix".notb00017 to "public" as "informix";
|
|
grant all on "informix".notb00018 to "public" as "informix";
|
|
grant all on "informix".pgtb00001 to "public" as "informix";
|
|
grant all on "informix".pgtb00002 to "public" as "informix";
|
|
grant all on "informix".pgtb00003 to "public" as "informix";
|
|
grant all on "informix".prdtable to "public" as "informix";
|
|
grant all on "informix".prtb00001 to "public" as "informix";
|
|
grant all on "informix".prtb00002 to "public" as "informix";
|
|
grant all on "informix".prtb00003 to "public" as "informix";
|
|
grant all on "informix".prtb00004 to "public" as "informix";
|
|
grant all on "informix".prtb00005 to "public" as "informix";
|
|
grant all on "informix".seg0000 to "public" as "informix";
|
|
grant all on "informix".seg0002 to "public" as "informix";
|
|
grant all on "informix".seg0003 to "public" as "informix";
|
|
grant all on "informix".seg0004 to "public" as "informix";
|
|
grant all on "informix".telefo1780 to "public" as "informix";
|
|
grant all on "informix".telefo1783 to "public" as "informix";
|
|
grant all on "informix".telefonos to "public" as "informix";
|
|
grant all on "informix".tetb00001 to "public" as "informix";
|
|
grant all on "informix".tetb00002 to "public" as "informix";
|
|
grant all on "informix".vetb00002 to "public" as "informix";
|
|
grant all on "informix".vetb00003 to "public" as "informix";
|
|
grant all on "informix".vetb00005 to "public" as "informix";
|
|
grant all on "informix".vetb00006 to "public" as "informix";
|
|
grant all on "informix".vetb00007 to "public" as "informix";
|
|
grant all on "informix".vetb00008 to "public" as "informix";
|
|
grant all on "informix".vetb00009 to "public" as "informix";
|
|
grant all on "informix".vetb00010 to "public" as "informix";
|
|
grant all on "informix".vetb00011 to "public" as "informix";
|
|
grant all on "informix".vetb00012 to "public" as "informix";
|
|
grant all on "informix".vetb00013 to "public" as "informix";
|
|
grant all on "informix".vetb00014 to "public" as "informix";
|
|
grant all on "informix".vetb00015 to "public" as "informix";
|
|
grant all on "informix".vetb00016 to "public" as "informix";
|
|
grant all on "informix".vetb00017 to "public" as "informix";
|
|
grant all on "informix".vetb00018 to "public" as "informix";
|
|
grant all on "informix".vetb00019 to "public" as "informix";
|
|
grant all on "informix".vetb00020 to "public" as "informix";
|
|
grant all on "informix".vetb00021 to "public" as "informix";
|
|
grant all on "informix".vetb00022 to "public" as "informix";
|
|
grant all on "informix".vetb00023 to "public" as "informix";
|
|
grant all on "informix".vetb00024 to "public" as "informix";
|
|
grant all on "informix".vetb00025 to "public" as "informix";
|
|
grant all on "informix".vetb00026 to "public" as "informix";
|
|
grant all on "informix".vetb00027 to "public" as "informix";
|
|
grant all on "informix".vetb00028 to "public" as "informix";
|
|
grant all on "informix".vetb00029 to "public" as "informix";
|
|
grant all on "informix".vetb00030 to "public" as "informix";
|
|
grant all on "informix".vetb00031 to "public" as "informix";
|
|
grant all on "informix".vetb00036 to "public" as "informix";
|
|
grant all on "informix".vetb77777 to "public" as "informix";
|
|
grant all on "informix".vetb88888 to "public" as "informix";
|
|
grant all on "informix".vetb99999 to "public" as "informix";
|
|
grant all on "informix".smtb00001 to "public" as "informix";
|
|
grant all on "informix".smtb00002 to "public" as "informix";
|
|
grant all on "informix".dstb00001 to "public" as "informix";
|
|
grant all on "informix".smtb00003 to "public" as "informix";
|
|
grant all on "informix".smtb00004 to "public" as "informix";
|
|
grant all on "informix".smtb00005 to "public" as "informix";
|
|
grant all on "informix".smtb00008 to "public" as "informix";
|
|
grant all on "informix".dstb00004 to "public" as "informix";
|
|
grant all on "informix".seg0001 to "public" as "informix";
|
|
grant select on "informix".cetb00003 to "public" as "informix";
|
|
grant update on "informix".cetb00003 to "public" as "informix";
|
|
grant insert on "informix".cetb00003 to "public" as "informix";
|
|
grant delete on "informix".cetb00003 to "public" as "informix";
|
|
grant index on "informix".cetb00003 to "public" as "informix";
|
|
grant all on "informix".adtb00034 to "public" as "informix";
|
|
grant all on "informix".adtb00035 to "public" as "informix";
|
|
grant all on "informix".adtb00021 to "public" as "informix";
|
|
grant all on "informix".adtb00013 to "public" as "informix";
|
|
grant all on "informix".adtb00012 to "public" as "informix";
|
|
grant all on "informix".smtb00010 to "public" as "informix";
|
|
grant all on "informix".smtb00011 to "public" as "informix";
|
|
grant all on "informix".smtb00012 to "public" as "informix";
|
|
grant all on "informix".smtb00009 to "public" as "informix";
|
|
grant select on "informix".cgtb00014 to "public" as "informix";
|
|
grant update on "informix".cgtb00014 to "public" as "informix";
|
|
grant insert on "informix".cgtb00014 to "public" as "informix";
|
|
grant delete on "informix".cgtb00014 to "public" as "informix";
|
|
grant index on "informix".cgtb00014 to "public" as "informix";
|
|
grant select on "informix".vetb00034 to "public" as "informix";
|
|
grant update on "informix".vetb00034 to "public" as "informix";
|
|
grant insert on "informix".vetb00034 to "public" as "informix";
|
|
grant delete on "informix".vetb00034 to "public" as "informix";
|
|
grant index on "informix".vetb00034 to "public" as "informix";
|
|
grant select on "informix".vetb00035 to "public" as "informix";
|
|
grant update on "informix".vetb00035 to "public" as "informix";
|
|
grant insert on "informix".vetb00035 to "public" as "informix";
|
|
grant delete on "informix".vetb00035 to "public" as "informix";
|
|
grant index on "informix".vetb00035 to "public" as "informix";
|
|
grant all on "informix".intb00021 to "public" as "informix";
|
|
grant select on "informix".cgtb00031 to "public" as "informix";
|
|
grant update on "informix".cgtb00031 to "public" as "informix";
|
|
grant insert on "informix".cgtb00031 to "public" as "informix";
|
|
grant delete on "informix".cgtb00031 to "public" as "informix";
|
|
grant index on "informix".cgtb00031 to "public" as "informix";
|
|
grant select on "informix".tetb00003 to "public" as "informix";
|
|
grant update on "informix".tetb00003 to "public" as "informix";
|
|
grant insert on "informix".tetb00003 to "public" as "informix";
|
|
grant delete on "informix".tetb00003 to "public" as "informix";
|
|
grant index on "informix".tetb00003 to "public" as "informix";
|
|
grant all on "informix".tetb00007 to "public" as "informix";
|
|
grant all on "informix".adtb00036 to "public" as "informix";
|
|
grant select on "informix".intb00026 to "public" as "informix";
|
|
grant update on "informix".intb00026 to "public" as "informix";
|
|
grant insert on "informix".intb00026 to "public" as "informix";
|
|
grant delete on "informix".intb00026 to "public" as "informix";
|
|
grant index on "informix".intb00026 to "public" as "informix";
|
|
grant select on "informix".tetb00005 to "public" as "informix";
|
|
grant update on "informix".tetb00005 to "public" as "informix";
|
|
grant insert on "informix".tetb00005 to "public" as "informix";
|
|
grant delete on "informix".tetb00005 to "public" as "informix";
|
|
grant index on "informix".tetb00005 to "public" as "informix";
|
|
grant select on "informix".tetb00004 to "public" as "informix";
|
|
grant update on "informix".tetb00004 to "public" as "informix";
|
|
grant insert on "informix".tetb00004 to "public" as "informix";
|
|
grant delete on "informix".tetb00004 to "public" as "informix";
|
|
grant index on "informix".tetb00004 to "public" as "informix";
|
|
grant select on "informix".vetb00037 to "public" as "informix";
|
|
grant update on "informix".vetb00037 to "public" as "informix";
|
|
grant insert on "informix".vetb00037 to "public" as "informix";
|
|
grant delete on "informix".vetb00037 to "public" as "informix";
|
|
grant index on "informix".vetb00037 to "public" as "informix";
|
|
grant select on "informix".vetb00038 to "public" as "informix";
|
|
grant update on "informix".vetb00038 to "public" as "informix";
|
|
grant insert on "informix".vetb00038 to "public" as "informix";
|
|
grant delete on "informix".vetb00038 to "public" as "informix";
|
|
grant index on "informix".vetb00038 to "public" as "informix";
|
|
grant select on "informix".vetb00039 to "public" as "informix";
|
|
grant update on "informix".vetb00039 to "public" as "informix";
|
|
grant insert on "informix".vetb00039 to "public" as "informix";
|
|
grant delete on "informix".vetb00039 to "public" as "informix";
|
|
grant index on "informix".vetb00039 to "public" as "informix";
|
|
grant select on "informix".vacaciones to "public" as "informix";
|
|
grant update on "informix".vacaciones to "public" as "informix";
|
|
grant insert on "informix".vacaciones to "public" as "informix";
|
|
grant delete on "informix".vacaciones to "public" as "informix";
|
|
grant index on "informix".vacaciones to "public" as "informix";
|
|
grant select on "informix".cttb00037 to "public" as "informix";
|
|
grant update on "informix".cttb00037 to "public" as "informix";
|
|
grant insert on "informix".cttb00037 to "public" as "informix";
|
|
grant delete on "informix".cttb00037 to "public" as "informix";
|
|
grant index on "informix".cttb00037 to "public" as "informix";
|
|
grant all on "informix".notb00007 to "public" as "informix";
|
|
grant select on "informix".iptb00012 to "public" as "informix";
|
|
grant update on "informix".iptb00012 to "public" as "informix";
|
|
grant insert on "informix".iptb00012 to "public" as "informix";
|
|
grant delete on "informix".iptb00012 to "public" as "informix";
|
|
grant index on "informix".iptb00012 to "public" as "informix";
|
|
grant all on "informix".iptb00009 to "public" as "informix";
|
|
grant all on "informix".intb00025 to "public" as "informix";
|
|
grant select on "informix".notb00019 to "public" as "informix";
|
|
grant update on "informix".notb00019 to "public" as "informix";
|
|
grant insert on "informix".notb00019 to "public" as "informix";
|
|
grant delete on "informix".notb00019 to "public" as "informix";
|
|
grant index on "informix".notb00019 to "public" as "informix";
|
|
grant select on "informix".vetb00040 to "public" as "informix";
|
|
grant update on "informix".vetb00040 to "public" as "informix";
|
|
grant insert on "informix".vetb00040 to "public" as "informix";
|
|
grant delete on "informix".vetb00040 to "public" as "informix";
|
|
grant index on "informix".vetb00040 to "public" as "informix";
|
|
grant all on "informix".notb00020 to "public" as "informix";
|
|
grant all on "informix".notb00021 to "public" as "informix";
|
|
grant select on "informix".cgtb00021 to "public" as "informix";
|
|
grant update on "informix".cgtb00021 to "public" as "informix";
|
|
grant insert on "informix".cgtb00021 to "public" as "informix";
|
|
grant delete on "informix".cgtb00021 to "public" as "informix";
|
|
grant index on "informix".cgtb00021 to "public" as "informix";
|
|
grant select on "informix".iptb00016 to "public" as "informix";
|
|
grant update on "informix".iptb00016 to "public" as "informix";
|
|
grant insert on "informix".iptb00016 to "public" as "informix";
|
|
grant delete on "informix".iptb00016 to "public" as "informix";
|
|
grant index on "informix".iptb00016 to "public" as "informix";
|
|
grant all on "informix".intb00023 to "public" as "informix";
|
|
grant select on "informix".cgtb00032 to "public" as "informix";
|
|
grant update on "informix".cgtb00032 to "public" as "informix";
|
|
grant insert on "informix".cgtb00032 to "public" as "informix";
|
|
grant delete on "informix".cgtb00032 to "public" as "informix";
|
|
grant index on "informix".cgtb00032 to "public" as "informix";
|
|
grant select on "informix".cgtb00033 to "public" as "informix";
|
|
grant update on "informix".cgtb00033 to "public" as "informix";
|
|
grant insert on "informix".cgtb00033 to "public" as "informix";
|
|
grant delete on "informix".cgtb00033 to "public" as "informix";
|
|
grant index on "informix".cgtb00033 to "public" as "informix";
|
|
grant select on "informix".rpg13 to "public" as "informix";
|
|
grant update on "informix".rpg13 to "public" as "informix";
|
|
grant insert on "informix".rpg13 to "public" as "informix";
|
|
grant delete on "informix".rpg13 to "public" as "informix";
|
|
grant index on "informix".rpg13 to "public" as "informix";
|
|
grant select on "informix".vetb00032 to "public" as "informix";
|
|
grant update on "informix".vetb00032 to "public" as "informix";
|
|
grant insert on "informix".vetb00032 to "public" as "informix";
|
|
grant delete on "informix".vetb00032 to "public" as "informix";
|
|
grant index on "informix".vetb00032 to "public" as "informix";
|
|
grant all on "informix".irtb00005 to "public" as "informix";
|
|
grant select on "informix".iptb00010 to "public" as "informix";
|
|
grant update on "informix".iptb00010 to "public" as "informix";
|
|
grant insert on "informix".iptb00010 to "public" as "informix";
|
|
grant delete on "informix".iptb00010 to "public" as "informix";
|
|
grant index on "informix".iptb00010 to "public" as "informix";
|
|
grant select on "informix".cgtb00055 to "public" as "informix";
|
|
grant update on "informix".cgtb00055 to "public" as "informix";
|
|
grant insert on "informix".cgtb00055 to "public" as "informix";
|
|
grant delete on "informix".cgtb00055 to "public" as "informix";
|
|
grant index on "informix".cgtb00055 to "public" as "informix";
|
|
grant all on "informix".irtb00013 to "public" as "informix";
|
|
grant all on "informix".prtb00006 to "public" as "informix";
|
|
grant select on "informix".cttb00038 to "public" as "informix";
|
|
grant update on "informix".cttb00038 to "public" as "informix";
|
|
grant insert on "informix".cttb00038 to "public" as "informix";
|
|
grant delete on "informix".cttb00038 to "public" as "informix";
|
|
grant index on "informix".cttb00038 to "public" as "informix";
|
|
grant select on "informix".cttb00002 to "public" as "informix";
|
|
grant update on "informix".cttb00002 to "public" as "informix";
|
|
grant insert on "informix".cttb00002 to "public" as "informix";
|
|
grant delete on "informix".cttb00002 to "public" as "informix";
|
|
grant index on "informix".cttb00002 to "public" as "informix";
|
|
grant select on "informix".cttb00039 to "public" as "informix";
|
|
grant update on "informix".cttb00039 to "public" as "informix";
|
|
grant insert on "informix".cttb00039 to "public" as "informix";
|
|
grant delete on "informix".cttb00039 to "public" as "informix";
|
|
grant index on "informix".cttb00039 to "public" as "informix";
|
|
grant all on "informix".vetb00033 to "public" as "informix";
|
|
grant all on "informix".adtb00037 to "public" as "informix";
|
|
grant select on "informix".adtb00137 to "public" as "informix";
|
|
grant update on "informix".adtb00137 to "public" as "informix";
|
|
grant insert on "informix".adtb00137 to "public" as "informix";
|
|
grant delete on "informix".adtb00137 to "public" as "informix";
|
|
grant index on "informix".adtb00137 to "public" as "informix";
|
|
grant select on "informix".cctb00006 to "public" as "informix";
|
|
grant update on "informix".cctb00006 to "public" as "informix";
|
|
grant insert on "informix".cctb00006 to "public" as "informix";
|
|
grant delete on "informix".cctb00006 to "public" as "informix";
|
|
grant index on "informix".cctb00006 to "public" as "informix";
|
|
grant select on "informix".iptb00013 to "public" as "informix";
|
|
grant update on "informix".iptb00013 to "public" as "informix";
|
|
grant insert on "informix".iptb00013 to "public" as "informix";
|
|
grant delete on "informix".iptb00013 to "public" as "informix";
|
|
grant index on "informix".iptb00013 to "public" as "informix";
|
|
grant select on "informix".iptb00008 to "public" as "informix";
|
|
grant update on "informix".iptb00008 to "public" as "informix";
|
|
grant insert on "informix".iptb00008 to "public" as "informix";
|
|
grant delete on "informix".iptb00008 to "public" as "informix";
|
|
grant index on "informix".iptb00008 to "public" as "informix";
|
|
grant select on "informix".sttb101 to "public" as "informix";
|
|
grant update on "informix".sttb101 to "public" as "informix";
|
|
grant insert on "informix".sttb101 to "public" as "informix";
|
|
grant delete on "informix".sttb101 to "public" as "informix";
|
|
grant index on "informix".sttb101 to "public" as "informix";
|
|
grant all on "informix".smtb00013 to "public" as "informix";
|
|
grant all on "informix".smtb00014 to "public" as "informix";
|
|
grant all on "informix".smtb00006 to "public" as "informix";
|
|
grant all on "informix".smtb00007 to "public" as "informix";
|
|
grant select on "informix".cotb00009 to "public" as "informix";
|
|
grant update on "informix".cotb00009 to "public" as "informix";
|
|
grant insert on "informix".cotb00009 to "public" as "informix";
|
|
grant delete on "informix".cotb00009 to "public" as "informix";
|
|
grant index on "informix".cotb00009 to "public" as "informix";
|
|
grant select on "informix".intb00027 to "public" as "informix";
|
|
grant update on "informix".intb00027 to "public" as "informix";
|
|
grant insert on "informix".intb00027 to "public" as "informix";
|
|
grant delete on "informix".intb00027 to "public" as "informix";
|
|
grant index on "informix".intb00027 to "public" as "informix";
|
|
grant select on "informix".iptb00015 to "public" as "informix";
|
|
grant update on "informix".iptb00015 to "public" as "informix";
|
|
grant insert on "informix".iptb00015 to "public" as "informix";
|
|
grant delete on "informix".iptb00015 to "public" as "informix";
|
|
grant index on "informix".iptb00015 to "public" as "informix";
|
|
grant all on "informix".iptb00017 to "public" as "informix";
|
|
grant select on "informix".cttb00040 to "public" as "informix";
|
|
grant update on "informix".cttb00040 to "public" as "informix";
|
|
grant insert on "informix".cttb00040 to "public" as "informix";
|
|
grant delete on "informix".cttb00040 to "public" as "informix";
|
|
grant index on "informix".cttb00040 to "public" as "informix";
|
|
grant select on "informix".intb00028 to "public" as "informix";
|
|
grant update on "informix".intb00028 to "public" as "informix";
|
|
grant insert on "informix".intb00028 to "public" as "informix";
|
|
grant delete on "informix".intb00028 to "public" as "informix";
|
|
grant index on "informix".intb00028 to "public" as "informix";
|
|
grant all on "informix".notb00010 to "public" as "informix";
|
|
grant select on "informix".notb00008 to "usccg01" as "informix";
|
|
grant select on "informix".notb00008 to "uscco01" as "informix";
|
|
grant all on "informix".notb00008 to "usecp01" as "informix";
|
|
grant all on "informix".notb00008 to "usgpe01" as "informix";
|
|
grant all on "informix".notb00008 to "usspe01" as "informix";
|
|
grant select on "informix".notb00088 to "public" as "informix";
|
|
grant update on "informix".notb00088 to "public" as "informix";
|
|
grant insert on "informix".notb00088 to "public" as "informix";
|
|
grant delete on "informix".notb00088 to "public" as "informix";
|
|
grant index on "informix".notb00088 to "public" as "informix";
|
|
grant select on "informix".iptb04 to "public" as "informix";
|
|
grant update on "informix".iptb04 to "public" as "informix";
|
|
grant insert on "informix".iptb04 to "public" as "informix";
|
|
grant delete on "informix".iptb04 to "public" as "informix";
|
|
grant index on "informix".iptb04 to "public" as "informix";
|
|
grant select on "informix".iptb00006 to "public" as "informix";
|
|
grant update on "informix".iptb00006 to "public" as "informix";
|
|
grant insert on "informix".iptb00006 to "public" as "informix";
|
|
grant delete on "informix".iptb00006 to "public" as "informix";
|
|
grant index on "informix".iptb00006 to "public" as "informix";
|
|
grant select on "informix".cotb00021 to "public" as "informix";
|
|
grant update on "informix".cotb00021 to "public" as "informix";
|
|
grant insert on "informix".cotb00021 to "public" as "informix";
|
|
grant delete on "informix".cotb00021 to "public" as "informix";
|
|
grant index on "informix".cotb00021 to "public" as "informix";
|
|
grant select on "informix".cotb00023 to "public" as "informix";
|
|
grant update on "informix".cotb00023 to "public" as "informix";
|
|
grant insert on "informix".cotb00023 to "public" as "informix";
|
|
grant delete on "informix".cotb00023 to "public" as "informix";
|
|
grant index on "informix".cotb00023 to "public" as "informix";
|
|
grant select on "informix".actb00001 to "public" as "informix";
|
|
grant update on "informix".actb00001 to "public" as "informix";
|
|
grant insert on "informix".actb00001 to "public" as "informix";
|
|
grant delete on "informix".actb00001 to "public" as "informix";
|
|
grant index on "informix".actb00001 to "public" as "informix";
|
|
grant all on "informix".cgtb00004 to "public" as "informix";
|
|
grant all on "informix".vetb00001 to "public" as "informix";
|
|
grant select on "informix".cotb00036 to "public" as "informix";
|
|
grant update on "informix".cotb00036 to "public" as "informix";
|
|
grant insert on "informix".cotb00036 to "public" as "informix";
|
|
grant delete on "informix".cotb00036 to "public" as "informix";
|
|
grant index on "informix".cotb00036 to "public" as "informix";
|
|
grant select on "informix".cotb00037 to "public" as "informix";
|
|
grant update on "informix".cotb00037 to "public" as "informix";
|
|
grant insert on "informix".cotb00037 to "public" as "informix";
|
|
grant delete on "informix".cotb00037 to "public" as "informix";
|
|
grant index on "informix".cotb00037 to "public" as "informix";
|
|
grant select on "informix".cotb00039 to "public" as "informix";
|
|
grant update on "informix".cotb00039 to "public" as "informix";
|
|
grant insert on "informix".cotb00039 to "public" as "informix";
|
|
grant delete on "informix".cotb00039 to "public" as "informix";
|
|
grant index on "informix".cotb00039 to "public" as "informix";
|
|
grant select on "informix".cotb00040 to "public" as "informix";
|
|
grant update on "informix".cotb00040 to "public" as "informix";
|
|
grant insert on "informix".cotb00040 to "public" as "informix";
|
|
grant delete on "informix".cotb00040 to "public" as "informix";
|
|
grant index on "informix".cotb00040 to "public" as "informix";
|
|
grant select on "informix".cotb00041 to "public" as "informix";
|
|
grant update on "informix".cotb00041 to "public" as "informix";
|
|
grant insert on "informix".cotb00041 to "public" as "informix";
|
|
grant delete on "informix".cotb00041 to "public" as "informix";
|
|
grant index on "informix".cotb00041 to "public" as "informix";
|
|
grant all on "informix".notb00003 to "public" as "informix";
|
|
grant all on "informix".cotb00006 to "public" as "informix";
|
|
grant all on "informix".cotb00014 to "public" as "informix";
|
|
grant all on "informix".notb00006 to "public" as "informix";
|
|
grant all on "informix".actb00005 to "public" as "informix";
|
|
grant select on "informix".vetb00041 to "public" as "informix";
|
|
grant update on "informix".vetb00041 to "public" as "informix";
|
|
grant insert on "informix".vetb00041 to "public" as "informix";
|
|
grant delete on "informix".vetb00041 to "public" as "informix";
|
|
grant index on "informix".vetb00041 to "public" as "informix";
|
|
grant select on "informix".cgtb00022 to "public" as "informix";
|
|
grant update on "informix".cgtb00022 to "public" as "informix";
|
|
grant insert on "informix".cgtb00022 to "public" as "informix";
|
|
grant delete on "informix".cgtb00022 to "public" as "informix";
|
|
grant index on "informix".cgtb00022 to "public" as "informix";
|
|
grant select on "informix".cctb00007 to "public" as "informix";
|
|
grant update on "informix".cctb00007 to "public" as "informix";
|
|
grant insert on "informix".cctb00007 to "public" as "informix";
|
|
grant delete on "informix".cctb00007 to "public" as "informix";
|
|
grant index on "informix".cctb00007 to "public" as "informix";
|
|
grant select on "informix".irtb0013 to "public" as "informix";
|
|
grant update on "informix".irtb0013 to "public" as "informix";
|
|
grant insert on "informix".irtb0013 to "public" as "informix";
|
|
grant delete on "informix".irtb0013 to "public" as "informix";
|
|
grant index on "informix".irtb0013 to "public" as "informix";
|
|
grant select on "usccx01".tempo21 to "public" as "usccx01";
|
|
grant update on "usccx01".tempo21 to "public" as "usccx01";
|
|
grant insert on "usccx01".tempo21 to "public" as "usccx01";
|
|
grant delete on "usccx01".tempo21 to "public" as "usccx01";
|
|
grant index on "usccx01".tempo21 to "public" as "usccx01";
|
|
grant all on "informix".irtb01133 to "public" as "informix";
|
|
grant select on "informix".tempo to "public" as "informix";
|
|
grant update on "informix".tempo to "public" as "informix";
|
|
grant insert on "informix".tempo to "public" as "informix";
|
|
grant delete on "informix".tempo to "public" as "informix";
|
|
grant index on "informix".tempo to "public" as "informix";
|
|
grant select on "informix".temporal to "public" as "informix";
|
|
grant update on "informix".temporal to "public" as "informix";
|
|
grant insert on "informix".temporal to "public" as "informix";
|
|
grant delete on "informix".temporal to "public" as "informix";
|
|
grant index on "informix".temporal to "public" as "informix";
|
|
grant select on "informix".irtb00027 to "public" as "informix";
|
|
grant update on "informix".irtb00027 to "public" as "informix";
|
|
grant insert on "informix".irtb00027 to "public" as "informix";
|
|
grant delete on "informix".irtb00027 to "public" as "informix";
|
|
grant index on "informix".irtb00027 to "public" as "informix";
|
|
grant select on "informix".systableext to "public" as "informix";
|
|
grant select on "informix".syscolumnext to "public" as "informix";
|
|
grant select on "informix".syscolformats to "public" as "informix";
|
|
grant select on "informix".syscolinput to "public" as "informix";
|
|
grant select on "informix".syscolinclude to "public" as "informix";
|
|
grant select on "informix".syssuperviews to "public" as "informix";
|
|
grant select on "informix".syssvwtables to "public" as "informix";
|
|
grant select on "informix".syssvwjoins to "public" as "informix";
|
|
grant select on "informix".syssvwaliases to "public" as "informix";
|
|
grant select on "informix".syssvworder to "public" as "informix";
|
|
grant select on "informix".syssvwauth to "public" as "informix";
|
|
grant select on "informix".syssvwformats to "public" as "informix";
|
|
grant select on "informix".syssvwinput to "public" as "informix";
|
|
grant select on "informix".syssvwinclude to "public" as "informix";
|
|
grant select on "informix".sysulist to "public" as "informix";
|
|
grant all on "informix".irtb00028 to "public" as "informix";
|
|
grant select on "informix".cptb00011 to "public" as "informix";
|
|
grant update on "informix".cptb00011 to "public" as "informix";
|
|
grant insert on "informix".cptb00011 to "public" as "informix";
|
|
grant delete on "informix".cptb00011 to "public" as "informix";
|
|
grant index on "informix".cptb00011 to "public" as "informix";
|
|
grant select on "informix".vetb00042 to "public" as "informix";
|
|
grant update on "informix".vetb00042 to "public" as "informix";
|
|
grant insert on "informix".vetb00042 to "public" as "informix";
|
|
grant delete on "informix".vetb00042 to "public" as "informix";
|
|
grant index on "informix".vetb00042 to "public" as "informix";
|
|
grant select on "informix".pgtb00013 to "public" as "informix";
|
|
grant update on "informix".pgtb00013 to "public" as "informix";
|
|
grant insert on "informix".pgtb00013 to "public" as "informix";
|
|
grant delete on "informix".pgtb00013 to "public" as "informix";
|
|
grant index on "informix".pgtb00013 to "public" as "informix";
|
|
grant all on "informix".notb00016 to "public" as "informix";
|
|
grant select on "informix".cotb00038 to "public" as "informix";
|
|
grant update on "informix".cotb00038 to "public" as "informix";
|
|
grant insert on "informix".cotb00038 to "public" as "informix";
|
|
grant delete on "informix".cotb00038 to "public" as "informix";
|
|
grant index on "informix".cotb00038 to "public" as "informix";
|
|
grant select on "informix".intbjulio to "public" as "informix";
|
|
grant update on "informix".intbjulio to "public" as "informix";
|
|
grant insert on "informix".intbjulio to "public" as "informix";
|
|
grant delete on "informix".intbjulio to "public" as "informix";
|
|
grant index on "informix".intbjulio to "public" as "informix";
|
|
grant select on "informix".intbnov to "public" as "informix";
|
|
grant update on "informix".intbnov to "public" as "informix";
|
|
grant insert on "informix".intbnov to "public" as "informix";
|
|
grant delete on "informix".intbnov to "public" as "informix";
|
|
grant index on "informix".intbnov to "public" as "informix";
|
|
grant select on "informix".vetb00043 to "public" as "informix";
|
|
grant update on "informix".vetb00043 to "public" as "informix";
|
|
grant insert on "informix".vetb00043 to "public" as "informix";
|
|
grant delete on "informix".vetb00043 to "public" as "informix";
|
|
grant index on "informix".vetb00043 to "public" as "informix";
|
|
grant select on "informix".cotb00050 to "public" as "informix";
|
|
grant update on "informix".cotb00050 to "public" as "informix";
|
|
grant insert on "informix".cotb00050 to "public" as "informix";
|
|
grant delete on "informix".cotb00050 to "public" as "informix";
|
|
grant index on "informix".cotb00050 to "public" as "informix";
|
|
grant all on "informix".intb00010 to "public" as "informix";
|
|
grant select on "informix".vetb00004 to "public" as "informix";
|
|
grant all on "informix".vetb00004 to "usainf01" as "informix";
|
|
grant all on "informix".vetb00004 to "usainf02" as "informix";
|
|
grant update on "informix".vetb00004 to "usame01" as "informix";
|
|
grant select on "informix".vetb00004 to "usave01" as "informix";
|
|
grant select on "informix".vetb00004 to "usccc01" as "informix";
|
|
grant select on "informix".vetb00004 to "usccg01" as "informix";
|
|
grant select(tipo_cliente) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant update(tipo_cliente) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant select(sec_cliente) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant update(sec_cliente) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant select(nombre) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant update(nombre) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant select(cod_zona) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant update(cod_zona) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant select(cod_provincia) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant update(cod_provincia) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant select(telefono) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant update(telefono) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant select(fax) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant update(fax) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant select(telex) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant update(telex) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant select(patente) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant update(patente) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant select(limite_credito) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant select(zona_postal) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant update(zona_postal) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant select(num_rnc) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant update(num_rnc) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant select(nombre_patente) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant update(nombre_patente) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant select(status_t) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant update(status_t) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant select(us_crea) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant update(us_crea) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant select(fech_crea) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant update(fech_crea) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant select(us_mod) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant update(us_mod) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant select(fech_mod) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant update(fech_mod) on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant insert on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant alter on "informix".vetb00004 to "usccx01" as "informix";
|
|
grant all on "informix".vetb00004 to "useal01" as "informix";
|
|
grant all on "informix".vetb00004 to "usgfi01" as "informix";
|
|
grant all on "informix".vetb00004 to "usgma01" as "informix";
|
|
grant select on "informix".vetb00004 to "usgve01" as "informix";
|
|
grant select on "informix".vetb00004 to "ussfi01" as "informix";
|
|
grant update on "informix".vetb00004 to "ussfi01" as "informix";
|
|
grant select(tipo_cliente) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant update(tipo_cliente) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant select(sec_cliente) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant update(sec_cliente) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant select(nombre) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant update(nombre) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant select(cod_zona) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant update(cod_zona) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant select(cod_provincia) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant update(cod_provincia) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant select(telefono) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant update(telefono) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant select(fax) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant update(fax) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant select(telex) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant update(telex) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant select(patente) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant update(patente) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant select(limite_credito) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant select(zona_postal) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant update(zona_postal) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant select(num_rnc) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant update(num_rnc) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant select(nombre_patente) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant update(nombre_patente) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant select(status_t) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant update(status_t) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant select(us_crea) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant update(us_crea) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant select(fech_crea) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant update(fech_crea) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant select(us_mod) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant update(us_mod) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant select(fech_mod) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant update(fech_mod) on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant insert on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant delete on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant index on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant alter on "informix".vetb00004 to "ussve01" as "informix";
|
|
grant all on "informix".vetb00004 to "ustes01" as "informix";
|
|
grant all on "informix".vetb00004 to "usven01" as "informix";
|
|
grant select on "informix".vetb00004 to "usven02" as "informix";
|
|
grant select on "informix".vetb00004 to "usven03" as "informix";
|
|
grant select on "informix".vetb00004 to "usven04" as "informix";
|
|
grant select on "informix".vetb00004 to "usven05" as "informix";
|
|
grant select on "informix".vetb00004 to "usven06" as "informix";
|
|
grant select on "informix".vetb00004 to "usven07" as "informix";
|
|
grant select on "informix".vetb00004 to "usven08" as "informix";
|
|
grant select on "informix".vetb00111 to "public" as "informix";
|
|
grant update on "informix".vetb00111 to "public" as "informix";
|
|
grant insert on "informix".vetb00111 to "public" as "informix";
|
|
grant delete on "informix".vetb00111 to "public" as "informix";
|
|
grant index on "informix".vetb00111 to "public" as "informix";
|
|
grant select on "informix".tetb00008 to "public" as "informix";
|
|
grant update on "informix".tetb00008 to "public" as "informix";
|
|
grant insert on "informix".tetb00008 to "public" as "informix";
|
|
grant delete on "informix".tetb00008 to "public" as "informix";
|
|
grant index on "informix".tetb00008 to "public" as "informix";
|
|
grant select on "informix".cotb00042 to "public" as "informix";
|
|
grant update on "informix".cotb00042 to "public" as "informix";
|
|
grant insert on "informix".cotb00042 to "public" as "informix";
|
|
grant delete on "informix".cotb00042 to "public" as "informix";
|
|
grant index on "informix".cotb00042 to "public" as "informix";
|
|
grant select on "informix".vetb00044 to "public" as "informix";
|
|
grant update on "informix".vetb00044 to "public" as "informix";
|
|
grant insert on "informix".vetb00044 to "public" as "informix";
|
|
grant delete on "informix".vetb00044 to "public" as "informix";
|
|
grant index on "informix".vetb00044 to "public" as "informix";
|
|
grant select on "informix".vetb00045 to "public" as "informix";
|
|
grant update on "informix".vetb00045 to "public" as "informix";
|
|
grant insert on "informix".vetb00045 to "public" as "informix";
|
|
grant delete on "informix".vetb00045 to "public" as "informix";
|
|
grant index on "informix".vetb00045 to "public" as "informix";
|
|
grant select on "informix".cctb00009 to "public" as "informix";
|
|
grant update on "informix".cctb00009 to "public" as "informix";
|
|
grant insert on "informix".cctb00009 to "public" as "informix";
|
|
grant delete on "informix".cctb00009 to "public" as "informix";
|
|
grant index on "informix".cctb00009 to "public" as "informix";
|
|
grant select on "informix".cctb00008 to "public" as "informix";
|
|
grant update on "informix".cctb00008 to "public" as "informix";
|
|
grant insert on "informix".cctb00008 to "public" as "informix";
|
|
grant delete on "informix".cctb00008 to "public" as "informix";
|
|
grant index on "informix".cctb00008 to "public" as "informix";
|
|
grant select on "informix".tetb00009 to "public" as "informix";
|
|
grant update on "informix".tetb00009 to "public" as "informix";
|
|
grant insert on "informix".tetb00009 to "public" as "informix";
|
|
grant delete on "informix".tetb00009 to "public" as "informix";
|
|
grant index on "informix".tetb00009 to "public" as "informix";
|
|
grant select on "informix".cliente to "public" as "informix";
|
|
grant update on "informix".cliente to "public" as "informix";
|
|
grant insert on "informix".cliente to "public" as "informix";
|
|
grant delete on "informix".cliente to "public" as "informix";
|
|
grant index on "informix".cliente to "public" as "informix";
|
|
grant select on "informix".cctb00010 to "public" as "informix";
|
|
grant update on "informix".cctb00010 to "public" as "informix";
|
|
grant insert on "informix".cctb00010 to "public" as "informix";
|
|
grant delete on "informix".cctb00010 to "public" as "informix";
|
|
grant index on "informix".cctb00010 to "public" as "informix";
|
|
grant all on "informix".irtb00009 to "public" as "informix";
|
|
grant select on "informix".irtb00012 to "public" as "informix";
|
|
grant update on "informix".irtb00012 to "public" as "informix";
|
|
grant insert on "informix".irtb00012 to "public" as "informix";
|
|
grant delete on "informix".irtb00012 to "public" as "informix";
|
|
grant index on "informix".irtb00012 to "public" as "informix";
|
|
grant select on "informix".irtb00030 to "public" as "informix";
|
|
grant update on "informix".irtb00030 to "public" as "informix";
|
|
grant insert on "informix".irtb00030 to "public" as "informix";
|
|
grant delete on "informix".irtb00030 to "public" as "informix";
|
|
grant index on "informix".irtb00030 to "public" as "informix";
|
|
grant select on "informix".cgtb00040 to "public" as "informix";
|
|
grant update on "informix".cgtb00040 to "public" as "informix";
|
|
grant insert on "informix".cgtb00040 to "public" as "informix";
|
|
grant delete on "informix".cgtb00040 to "public" as "informix";
|
|
grant index on "informix".cgtb00040 to "public" as "informix";
|
|
grant all on "informix".intb00020 to "public" as "informix";
|
|
grant all on "informix".intb00016 to "public" as "informix";
|
|
grant select on "informix".notb00033 to "public" as "informix";
|
|
grant update on "informix".notb00033 to "public" as "informix";
|
|
grant insert on "informix".notb00033 to "public" as "informix";
|
|
grant delete on "informix".notb00033 to "public" as "informix";
|
|
grant index on "informix".notb00033 to "public" as "informix";
|
|
grant select on "informix".adtb00038 to "public" as "informix";
|
|
grant update on "informix".adtb00038 to "public" as "informix";
|
|
grant insert on "informix".adtb00038 to "public" as "informix";
|
|
grant delete on "informix".adtb00038 to "public" as "informix";
|
|
grant index on "informix".adtb00038 to "public" as "informix";
|
|
grant select on "informix".cttb036 to "public" as "informix";
|
|
grant update on "informix".cttb036 to "public" as "informix";
|
|
grant insert on "informix".cttb036 to "public" as "informix";
|
|
grant delete on "informix".cttb036 to "public" as "informix";
|
|
grant index on "informix".cttb036 to "public" as "informix";
|
|
grant select on "informix".cotb00051 to "public" as "informix";
|
|
grant update on "informix".cotb00051 to "public" as "informix";
|
|
grant insert on "informix".cotb00051 to "public" as "informix";
|
|
grant delete on "informix".cotb00051 to "public" as "informix";
|
|
grant index on "informix".cotb00051 to "public" as "informix";
|
|
grant all on "informix".sttb002 to "public" as "informix";
|
|
grant select on "informix".cotb00055 to "public" as "informix";
|
|
grant update on "informix".cotb00055 to "public" as "informix";
|
|
grant insert on "informix".cotb00055 to "public" as "informix";
|
|
grant delete on "informix".cotb00055 to "public" as "informix";
|
|
grant index on "informix".cotb00055 to "public" as "informix";
|
|
grant select on "informix".sttb1 to "public" as "informix";
|
|
grant update on "informix".sttb1 to "public" as "informix";
|
|
grant insert on "informix".sttb1 to "public" as "informix";
|
|
grant delete on "informix".sttb1 to "public" as "informix";
|
|
grant index on "informix".sttb1 to "public" as "informix";
|
|
grant all on "informix".prttb00001 to "public" as "informix";
|
|
grant all on "informix".prttb00002 to "public" as "informix";
|
|
grant all on "informix".intb00006 to "public" as "informix";
|
|
grant all on "informix".cttb00003 to "public" as "informix";
|
|
grant all on "informix".tetb00006 to "public" as "informix";
|
|
grant select on "informix".cotb00058 to "public" as "informix";
|
|
grant update on "informix".cotb00058 to "public" as "informix";
|
|
grant insert on "informix".cotb00058 to "public" as "informix";
|
|
grant delete on "informix".cotb00058 to "public" as "informix";
|
|
grant index on "informix".cotb00058 to "public" as "informix";
|
|
grant select on "informix".cotb00053 to "public" as "informix";
|
|
grant update on "informix".cotb00053 to "public" as "informix";
|
|
grant insert on "informix".cotb00053 to "public" as "informix";
|
|
grant delete on "informix".cotb00053 to "public" as "informix";
|
|
grant index on "informix".cotb00053 to "public" as "informix";
|
|
grant select on "informix".cotb00054 to "public" as "informix";
|
|
grant update on "informix".cotb00054 to "public" as "informix";
|
|
grant insert on "informix".cotb00054 to "public" as "informix";
|
|
grant delete on "informix".cotb00054 to "public" as "informix";
|
|
grant index on "informix".cotb00054 to "public" as "informix";
|
|
grant select on "usainf01".ordenes to "public" as "usainf01";
|
|
grant update on "usainf01".ordenes to "public" as "usainf01";
|
|
grant insert on "usainf01".ordenes to "public" as "usainf01";
|
|
grant delete on "usainf01".ordenes to "public" as "usainf01";
|
|
grant index on "usainf01".ordenes to "public" as "usainf01";
|
|
grant all on "usainf02".cotb00057 to "public" as "usainf02";
|
|
grant all on "usainf02".cotb00056 to "public" as "usainf02";
|
|
grant all on "usainf02".cotb00059 to "public" as "usainf02";
|
|
grant select on "informix".actb0001 to "public" as "informix";
|
|
grant update on "informix".actb0001 to "public" as "informix";
|
|
grant insert on "informix".actb0001 to "public" as "informix";
|
|
grant delete on "informix".actb0001 to "public" as "informix";
|
|
grant index on "informix".actb0001 to "public" as "informix";
|
|
grant select on "usainf01".idiomas to "public" as "usainf01";
|
|
grant update on "usainf01".idiomas to "public" as "usainf01";
|
|
grant insert on "usainf01".idiomas to "public" as "usainf01";
|
|
grant delete on "usainf01".idiomas to "public" as "usainf01";
|
|
grant index on "usainf01".idiomas to "public" as "usainf01";
|
|
grant select on "usainf01".ccrp06 to "public" as "usainf01";
|
|
grant update on "usainf01".ccrp06 to "public" as "usainf01";
|
|
grant insert on "usainf01".ccrp06 to "public" as "usainf01";
|
|
grant delete on "usainf01".ccrp06 to "public" as "usainf01";
|
|
grant index on "usainf01".ccrp06 to "public" as "usainf01";
|
|
grant select on "usainf01".ccrp15 to "public" as "usainf01";
|
|
grant update on "usainf01".ccrp15 to "public" as "usainf01";
|
|
grant insert on "usainf01".ccrp15 to "public" as "usainf01";
|
|
grant delete on "usainf01".ccrp15 to "public" as "usainf01";
|
|
grant index on "usainf01".ccrp15 to "public" as "usainf01";
|
|
grant all on "usainf02".vetb00046 to "public" as "usainf02";
|
|
grant select on "informix".cgtb04 to "public" as "informix";
|
|
grant update on "informix".cgtb04 to "public" as "informix";
|
|
grant insert on "informix".cgtb04 to "public" as "informix";
|
|
grant delete on "informix".cgtb04 to "public" as "informix";
|
|
grant index on "informix".cgtb04 to "public" as "informix";
|
|
grant select on "usainf02".cotb00060 to "public" as "usainf02";
|
|
grant update on "usainf02".cotb00060 to "public" as "usainf02";
|
|
grant insert on "usainf02".cotb00060 to "public" as "usainf02";
|
|
grant delete on "usainf02".cotb00060 to "public" as "usainf02";
|
|
grant index on "usainf02".cotb00060 to "public" as "usainf02";
|
|
grant all on "usainf02".iptb00019 to "public" as "usainf02";
|
|
grant select on "usainf01".iptb00001 to "public" as "usainf01";
|
|
grant update on "usainf01".iptb00001 to "public" as "usainf01";
|
|
grant insert on "usainf01".iptb00001 to "public" as "usainf01";
|
|
grant delete on "usainf01".iptb00001 to "public" as "usainf01";
|
|
grant index on "usainf01".iptb00001 to "public" as "usainf01";
|
|
grant all on "informix".iptb00002 to "public" as "informix";
|
|
grant select on "usainf02".cgtb00056 to "public" as "usainf02";
|
|
grant update on "usainf02".cgtb00056 to "public" as "usainf02";
|
|
grant insert on "usainf02".cgtb00056 to "public" as "usainf02";
|
|
grant delete on "usainf02".cgtb00056 to "public" as "usainf02";
|
|
grant index on "usainf02".cgtb00056 to "public" as "usainf02";
|
|
grant select on "informix".cotb00061 to "public" as "informix";
|
|
grant update on "informix".cotb00061 to "public" as "informix";
|
|
grant insert on "informix".cotb00061 to "public" as "informix";
|
|
grant delete on "informix".cotb00061 to "public" as "informix";
|
|
grant index on "informix".cotb00061 to "public" as "informix";
|
|
grant select on "informix".cptb01 to "public" as "informix";
|
|
grant update on "informix".cptb01 to "public" as "informix";
|
|
grant insert on "informix".cptb01 to "public" as "informix";
|
|
grant delete on "informix".cptb01 to "public" as "informix";
|
|
grant index on "informix".cptb01 to "public" as "informix";
|
|
grant all on "informix".cptb00001 to "public" as "informix";
|
|
grant select on "informix".notb08 to "public" as "informix";
|
|
grant update on "informix".notb08 to "public" as "informix";
|
|
grant insert on "informix".notb08 to "public" as "informix";
|
|
grant delete on "informix".notb08 to "public" as "informix";
|
|
grant index on "informix".notb08 to "public" as "informix";
|
|
grant select on "informix".iptb06 to "public" as "informix";
|
|
grant update on "informix".iptb06 to "public" as "informix";
|
|
grant insert on "informix".iptb06 to "public" as "informix";
|
|
grant delete on "informix".iptb06 to "public" as "informix";
|
|
grant index on "informix".iptb06 to "public" as "informix";
|
|
grant select on "usainf01".compania to "public" as "usainf01";
|
|
grant update on "usainf01".compania to "public" as "usainf01";
|
|
grant insert on "usainf01".compania to "public" as "usainf01";
|
|
grant delete on "usainf01".compania to "public" as "usainf01";
|
|
grant index on "usainf01".compania to "public" as "usainf01";
|
|
grant select on "usainf01".iptb00020 to "public" as "usainf01";
|
|
grant update on "usainf01".iptb00020 to "public" as "usainf01";
|
|
grant insert on "usainf01".iptb00020 to "public" as "usainf01";
|
|
grant delete on "usainf01".iptb00020 to "public" as "usainf01";
|
|
grant index on "usainf01".iptb00020 to "public" as "usainf01";
|
|
grant select on "usainf02".cctb00011 to "public" as "usainf02";
|
|
grant update on "usainf02".cctb00011 to "public" as "usainf02";
|
|
grant insert on "usainf02".cctb00011 to "public" as "usainf02";
|
|
grant delete on "usainf02".cctb00011 to "public" as "usainf02";
|
|
grant index on "usainf02".cctb00011 to "public" as "usainf02";
|
|
grant select on "informix".iptb02 to "public" as "informix";
|
|
grant update on "informix".iptb02 to "public" as "informix";
|
|
grant insert on "informix".iptb02 to "public" as "informix";
|
|
grant delete on "informix".iptb02 to "public" as "informix";
|
|
grant index on "informix".iptb02 to "public" as "informix";
|
|
grant select on "usainf01".adtb00039 to "public" as "usainf01";
|
|
grant update on "usainf01".adtb00039 to "public" as "usainf01";
|
|
grant insert on "usainf01".adtb00039 to "public" as "usainf01";
|
|
grant delete on "usainf01".adtb00039 to "public" as "usainf01";
|
|
grant index on "usainf01".adtb00039 to "public" as "usainf01";
|
|
grant select on "informix".notb07 to "public" as "informix";
|
|
grant update on "informix".notb07 to "public" as "informix";
|
|
grant insert on "informix".notb07 to "public" as "informix";
|
|
grant delete on "informix".notb07 to "public" as "informix";
|
|
grant index on "informix".notb07 to "public" as "informix";
|
|
grant select on "usainf01".notb00004 to "public" as "usainf01";
|
|
grant update on "usainf01".notb00004 to "public" as "usainf01";
|
|
grant insert on "usainf01".notb00004 to "public" as "usainf01";
|
|
grant delete on "usainf01".notb00004 to "public" as "usainf01";
|
|
grant index on "usainf01".notb00004 to "public" as "usainf01";
|
|
grant all on "usainf02".irtb00031 to "public" as "usainf02";
|
|
grant all on "informix".iptb00018 to "public" as "informix";
|
|
grant select on "usainf01".produccion to "public" as "usainf01";
|
|
grant update on "usainf01".produccion to "public" as "usainf01";
|
|
grant insert on "usainf01".produccion to "public" as "usainf01";
|
|
grant delete on "usainf01".produccion to "public" as "usainf01";
|
|
grant index on "usainf01".produccion to "public" as "usainf01";
|
|
grant select on "informix".cotb00062 to "public" as "informix";
|
|
grant update on "informix".cotb00062 to "public" as "informix";
|
|
grant insert on "informix".cotb00062 to "public" as "informix";
|
|
grant delete on "informix".cotb00062 to "public" as "informix";
|
|
grant index on "informix".cotb00062 to "public" as "informix";
|
|
grant select on "usainf02".cotb00063 to "public" as "usainf02";
|
|
grant update on "usainf02".cotb00063 to "public" as "usainf02";
|
|
grant insert on "usainf02".cotb00063 to "public" as "usainf02";
|
|
grant delete on "usainf02".cotb00063 to "public" as "usainf02";
|
|
grant index on "usainf02".cotb00063 to "public" as "usainf02";
|
|
grant select on "informix".codigos to "public" as "informix";
|
|
grant update on "informix".codigos to "public" as "informix";
|
|
grant insert on "informix".codigos to "public" as "informix";
|
|
grant delete on "informix".codigos to "public" as "informix";
|
|
grant index on "informix".codigos to "public" as "informix";
|
|
grant select on "informix".cotb00052 to "public" as "informix";
|
|
grant update on "informix".cotb00052 to "public" as "informix";
|
|
grant insert on "informix".cotb00052 to "public" as "informix";
|
|
grant delete on "informix".cotb00052 to "public" as "informix";
|
|
grant index on "informix".cotb00052 to "public" as "informix";
|
|
grant select on "informix".cotb00064 to "public" as "informix";
|
|
grant update on "informix".cotb00064 to "public" as "informix";
|
|
grant insert on "informix".cotb00064 to "public" as "informix";
|
|
grant delete on "informix".cotb00064 to "public" as "informix";
|
|
grant index on "informix".cotb00064 to "public" as "informix";
|
|
grant select on "usainf02".produccion11 to "public" as "usainf02";
|
|
grant update on "usainf02".produccion11 to "public" as "usainf02";
|
|
grant insert on "usainf02".produccion11 to "public" as "usainf02";
|
|
grant delete on "usainf02".produccion11 to "public" as "usainf02";
|
|
grant index on "usainf02".produccion11 to "public" as "usainf02";
|
|
grant select on "informix".intb00029 to "public" as "informix";
|
|
grant update on "informix".intb00029 to "public" as "informix";
|
|
grant insert on "informix".intb00029 to "public" as "informix";
|
|
grant delete on "informix".intb00029 to "public" as "informix";
|
|
grant index on "informix".intb00029 to "public" as "informix";
|
|
grant select on "informix".iptb00021 to "public" as "informix";
|
|
grant update on "informix".iptb00021 to "public" as "informix";
|
|
grant insert on "informix".iptb00021 to "public" as "informix";
|
|
grant delete on "informix".iptb00021 to "public" as "informix";
|
|
grant index on "informix".iptb00021 to "public" as "informix";
|
|
grant select on "usainf02".cotb00065 to "public" as "usainf02";
|
|
grant update on "usainf02".cotb00065 to "public" as "usainf02";
|
|
grant insert on "usainf02".cotb00065 to "public" as "usainf02";
|
|
grant delete on "usainf02".cotb00065 to "public" as "usainf02";
|
|
grant index on "usainf02".cotb00065 to "public" as "usainf02";
|
|
grant select on "usainf01".vetb00047 to "public" as "usainf01";
|
|
grant update on "usainf01".vetb00047 to "public" as "usainf01";
|
|
grant insert on "usainf01".vetb00047 to "public" as "usainf01";
|
|
grant delete on "usainf01".vetb00047 to "public" as "usainf01";
|
|
grant index on "usainf01".vetb00047 to "public" as "usainf01";
|
|
grant select on "informix".cotb014 to "public" as "informix";
|
|
grant update on "informix".cotb014 to "public" as "informix";
|
|
grant insert on "informix".cotb014 to "public" as "informix";
|
|
grant delete on "informix".cotb014 to "public" as "informix";
|
|
grant index on "informix".cotb014 to "public" as "informix";
|
|
grant select on "informix".cotb015 to "public" as "informix";
|
|
grant update on "informix".cotb015 to "public" as "informix";
|
|
grant insert on "informix".cotb015 to "public" as "informix";
|
|
grant delete on "informix".cotb015 to "public" as "informix";
|
|
grant index on "informix".cotb015 to "public" as "informix";
|
|
grant select on "usainf01".cotb00070 to "public" as "usainf01";
|
|
grant update on "usainf01".cotb00070 to "public" as "usainf01";
|
|
grant insert on "usainf01".cotb00070 to "public" as "usainf01";
|
|
grant delete on "usainf01".cotb00070 to "public" as "usainf01";
|
|
grant index on "usainf01".cotb00070 to "public" as "usainf01";
|
|
grant select on "usainf01".cotb00071 to "public" as "usainf01";
|
|
grant update on "usainf01".cotb00071 to "public" as "usainf01";
|
|
grant insert on "usainf01".cotb00071 to "public" as "usainf01";
|
|
grant delete on "usainf01".cotb00071 to "public" as "usainf01";
|
|
grant index on "usainf01".cotb00071 to "public" as "usainf01";
|
|
grant select on "usainf02".cotb00066 to "public" as "usainf02";
|
|
grant update on "usainf02".cotb00066 to "public" as "usainf02";
|
|
grant insert on "usainf02".cotb00066 to "public" as "usainf02";
|
|
grant delete on "usainf02".cotb00066 to "public" as "usainf02";
|
|
grant index on "usainf02".cotb00066 to "public" as "usainf02";
|
|
grant all on "informix".cotb00015 to "public" as "informix";
|
|
grant select on "usainf02".intb00018 to "public" as "usainf02";
|
|
grant update on "usainf02".intb00018 to "public" as "usainf02";
|
|
grant insert on "usainf02".intb00018 to "public" as "usainf02";
|
|
grant delete on "usainf02".intb00018 to "public" as "usainf02";
|
|
grant index on "usainf02".intb00018 to "public" as "usainf02";
|
|
grant select on "usainf02".intb00030 to "public" as "usainf02";
|
|
grant update on "usainf02".intb00030 to "public" as "usainf02";
|
|
grant insert on "usainf02".intb00030 to "public" as "usainf02";
|
|
grant delete on "usainf02".intb00030 to "public" as "usainf02";
|
|
grant index on "usainf02".intb00030 to "public" as "usainf02";
|
|
grant select on "usainf01".vetb00048 to "public" as "usainf01";
|
|
grant update on "usainf01".vetb00048 to "public" as "usainf01";
|
|
grant insert on "usainf01".vetb00048 to "public" as "usainf01";
|
|
grant delete on "usainf01".vetb00048 to "public" as "usainf01";
|
|
grant index on "usainf01".vetb00048 to "public" as "usainf01";
|
|
grant select on "usainf02".cotb00067 to "public" as "usainf02";
|
|
grant update on "usainf02".cotb00067 to "public" as "usainf02";
|
|
grant insert on "usainf02".cotb00067 to "public" as "usainf02";
|
|
grant delete on "usainf02".cotb00067 to "public" as "usainf02";
|
|
grant index on "usainf02".cotb00067 to "public" as "usainf02";
|
|
grant all on "informix".cotb00008 to "public" as "informix";
|
|
grant select on "usainf01".cotb00069 to "public" as "usainf01";
|
|
grant update on "usainf01".cotb00069 to "public" as "usainf01";
|
|
grant insert on "usainf01".cotb00069 to "public" as "usainf01";
|
|
grant delete on "usainf01".cotb00069 to "public" as "usainf01";
|
|
grant index on "usainf01".cotb00069 to "public" as "usainf01";
|
|
grant select on "usainf01".cotb00068 to "public" as "usainf01";
|
|
grant update on "usainf01".cotb00068 to "public" as "usainf01";
|
|
grant insert on "usainf01".cotb00068 to "public" as "usainf01";
|
|
grant delete on "usainf01".cotb00068 to "public" as "usainf01";
|
|
grant index on "usainf01".cotb00068 to "public" as "usainf01";
|
|
grant select on "informix".cgtb004 to "public" as "informix";
|
|
grant update on "informix".cgtb004 to "public" as "informix";
|
|
grant insert on "informix".cgtb004 to "public" as "informix";
|
|
grant delete on "informix".cgtb004 to "public" as "informix";
|
|
grant index on "informix".cgtb004 to "public" as "informix";
|
|
grant select on "usainf02".cctb00012 to "public" as "usainf02";
|
|
grant update on "usainf02".cctb00012 to "public" as "usainf02";
|
|
grant insert on "usainf02".cctb00012 to "public" as "usainf02";
|
|
grant delete on "usainf02".cctb00012 to "public" as "usainf02";
|
|
grant index on "usainf02".cctb00012 to "public" as "usainf02";
|
|
grant select on "usainf02".cctb00013 to "public" as "usainf02";
|
|
grant update on "usainf02".cctb00013 to "public" as "usainf02";
|
|
grant insert on "usainf02".cctb00013 to "public" as "usainf02";
|
|
grant delete on "usainf02".cctb00013 to "public" as "usainf02";
|
|
grant index on "usainf02".cctb00013 to "public" as "usainf02";
|
|
grant select on "informix".cptb001 to "public" as "informix";
|
|
grant update on "informix".cptb001 to "public" as "informix";
|
|
grant insert on "informix".cptb001 to "public" as "informix";
|
|
grant delete on "informix".cptb001 to "public" as "informix";
|
|
grant index on "informix".cptb001 to "public" as "informix";
|
|
grant select on "usainf02".cotb00072 to "public" as "usainf02";
|
|
grant update on "usainf02".cotb00072 to "public" as "usainf02";
|
|
grant insert on "usainf02".cotb00072 to "public" as "usainf02";
|
|
grant delete on "usainf02".cotb00072 to "public" as "usainf02";
|
|
grant index on "usainf02".cotb00072 to "public" as "usainf02";
|
|
grant select on "usainf02".cgtb00041 to "public" as "usainf02";
|
|
grant update on "usainf02".cgtb00041 to "public" as "usainf02";
|
|
grant insert on "usainf02".cgtb00041 to "public" as "usainf02";
|
|
grant delete on "usainf02".cgtb00041 to "public" as "usainf02";
|
|
grant index on "usainf02".cgtb00041 to "public" as "usainf02";
|
|
grant select on "usainf02".cgtb00042 to "public" as "usainf02";
|
|
grant update on "usainf02".cgtb00042 to "public" as "usainf02";
|
|
grant insert on "usainf02".cgtb00042 to "public" as "usainf02";
|
|
grant delete on "usainf02".cgtb00042 to "public" as "usainf02";
|
|
grant index on "usainf02".cgtb00042 to "public" as "usainf02";
|
|
grant select on "usainf02".cgtb00043 to "public" as "usainf02";
|
|
grant update on "usainf02".cgtb00043 to "public" as "usainf02";
|
|
grant insert on "usainf02".cgtb00043 to "public" as "usainf02";
|
|
grant delete on "usainf02".cgtb00043 to "public" as "usainf02";
|
|
grant index on "usainf02".cgtb00043 to "public" as "usainf02";
|
|
grant select on "usainf02".cgtb00044 to "public" as "usainf02";
|
|
grant update on "usainf02".cgtb00044 to "public" as "usainf02";
|
|
grant insert on "usainf02".cgtb00044 to "public" as "usainf02";
|
|
grant delete on "usainf02".cgtb00044 to "public" as "usainf02";
|
|
grant index on "usainf02".cgtb00044 to "public" as "usainf02";
|
|
grant select on "usainf02".cgtb00045 to "public" as "usainf02";
|
|
grant update on "usainf02".cgtb00045 to "public" as "usainf02";
|
|
grant insert on "usainf02".cgtb00045 to "public" as "usainf02";
|
|
grant delete on "usainf02".cgtb00045 to "public" as "usainf02";
|
|
grant index on "usainf02".cgtb00045 to "public" as "usainf02";
|
|
grant select on "usainf02".cgtb00046 to "public" as "usainf02";
|
|
grant update on "usainf02".cgtb00046 to "public" as "usainf02";
|
|
grant insert on "usainf02".cgtb00046 to "public" as "usainf02";
|
|
grant delete on "usainf02".cgtb00046 to "public" as "usainf02";
|
|
grant index on "usainf02".cgtb00046 to "public" as "usainf02";
|
|
grant select on "usainf02".cctb012 to "public" as "usainf02";
|
|
grant update on "usainf02".cctb012 to "public" as "usainf02";
|
|
grant insert on "usainf02".cctb012 to "public" as "usainf02";
|
|
grant delete on "usainf02".cctb012 to "public" as "usainf02";
|
|
grant index on "usainf02".cctb012 to "public" as "usainf02";
|
|
grant select on "informix".vetb02 to "public" as "informix";
|
|
grant update on "informix".vetb02 to "public" as "informix";
|
|
grant insert on "informix".vetb02 to "public" as "informix";
|
|
grant delete on "informix".vetb02 to "public" as "informix";
|
|
grant index on "informix".vetb02 to "public" as "informix";
|
|
grant select on "informix".vetb03 to "public" as "informix";
|
|
grant update on "informix".vetb03 to "public" as "informix";
|
|
grant insert on "informix".vetb03 to "public" as "informix";
|
|
grant delete on "informix".vetb03 to "public" as "informix";
|
|
grant index on "informix".vetb03 to "public" as "informix";
|
|
grant select on "informix".cgtb01 to "public" as "informix";
|
|
grant update on "informix".cgtb01 to "public" as "informix";
|
|
grant insert on "informix".cgtb01 to "public" as "informix";
|
|
grant delete on "informix".cgtb01 to "public" as "informix";
|
|
grant index on "informix".cgtb01 to "public" as "informix";
|
|
grant select on "usainf01".prueba1 to "public" as "usainf01";
|
|
grant update on "usainf01".prueba1 to "public" as "usainf01";
|
|
grant insert on "usainf01".prueba1 to "public" as "usainf01";
|
|
grant delete on "usainf01".prueba1 to "public" as "usainf01";
|
|
grant index on "usainf01".prueba1 to "public" as "usainf01";
|
|
grant select on "usainf01".prueba2 to "public" as "usainf01";
|
|
grant update on "usainf01".prueba2 to "public" as "usainf01";
|
|
grant insert on "usainf01".prueba2 to "public" as "usainf01";
|
|
grant delete on "usainf01".prueba2 to "public" as "usainf01";
|
|
grant index on "usainf01".prueba2 to "public" as "usainf01";
|
|
grant select on "usainf01".prueba3 to "public" as "usainf01";
|
|
grant update on "usainf01".prueba3 to "public" as "usainf01";
|
|
grant insert on "usainf01".prueba3 to "public" as "usainf01";
|
|
grant delete on "usainf01".prueba3 to "public" as "usainf01";
|
|
grant index on "usainf01".prueba3 to "public" as "usainf01";
|
|
grant select on "usainf01".prueba4 to "public" as "usainf01";
|
|
grant update on "usainf01".prueba4 to "public" as "usainf01";
|
|
grant insert on "usainf01".prueba4 to "public" as "usainf01";
|
|
grant delete on "usainf01".prueba4 to "public" as "usainf01";
|
|
grant index on "usainf01".prueba4 to "public" as "usainf01";
|
|
grant select on "usainf01".resultado to "public" as "usainf01";
|
|
grant update on "usainf01".resultado to "public" as "usainf01";
|
|
grant insert on "usainf01".resultado to "public" as "usainf01";
|
|
grant delete on "usainf01".resultado to "public" as "usainf01";
|
|
grant index on "usainf01".resultado to "public" as "usainf01";
|
|
grant select on "usainf01".notb00116 to "public" as "usainf01";
|
|
grant update on "usainf01".notb00116 to "public" as "usainf01";
|
|
grant insert on "usainf01".notb00116 to "public" as "usainf01";
|
|
grant delete on "usainf01".notb00116 to "public" as "usainf01";
|
|
grant index on "usainf01".notb00116 to "public" as "usainf01";
|
|
|
|
|
|
|
|
CREATE PROCEDURE "usainf01".productos(pcod_n SMALLINT,pcod_grupo SMALLINT, pcod_tipo SMALLINT, pcod_sec SMALLINT)
|
|
|
|
RETURNING CHAR(30),CHAR(30);
|
|
|
|
|
|
|
|
DEFINE pdescrip_e, pdescrip_i CHAR(30);
|
|
|
|
|
|
|
|
SELECT a.desrip_esp,a.descrip_ing
|
|
|
|
INTO pdescrip_e,pdescrip_i
|
|
|
|
FROM intb00001 a
|
|
|
|
WHERE a.cod_n = pcod_n AND
|
|
|
|
a.cod_grupo = pcod_grupo AND
|
|
|
|
a.cod_tipo = pcod_tipo AND
|
|
|
|
a.cod_sec = pcod_sec AND
|
|
|
|
a.status_t IS NULL;
|
|
|
|
|
|
|
|
RETURN pdescrip_e,pdescrip_i;
|
|
|
|
END PROCEDURE
|
|
;
|
|
|
|
|
|
|
|
|
|
grant execute on "usainf01".productos to "public" as "usainf01";
|
|
|
|
create view "usccx01".cliente20 (tipo_cliente,sec_cliente,aplica_a,valor) as
|
|
select x0.tipo_cliente ,x0.sec_cliente ,x0.aplica_a ,sum((x0.valor
|
|
+ x0.monto_desc ) ) from "usccx01".tempo21 x0 group by x0.tipo_cliente
|
|
,x0.sec_cliente ,x0.aplica_a having (sum((x0.valor + x0.monto_desc
|
|
) ) != 0. ) ;
|
|
create view "usccx01".trx20 (num_emp,tipo_cliente,sec_cliente,tipo_doc,num_doc,fecha_orig,aplica_a,valor,monto_desc) as
|
|
select x0.num_emp ,x0.tipo_cliente ,x0.sec_cliente ,x0.tipo_doc
|
|
,x0.num_doc ,x0.fecha_orig ,x0.aplica_a ,x0.valor ,x0.monto_desc
|
|
from "usccx01".tempo21 x0 ,"usccx01".cliente20 x1 where (((x1.tipo_cliente
|
|
= x0.tipo_cliente ) AND (x1.sec_cliente = x0.sec_cliente
|
|
) ) AND (x0.aplica_a = x1.aplica_a ) ) ;
|
|
|
|
|
|
|
|
|
|
|