chaskins has asked for the wisdom of the Perl Monks concerning the following question:
Fri Jul 27 10:04:15 2001 err, DBD::ODBC::st fetchrow_arrayref failed: Microsoft ODBC Microsoft Access DriverString data, right truncated on column number 6 ( free_text) (SQL-01004)(DBD: st_fetch/SQLFetch (long truncated) err=1)Does anyone know why I'm getting this and why is it trying to truncate the data? Many Thanks Chris Heres the code;
$sth = $dbh->prepare("select * from tasks where task_id = $id") or &dienice ("AssignProblem:Can't prepare to get problem report: " . $dbh- +>errstr ); $sth->execute or &dienice ("AssignProblem:Can't get problem report $id: " . $dbh +->errstr); while (@rows = $sth->fetchrow_array) { push(@task, @rows);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Failure to get a memo field from a database
by MZSanford (Curate) on Jul 27, 2001 at 13:31 UTC | |
by chaskins (Sexton) on Jul 27, 2001 at 14:26 UTC | |
by Anonymous Monk on Jan 06, 2002 at 01:30 UTC |