![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
use DBI::W32ODBC;
# apart from the line above everything is just the same as with # the real DBI when using a basic driver with few features.
$dbh = DBI->connect(...);
$rc = $dbh->do($statement);
$sth = $dbh->prepare($statement);
$rc = $sth->execute;
@row_ary = $sth->fetchrow; $row_ref = $sth->fetch;
$rc = $sth->finish;
$rv = $sth->rows;
$rc = $dbh->disconnect;
$sql = $dbh->quote($string);
$rv = $h->err; $str = $h->errstr;
It was developed for use with an Access database and the
quote()
method is very likely to need reworking.
If you can improve this code I'd be interested in hearing out it. If you are having trouble using it please respect the fact that it's very experimental.
$CommentsMailTo = "perl5@dcs.ed.ac.uk"; include("../syssies_footer.inc");?>