We have tried to link to two tables in an external informix database using a driver that we know works correctly.
The first table retrieves data and its definition is as follows:
create table postal
(
nar_num integer not null ,
mdu_ref char(2) not null ,
mdu_acc char(21) not null ,
pst_cde char(6) not null ,
pst_ad1 char(40),
pst_ad2 char(40),
pst_ad3 char(40),
cre_dte_tme datetime year to second not null ,
mod_dte_tme datetime year to second not null ,
mod_opr integer not null ,
dpid char(10),
barcode char(70)
);
the second table does not retrieve any data. Its definition is as follows:
create table zone
(
rte_zne char(2) not null ,
rte_yer smallint not null ,
rte_cls char(2) not null ,
rte_cde smallint not null ,
rte_dif smallint not null ,
rte_flg char(1),
occ_flg char(1),
cre_dte_tme datetime year to second not null ,
mod_dte_tme datetime year to second not null ,
mod_opr integer not null
)
Both table contain data.
We can't see any obvious differences in the definition of the tables, so we are at a loss to know why one works and the other doesn't.
Any ideas???