: Tue 9/20/2005 8:11 AM
To: dbi-users@perl.org
Subject: Error writing to double using ODBC
I'm having trouble writing to columns of type DOUBLE using ODBC (to
Pervasive.SQL)
$dbh = DBI-connect('dbi:ODBC:DEMODATA','','',{RaiseError = 1, PrintError
=1}) or die $DBI::errstr;
$sth=$dbh-prepare
I'm having trouble writing to columns of type DOUBLE using ODBC (to
Pervasive.SQL)
$dbh = DBI-connect('dbi:ODBC:DEMODATA','','',{RaiseError = 1, PrintError
=1}) or die $DBI::errstr;
$sth=$dbh-prepare(update mytable set mycolumn=? where id=123) || die
$DBI::errstr;
$value=3/2;