in reply to Re^3: Fetching data from Access using DBI
in thread Fetching data from Access using DBI
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Fetching data from Access using DBI
by mje (Curate) on Aug 11, 2009 at 15:50 UTC | |
by hacheb (Novice) on Aug 11, 2009 at 19:24 UTC | |
by mje (Curate) on Aug 12, 2009 at 07:48 UTC | |
by hacheb (Novice) on Aug 12, 2009 at 09:50 UTC | |
by mje (Curate) on Aug 12, 2009 at 09:59 UTC | |
|