Help for this page

Select Code to Download


  1. or download this
       use DBI;
       my $dbh = DBI->connect("DBI:CSV:f_dir=/tmp");
    ...
       $dbh->do("insert into csvtable (id,name) values (1,'bi')");
       $dbh->do("insert into csvtable (id,name) values (2,'ma')");
       my $result = $dbh->selectall_arrayref("SELECT * FROM csvtable limit
    + ?,?", {}, 0, 1);
    
  2. or download this
       SQL ERROR: Bad limit clause!