$sth = $dbh->prepare("CREATE TABLE a (id INTEGER, name CHAR(10))")
or die "Cannot prepare: " . $dbh->errstr();
$sth->execute() or die "Cannot execute: " . $sth->errstr();
$sth->finish();
$dbh->disconnect();</PRE>
<P>
<HR>
<H1><A NAME="description">DESCRIPTION</A></H1>
<P>The DBD::File module is not a true DBI driver, but an abstract
base class for deriving concrete DBI drivers from it. The implication is,
that these drivers work with plain files, for example CSV files or
INI files. The module is based on the SQL::Statement module, a simple
SQL engine.</P>
<P>See <EM>DBI(3)</EM> for details on DBI, <A HREF="../../../SQL/Statement(3).html">the SQL::Statement(3) manpage</A> for details on
SQL::Statement and <A HREF="../../../DBD/CSV(3).html">the DBD::CSV(3) manpage</A> or <A HREF="../../../DBD/IniFile(3).html">the DBD::IniFile(3) manpage</A> for example
drivers.</P>
<P>
<H2><A NAME="metadata">Metadata</A></H2>
<P>The following attributes are handled by DBI itself and not by DBD::File,
thus they all work like expected:</P>
<PRE>
Active
ActiveKids
CachedKids
CompatMode (Not used)
InactiveDestroy
Kids
PrintError
RaiseError
Warn (Not used)</PRE>
<P>The following DBI attributes are handled by DBD::File:</P>