S
Syl
Hi group - not sure if my error is coming from the database install,
or from the Perl DBI version
My script used to run perfectly on a Linux server with this config :
/usr/lib/perl5/5.6.0
PostgreSQL 7.1.3
DBI is version 1.20
The new server config is not accepting the fetchall_arrayref :
/usr/lib/perl5/5.8.5
PostgreSQL 8.1.0
DBI is version 1.40
This is my query :
$query="select distinct dossier,sdolink from table where dossier is
not null";
$sth = $dbh_std->prepare($query);
$sth->execute();
$data = $sth->fetchall_arrayref;
$sth->finish;
When I kick off the script from the command line, I am getting this
error :
DBD:g::st execute failed: ERROR: invalid input syntax for
integer: ""
DBD:g::st fetchall_arrayref failed: no statement executing
Any ideas ?
I'm at my wits end - and my boss is getting VERY anxious!
Thanks
or from the Perl DBI version
My script used to run perfectly on a Linux server with this config :
/usr/lib/perl5/5.6.0
PostgreSQL 7.1.3
DBI is version 1.20
The new server config is not accepting the fetchall_arrayref :
/usr/lib/perl5/5.8.5
PostgreSQL 8.1.0
DBI is version 1.40
This is my query :
$query="select distinct dossier,sdolink from table where dossier is
not null";
$sth = $dbh_std->prepare($query);
$sth->execute();
$data = $sth->fetchall_arrayref;
$sth->finish;
When I kick off the script from the command line, I am getting this
error :
DBD:g::st execute failed: ERROR: invalid input syntax for
integer: ""
DBD:g::st fetchall_arrayref failed: no statement executing
Any ideas ?
I'm at my wits end - and my boss is getting VERY anxious!
Thanks