Help for this page

Select Code to Download


  1. or download this
    my $dbh = DBI->connect("dbi:SQLite:dbname=demo.db","","",{RaiseError=>
    +1,AutoCommit=>1} ) or die "Can't connect: ".$DBI::errstr;
    
  2. or download this
    my $all = $dbh->selectall_arrayref("SELECT * FROM mytable ");