well, I'm thinking maybe it's a bug
I've tried different queries:
my $sql0 = qq|SELECT "MARQUE" FROM $table|; my $sql1 = qq|SELECT "DESC1" FROM $table|; my $sql2 = qq|SELECT "DESC2" FROM $table|; my $sql3 = qq|SELECT "PRIX" FROM $table|; my $sql4 = qq|SELECT "REF" FROM $table|; my $sql5 = qq|SELECT "TAILLE", "COULEUR" FROM $table|; my $sql6 = qq|SELECT "REF" FROM $table LIMIT 5|; my $sql7 = qq|SELECT "DESC1" FROM $table ORDER BY "REF"|; my $sql8 = qq|SELECT "REF" FROM $table ORDER BY "PRIX"|;
sql0, 1, 3, 4, 5 return all records
sql2 produces a 500 internal server error (so there is a problem in one or more rows in the "DESC2" column)
sql6, 7 and 8 return nothing
Like you said, I do not think now that the problem is perl-related. It's either DBI or DBD::ODBC
In reply to Re^4: Fetching data from Access using DBI
by hacheb
in thread Fetching data from Access using DBI
by hacheb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |